Skip to content

This is a racing game (complemented by cocos2d-x 2.2.6) ported by a HTML5 game written in JavaScript.

License

Notifications You must be signed in to change notification settings

swanouyang/RacingGame

Repository files navigation

RacingGame

This is a racing game (complemented by cocos2d-x 2.2.6) ported by a HTML5 game written in JavaScript.

It began on 11/04/2016 and it took me 3 weeks to understand the method that Jakes Gordon did in his code. Of course, I had other jobs to do for the company where I worked.

Then I started to code with Cocos2d-x-2.2.6 engine. The 1st version named "RacingGame_Straight_V1" took me about 5 days to complete. I was so happy When the car could run on the straight road.

After a few days I finished the 2nd and 3rd version named "RacingGame_Curve_V2" and "RacingGame_Hills_V3".

For the final version, it took me about 2 weeks to complete. I am so sorry that the frame rate reduced from 60fps to 20fps. I tried to increase the frame rate and failed for the moment. I think that there are some knowleage which I haven't get to solve this problem. I will update the code when I get more advanced knowleage.

I studied some Javascript and HTML during this period.

The information of the HTML5 game Game name: How to build a racing game Author: Jakes Gordon Site: http://codeincomplete.com/posts/2012/6/23/javascript_racer_v1_straight/ GitHub: https://github.com/jakesgordon/javascript-racer/

About

This is a racing game (complemented by cocos2d-x 2.2.6) ported by a HTML5 game written in JavaScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published