Skip to content

Free games for graphing calculators: NumWorks, TI-Nspire CX, Casio fx-CG50 and soon TI-84 Plus CE. Balatro, Celeste, Hollow Knight, Minecraft and more.

NumPlay Studio: the space map and bar work again, and every icon has round corners

Mason36372067763724f
diff --git a/customize/app.css b/customize/app.css
index 06c8374c..25c02572 100644
--- a/customize/app.css
+++ b/customize/app.css
@@ -66,8 +66,9 @@ main {
-webkit-tap-highlight-color: transparent;
transition: transform 300ms var(--spring), opacity var(--t) var(--ease), translate 200ms var(--ease);
}
-/* (the icons have their own rounded corners, so their shadow follows them, not a box) */
-.app img { display: block; width: 100%; aspect-ratio: 55 / 56; pointer-events: none; user-select: none; transition: filter var(--t) var(--ease), opacity var(--t) var(--ease); }
+/* (the icons have their own rounded corners, and any that come square get the same ones, 22%: their shadow
+ follows them, not a box) */
+.app img { display: block; width: 100%; aspect-ratio: 55 / 56; border-radius: 22%; pointer-events: none; user-select: none; transition: filter var(--t) var(--ease), opacity var(--t) var(--ease); }
.app .badge {
position: absolute; right: -5px; top: -5px; width: 22px; height: 22px; border-radius: 11px;
display: flex; align-items: center; justify-content: center; transform: scale(0);
@@ -104,7 +105,7 @@ main {
.app.placeholder { opacity: 0.25 !important; }
.app.placeholder .badge { display: none; }
.drag-ghost { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; will-change: transform; }
-.drag-ghost img { display: block; width: 100%; aspect-ratio: 55 / 56; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.28)); }
+.drag-ghost img { display: block; width: 100%; aspect-ratio: 55 / 56; border-radius: 22%; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.28)); }
/* while dragging, the other icons only slide aside */
body.dragging-icon .app { pointer-events: none; }
body.dragging-icon, body.dragging-icon * { cursor: grabbing !important; user-select: none; }
@@ -195,7 +196,7 @@ body.dragging-icon, body.dragging-icon * { cursor: grabbing !important; user-sel
border: 1px solid rgba(0, 0, 0, 0.45);
transition: left var(--t) var(--ease), top var(--t) var(--ease), width var(--t) var(--ease), height var(--t) var(--ease);
}
-.tile img { display: block; height: auto; aspect-ratio: 55 / 56; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45)); }
+.tile img { display: block; height: auto; aspect-ratio: 55 / 56; border-radius: 22%; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45)); }
.tile b { color: #ffffff; font-size: 4.4cqh; font-weight: 800; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); }
.tile.free { background: repeating-linear-gradient(135deg, #15171c 0 4px, #1b1e24 4px 8px); border-color: rgba(0, 0, 0, 0.6); }
.preview { position: absolute; left: 0; right: 0; top: 7.5%; bottom: 0; z-index: 2; background: #000000; display: none; pointer-events: none; }
@@ -215,7 +216,7 @@ body.dragging .drop-hint { display: flex; }
display: flex; align-items: center; gap: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); white-space: nowrap;
font-size: 14px; font-weight: 650;
}
-.chip img { width: 28px; height: 28px; display: block; }
+.chip img { width: 28px; height: 28px; display: block; border-radius: 22%; }
.chip img.custom { clip-path: inset(0 round 22%); } /* (a picture of your own: the corners every icon has) */
.chip.lang { padding: 0 12px 0 14px; font-size: 13px; font-weight: 750; }
.chip .caret { color: var(--mute); flex-shrink: 0; }
@@ -236,7 +237,7 @@ body.dragging .drop-hint { display: flex; }
.pop-label { width: 66px; flex-shrink: 0; font-size: 12px; font-weight: 650; color: var(--mute); }
.icon-pick { display: flex; gap: 8px; }
.icon-pick button { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 22%; background: transparent; cursor: pointer; position: relative; }
-.icon-pick button img { width: 100%; height: 100%; display: block; }
+.icon-pick button img { width: 100%; height: 100%; display: block; border-radius: 22%; }
.icon-pick button[aria-checked="true"] { box-shadow: 0 0 0 2.5px var(--card), 0 0 0 4.5px var(--blue); }
.icon-pick .upload { border: 2px dashed var(--line); color: var(--mute); display: flex; align-items: center; justify-content: center; }
.icon-pick .custom img { clip-path: inset(0 round 22%); }
@@ -385,7 +386,7 @@ html.flat .sticker canvas { position: absolute; inset: 0; width: 100%; height: 1
/* ---- the intro: the games flying into the calculator */
.flyer { position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; will-change: transform, opacity; }
-.flyer img { display: block; width: 100%; aspect-ratio: 55 / 56; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.22)); }
+.flyer img { display: block; width: 100%; aspect-ratio: 55 / 56; border-radius: 22%; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.22)); }
body.intro-on main { pointer-events: none; }
html.intro-wait main { opacity: 0; }
diff --git a/customize/app.js b/customize/app.js
index 37ab1db9..6c55757a 100644
--- a/customize/app.js
+++ b/customize/app.js
@@ -1801,15 +1801,15 @@
}
$('#app-file').addEventListener('change', (e) => { addApps([...e.target.files]); e.target.value = ''; });
// files dropped anywhere: apps (.nwa) to your apps, the rest to Retro-Go
- let depth = 0;
+ let fileDrag = 0;
const files = (e) => e.dataTransfer && [...e.dataTransfer.types].includes('Files');
- addEventListener('dragenter', (e) => { if (files(e)) { depth++; document.body.classList.add('dragging'); e.preventDefault(); } });
+ addEventListener('dragenter', (e) => { if (files(e)) { fileDrag++; document.body.classList.add('dragging'); e.preventDefault(); } });
addEventListener('dragover', (e) => { if (files(e)) e.preventDefault(); });
- addEventListener('dragleave', () => { if (--depth <= 0) { depth = 0; document.body.classList.remove('dragging'); } });
+ addEventListener('dragleave', () => { if (--fileDrag <= 0) { fileDrag = 0; document.body.classList.remove('dragging'); } });
addEventListener('drop', async (e) => {
if (!files(e)) return;
e.preventDefault();
- depth = 0;
+ fileDrag = 0;
document.body.classList.remove('dragging');
const all = [...e.dataTransfer.files], nwa = all.filter((f) => /\.nwa$/i.test(f.name)), rest = all.filter((f) => !nwa.includes(f));
if (nwa.length) await addApps(nwa);
diff --git a/games/coreball/src/icon.png b/games/coreball/src/icon.png
index 7b88cb5f..99daa049 100644
Binary files a/games/coreball/src/icon.png and b/games/coreball/src/icon.png differ
diff --git a/games/donkeykong/src/icon.png b/games/donkeykong/src/icon.png
index 283ca0f5..499e8aa5 100644
Binary files a/games/donkeykong/src/icon.png and b/games/donkeykong/src/icon.png differ
diff --git a/games/dune/src/icon.png b/games/dune/src/icon.png
index 0a0db44c..e9a8b13e 100644
Binary files a/games/dune/src/icon.png and b/games/dune/src/icon.png differ
diff --git a/games/famidash/src/icon.png b/games/famidash/src/icon.png
index ed7c5c19..c1432ff2 100644
Binary files a/games/famidash/src/icon.png and b/games/famidash/src/icon.png differ
diff --git a/games/monkeymart/src/icon.png b/games/monkeymart/src/icon.png
index 157d3d24..b216ad44 100644
Binary files a/games/monkeymart/src/icon.png and b/games/monkeymart/src/icon.png differ
diff --git a/games/polytrack/src/icon.png b/games/polytrack/src/icon.png
index d44c817a..892baa0b 100644
Binary files a/games/polytrack/src/icon.png and b/games/polytrack/src/icon.png differ
diff --git a/games/rider/src/icon.png b/games/rider/src/icon.png
index baba9f52..dcdbbdf9 100644
Binary files a/games/rider/src/icon.png and b/games/rider/src/icon.png differ
diff --git a/games/stickmanhook/src/icon.png b/games/stickmanhook/src/icon.png
index 4fa3751a..80ed37e7 100644
Binary files a/games/stickmanhook/src/icon.png and b/games/stickmanhook/src/icon.png differ
diff --git a/games/tombofthemask/src/icon.png b/games/tombofthemask/src/icon.png
index 6179f18c..3a0eaafc 100644
Binary files a/games/tombofthemask/src/icon.png and b/games/tombofthemask/src/icon.png differ