Flash Wii-Tanks
[ Features | Screenshots | Instructions | Play | Download | History | Links ]
{ Actionscript 2 / Personal Idea / March 2008 }
My friend Pat Griffith and I were playing the Tanks mini-game from the Nintendo Wii game: WiiPlay and we decided that it could be a fun game on the computer. Now, purely by coincidence, Pat is a game designer (with a hobby in programming) and I am a programmer (with a hobby in game designing). So it seemed fit that we should recreate this fun mini-game on the PC. After some quick design meetings, we decided on the platform of Adobe Flash in Actionscript 2 (looking back at this: Actionscript 3 may have been faster, but I was not knowledgeable enough in it at the time).
Pat eventually got a nice job and it became increasingly difficult to work on this project together. Therefore, we released the project to Google Code so other people could attempt to finish it.
Features
- Graphics and Sounds are very similar to the Wii version
- Graphics provide a more top-down view of the game
- Tanks can move via WASD or Arrow Keys
- Tanks can slide against walls and push one another
- Destroyed tanks leave marks
- Treads are added behind moving tanks
- Bullets bounce off walls with correct angles
- Bullets destroy after a variable number of bounces
- Bullets have smoke trails
- Bombs can be dropped via the Space bar
- Bombs are time and distance based
- Bombs activate after a certain distance
- Walls have three types: ones that are solid, ones that can be blown up, and ones that can be shot over (hole)
- Cursor is the same as in the Wii version
- Cursor movements leaves a trail
- Maps are customizable (not hard-coded)
- Tank AI is customizable
Screenshots
Instructions
Controls: Move the tank via the arrow keys or WASD (W = Up, A = Left, S = Down, D = Down). Use the mouse to aim the tank turret and left click to fire a bullet. Press the space bar to drop a bomb.
Goal: Eliminate the other tanks to beat the level.
Tips: Bullets can bounce off walls, will destroy each other, and can set off bombs.
Bombs are triggered by distance and a timer.
Certain walls can be destroyed by bombs.
Play the Game
Warning: LARGE FILE WITH NO FLASH LOADER!

Download
- Compiled SWF file – 614kb
- md5: baf8515d774779c236ac20c0a314aedb
- sha1: c0dd79211034f23564c6346dbf61510fe3c5e0cb
- Source Code is available from Google Code.
History
- 12 June 2008 – Developed demo Artificial Intelligence (NOT INCLUDED IN LATEST RELEASE).
- 17 May 2008 – Completed modular enemy and level system.
- 15 March 2008 – Began project.







I like this, think I need to set up my own blog sometime.
WIN!!
it is great so far, one improvements could be, a 2 bullet limit, like wii play
also, the background is at a different angle than the tanks, so, the tanks should be angled too.
hey ummm a quick question and advice why is it every time i pass level six it freezes a t seven plz fix it plz plz plz
i like it but once u beat level 6 it freezes on lvl 7
This is a great post and its very creative indeed but if only you people would properly give cubefield a shot. Its a great game. Very addicitve and very entertaining to all age groups.
Great job with everything. Encountering a glitch in Firefox with the tank being stuck going down (toward bottom of the screen). Continued at least through level 4.
You really need to fix this. Is there a better version?
freezes when loading/playing level 7, please fix
I’m not going to fix it. It was just a tech demo that I never finished. I posted the code on Google Code if you would like to continue the project.
buddy, this is perfect!!1 i was just about to start doing this project, but decided to check if someone was already on this….
gr8 gr8 gr8, i think I’ll try to keep on this work, and of course it’ll have ur credit !
if i ever have some advances you will see them
I had the same problem as others, it froze on level 7. Nothing was there except my aiming thing. Other wise, it is pretty fun. Maybe some more tanks!