-
Then, for the actual game part, each wall "tile" is able to render with 4 sides, I just use a rAF loop and so on. Here's the Level.svelte component, which contains the state for the map and handles mounting all of the needed tiles. This is where the level optimization happens too, since it will remove any connected tile surfaces that are unseen by the player (happens only when the map loads).
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
I made a small brickout game also rendered in HTML + CSS, you can take a look it's pretty short: https://github.com/MaximeIJ/css-brickout
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.