Live data from Hacker News

JavaScript Super Mario Kart

nihilogic.dk

1–10 of 19 posts

Re: JavaScript Super Mario Kart

#5
Sry.. it does not feel good. It's like alpha stadium. No collision detections, the sprites flickers sometimes, no gifts and stuff. Its like the first lesson of a game development tutorial, where you learn to add basic movement to your sprites.

Re: JavaScript Super Mario Kart

#8
post #5

Sry.. it does not feel good. It's like alpha stadium. No collision detections, the sprites flickers sometimes, no gifts and stuff. Its like the first lesson of a game development tutorial, where you learn to add basic movement to your sprites.

I think you're overlooking the fact that this was largely done with JavaScript, some light HTML5, and images.

Over two years ago. Emphasis on the over two years ago part.

Re: JavaScript Super Mario Kart

#9
post #3

So now you take this, and write a NodeJS server, and you could have yourself 2 player SNES through a web browser.

A couple months ago I couldn't sleep and modded vNES[1] to run on a server and host a WebSockets server, and wrote a Javascript client to interact with it so you can control it from the web page. All people looking at the page can simultaneously control the player; I was looking to eventually allow two different people to use controllers 1 and 2 for real multiplayer.

I'm only sure it runs in Chrome, and it gets all sorts of screwed up when more than one person is trying to use it, but you can check it out running Startropics here:

http://balwiki.com/pub/vnes/

Controls are:

  D-Pad = Arrow Keys
  D = A
  F = B
To me, the two most impressive things are that 1) vNES has been running through screen on my server for months straight without an issue, and 2) Startropics has as well.

[1] http://www.thatsanderskid.com/programming/vnes/index.html

Re: JavaScript Super Mario Kart

#10
There used to be a demo floating around where someone had hacked this together with the firefox nightlies' support for the orientation sensor that allowed to your drive the kart by tilting your device. It worked for macbook as well as smartphones. Unfortunately the page is now down :( http://dougt.org/random/orientationdemo/index.xhtml

In lieu of that, I present to you something much more interesting: A complete step-by-step guide to writing your own fully functioning gameboy emulator in javascript+html5 (without sound.) It's really easy to follow even if you know nothing at all about emulators.

http://imrannazar.com/GameBoy-Emulation-in-JavaScript:-The-C...

Post reply on HN