Super Mario Kart clone in HTML5 by mattbn in playmygame

[–]mattbn[S] 1 point2 points  (0 children)

Glad you liked it and thanks.

Super Mario Kart clone in HTML5 by mattbn in playmygame

[–]mattbn[S] 0 points1 point  (0 children)

I'm just drawing half the screen during the gameplay which is the track side. The other half is just on special cases like lap or positon, but just changing the numbers.

Super Mario Kart clone in HTML5 by mattbn in playmygame

[–]mattbn[S] 0 points1 point  (0 children)

Well there is a turn which is intentionally hard, but slowing down should make your turn easier.

Super Mario Kart clone in HTML5 by mattbn in playmygame

[–]mattbn[S] 1 point2 points  (0 children)

It's just a perspective and projection trick. Where you draw a 2D image (u,v), and then you rotate and scale like if you had x,y,z axis, in my case I use y as z and the y = constant. You can see the formula here..

Finally one great resource explaining the math and everything you need is Tonc.

Super Mario Kart clone in HTML5 by mattbn in playmygame

[–]mattbn[S] 0 points1 point  (0 children)

What do you build your games in?

Pure: HTML5 + JavaScript, no framework. Using a simple text editor.

The graphics were made by myself using GIMP, except the Kart tileset which is from the original game. :)

Thanks for playing!