I like making tiny apps and games.
I made a Base 69 storage method that excludes URL unsafe characters so that you can share your 2-color pixel art creations.
👉 Storage method extracts and combines three 3-bit values to each character.
#tinycode #javascript
I made a Base 69 storage method that excludes URL unsafe characters so that you can share your 2-color pixel art creations.
👉 Storage method extracts and combines three 3-bit values to each character.
#tinycode #javascript
#tinycode #javascript in 183b
with(x)for(reset(w=i=64);i--;)fillStyle=(B=(r=~~(i/8))%2-i%2)?"#333":"#AAA",fillRect(X=i%8*w,Y=r*w,w,w),font="4em'",fillStyle=B&&r<3?"red":"#000",B&&(r<3||r>4)&&fillText("⏺",X+5,Y+55)
#tinycode #javascript in 183b
with(x)for(reset(w=i=64);i--;)fillStyle=(B=(r=~~(i/8))%2-i%2)?"#333":"#AAA",fillRect(X=i%8*w,Y=r*w,w,w),font="4em'",fillStyle=B&&r<3?"red":"#000",B&&(r<3||r>4)&&fillText("⏺",X+5,Y+55)
🕹 Play here: dev.js13kgames.com/2024/games/1...
👉 It's a top-down tank-controls action shooter game made with a custom game engine in JavaScript.
🙏 Let me know what you think!
🕹 Play here: dev.js13kgames.com/2024/games/1...
👉 It's a top-down tank-controls action shooter game made with a custom game engine in JavaScript.
🙏 Let me know what you think!