Traffic Control game

Hi,

Thanks to all the support in the forum and on GitHub I have now have a Alpha version of my Traffic Control game completed.

See my blog entry http://www.rogerclark.net/?p=614 or go straight to the game http://www.rogerclark.net/wp-content/uploads/2012/12/trafficcontrol/

It still needs a lot of work, including things like High Score but it is playable :wink:

I’m hoping to post the source code to GitHub over the weekend and I’ll update / improve in the next few weeks.

Cheers

Roger Clark

Wow, it is a wonderful beginning!

Edit.

I forgot to post. I added “Best” / high score a few days ago. Also fixed a few bugs and strategy problems.

I Probably need to rewrite the code so that it doesn’t use a separate later for the Start button and Instructions, as this is a bit wasteful.

Also, the crash sound still doesn’t play straight away, but I think this may not be a Cocos2D-HTML5 problem it may be something with the HTMLDoc / JavaScript “Audio” class. - I’m still investigating this.

Can animation is a bit jerky, but hopefully the scheduleupdate calls to update will be smoother in later versions of Cocos2d-HTML5

I’ll post the source when I’ve done the fixes.

Cheers

Roger :wink:

wa, its very good. thanks Roger Clark.

I’ve now posted the source code on GitHub, see https://github.com/synergie7/cocos2d-HTML5-traffic-control

Note. It uses the latest version of cocos2d-html5 from github, old versions won’t work because of changes to resource types for sound files.

Enjoy

Roger

I have opened an issue on github for you. Please take a look at it.:slight_smile: