Some base code because maybe

Posted by (twitter: @sbbls)
April 25th, 2014 12:03 pm

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.

demo

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!

 


Leave a Reply

You must be logged in to post a comment.

[cache: storing page]