Some base code because maybe
Well, I decided to MAYBE attend to this ludum darey. So I polished my javascript/HTML5 code. Plus I saw in the rules that i have to share it, so here you have it : ma base code.
You can also try the demo I made with it quickly just here. And because I like you, take this gif.
The font you see is a custom png font (made by me), with variable character weights (hell yeah) all analysed in javascript. Pretty fancy right. I added a screen scale parameter to the game, but it seems to only work well on Safari (image smoothing). And of course, a beautiful asset manager.
The Raycaster part is still not perfect, but I’ll only complete it if it fits the theme. (And don’t come too close to a wall, it might make your browser crash hihhii). And there are no collisions, because seriously who needs it?
And again, good luck people!





I’m saving it on my favorites for later (in case i don’t lose my eyesight too)