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

Report as inappropriate.

NeonSparked
NeonSparked presents ...

2014/10/5

Tank Game

This is a game i have been working on for a while, quite simple so far, but has functioning AI, tanks and now, a menu, hurrah!

7085 views / 1050 in the last 7 days

4 votes | 0 in the last 7 days

Tags: game tanks

This scenario is a member of: Tank Games


There is no HTML 5 translation of this scenario available.
View legacy version (requires Java plugin)

This scenarios uses Java features that are not available for use after conversion to HTML 5. Please try the legacy version, which requires the Java plugin to be installed.

A new version of this scenario was uploaded on Thu Oct 30 13:10:04 UTC 2014 Another Update! Yay! +Added Second Level +Added Fog Effect For Second Level +Added More Titles And Menus *Fixed Things(I Think...) -Removed Nothing!
alikhanalikhan

2014/11/11

can you show me how to shoot please, I am doing a tank game for a school project. 9I would like to know how the tank shoots)
danpostdanpost

2014/11/11

@alikhan, there are many scenarios on the site (some of mine included) that have examples of using mouse clicks to aim and fire shots from an object. My Global Defense scenario has cannons that aim and shoot by mouse actions, for example (and you can view the code of the Cannon class within the running of the scenario itself. Just do a search on 'Global Defense'.
danpostdanpost

2014/11/11

@alikhan, after reviewing the class myself, I realize that it may be quite complicated for you, as it is riddled with extra stuff that would not be needed in your case. You should probably attempt something (create your Tank, Turret, and Shot classes) and when you run into difficulties, start a new discussion thread for help, posting the code you tried, copy/pasting any error messages you may be getting, and describing your issue both in general and in detail, providing any and all possible pertinent information..
LollygagLollygag

2014/11/11

You have bugged sound.
alikhanalikhan

2014/11/12

thanks for the reply, I have tried to open your game in greenfoot in school but their is no option, I also cant play the game because the school has blocked java
alikhanalikhan

2014/11/12

i have made my tank shoot, now I need help making other tanks shoot at me, any help?
UNDEAD_DCUNDEAD_DC

2014/11/25

when i hit the wall it sucks me up and then very slowely spits you out at the other side. and i get stuck in the green blocks beside that maybe fix the SUPER precise aim of the AI tanks and let em have a range wich they can shoot you cuz its annoying to get shot when u cannot see the enemy yet
fejfofejfo

2015/1/26

I find it difecult to move with the turning beacause u can really see what the front of the tank is I suggest u or change the grapig of the tank or update the code so u for exple turn left if u press left and not slowly turn to the left
Quote Of The Day: "An apple a day keeps the fat people away!"

See all comments

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

Who likes this?

richlovejoy10 Kartoffelbrot Entity1037 lildiddyk