functional rule tile/tilemap system using canvas + game state machine
- tilemap system
Created a full tilemap/tileset painting system from scratch. Uses HTML5 canvas to paint the tilemap, and a spritesheet for the textures. Pretty difficult to implement, but since I know how game engines work, I can infer on how to implement it in svelte, using state runes.
- game state machine
The game now relies on a single instance of the state machine as a source of truth (class Game). Can be easily extended for future features.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.