Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Pseudo3d old school racing game made with pure JavaScript (wagnerandrade.github.io)
36 points by wagnerandrade on Aug 18, 2014 | hide | past | favorite | 18 comments


Very nice, but please don't rely on keys like 'y' being on a certain position on the keyboard – on my German keyboard, for example, it's where the US's 'z' is. Other keyboard layouts are even more different.

If you can't access the physical layout of your keyboard (and using javascript, I'm not sure you can), using the arrow keys for all navigational things is really the best option.


This one should be safe for German keyboards, it only uses A and Z as far as I see.

For French keyboards, the common WASD layout is completely broken, but this game manages to stay quite usable since it's just two keys.


hmmm... interesting. Thanks for this feedback.


It runs very slowly for me, but the render quality is also very good for a road engine. I don't think I've seen one that shows such an enormous draw distance before.


Very nicely done! I love these kinds of hacks :)

A small suggestion - can you make the camera smoother? It's a bit jarring when it's going right and it suddenly starts going left.


Really, I felt it. I need to work in this kind of detail to get a better experience. This is the first prototype. Thanks!



Doesn't load for me:

    [blocked] The page at 'https://wagnerandrade.github.io/old-school-racing/' was loaded over HTTPS, but ran insecure content from 'http://github.com/wagnerandrade/old-school-racing/releases/download/0.0.1/old-school-racing.js': this content should also be loaded over HTTPS.
 wagnerandrade.github.io/:1
    Uncaught ReferenceError: Track is not defined (index):32


Same for me with the HTTPS Everywhere extension. Just click "load unsafe script" and it will work.

Note to author, use a protocol-independent script tag, e.g. //github.com/wagnerandrade/old-school-racing/releases/download/0.0.1/old-school-racing.js


Load it with normal http, not https.


Does not work, github.io always redirects to https.


I suspect you have installed something like the 'HTTPS Everywhere' extension, which is doing that redirection to https for you. github.io certainly doesn't do it by itself.


I love being able to drive in reverse at 300km/h.


This is a feature of Big Rigs, the "Best game ever."

http://youtu.be/sVREUuuNIgg


Technically there's no upper bound on the reverse speed in that game. A curious decision.


"decision", heh!


Obviously that it's a decision! :D Think that it's a tribute to Big Rigs... Hehehe...


Reminds me a lot of Rad Racer on NES - nicely done!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: