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

First Build

First Build

Start screen

Start screen

Our AI test

Our AI test

One of the later levels

One of the later levels

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!
wiitanks-play.jpg

Download

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.

Links/Resources

12 Comments

  1. Free Gadget  •  Aug 22, 2009 @6:38 am

    I like this, think I need to set up my own blog sometime.

  2. Phoenix and Sam  •  Aug 23, 2009 @11:39 pm

    WIN!!

  3. ZJD  •  Oct 31, 2009 @1:49 pm

    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.

  4. J Is bored  •  Nov 7, 2009 @7:28 pm

    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

  5. Shawty  •  Nov 13, 2009 @10:59 pm

    i like it but once u beat level 6 it freezes on lvl 7

  6. Cubefield 2  •  Nov 19, 2009 @6:06 pm

    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.

  7. Ken  •  Nov 25, 2009 @2:34 am

    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.

  8. johnnnyk  •  Dec 29, 2009 @2:15 am

    You really need to fix this. Is there a better version?

  9. gamer  •  Jan 2, 2010 @11:54 pm

    freezes when loading/playing level 7, please fix

  10. St. John  •  Jan 3, 2010 @12:19 am

    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.

  11. Saul  •  Jan 26, 2011 @12:42 am

    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 :D

  12. mscunited0950  •  Feb 16, 2011 @10:49 am

    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!

Leave a Reply

Allowed tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



  • Donate

    If my work has helped you and you want to return the favor, you could purchase something for me from my Amazon Wish List or send me a donation via PayPal.

  • License

    Unless otherwise noted, all source code and compiled files published on this website are released under the terms of the GNU Lesser General Public License.