This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

askgriff
askgriff presents ...

2013/11/7

Tank Racer (2 Player)

I am releasing this beta version of my Tank Racer game. Tanks are operational (and even shoot) but I need to implement bullet collision with enemy tanks. I also need to add sound fx and get the lap counter working, but that is nearly done. Please leave feedback or suggestions about what you would like to see and I will do my best to implement it.

5189 views / 30 in the last 7 days

2 votes | 0 in the last 7 days

Tags: game demo race racer tank 2player player two racing track military

open in greenfoot
Your browser is ignoring the <APPLET> tag.
A new version of this scenario was uploaded on Sat Nov 09 09:00:14 UTC 2013 This update includes scoring, music, some sound effects, a title page, a "Winner" page, and more. Next I will make tank fire working, and continue with sound effects. If you have suggestions or feedback, please let me know.
A new version of this scenario was uploaded on Sat Nov 09 09:06:44 UTC 2013 This update includes scoring, music, some sound effects, a title page, a "Winner" page, and more. Next I will make tank fire working, and continue with sound effects. If you have suggestions or feedback, please let me know.
askgriffaskgriff

2013/11/9

I don't know if the code for the Counter is simplified the way I did it -- but I understand the way it works now. :) Basically I have each item (i.e. the Tanks) keeping track of their score. Then I have a "Scores" Class run a "getScores" method from the tanks and gather up the scores. Then I display the scores on the screen. In the end [when someone wins] I clear off all of the "Walls", Finish Line, and Marker and then move the winning tank to the "Winners Circle". I still want a better music track and some sound effects, but I think first I want to make the tank missiles blow up (or stall) the competitors tank.

Want to leave a comment? You must first log in.

Who likes this?

Kartoffelbrot shrucis1