Create a Flash game like Totem Destroyer
Filed Under Actionscript 3, Box2D, Flash, Game design • 15 Comments
An interesting game released these days is Totem Destroyer
Your mission is to destroy the totems without letting the golden Idol (aka Tot) fall into the ground.
It’s a game that can be easily done with the AS3 physics engine Box2DFlashAS3, recently updated at version 2.0.1
I already talked about it in the post Playing with Box2DFlashAS3, now it’s time to make something more serious.
To make this prototype, I just changed some values in the demo script provided with the package and I made the beginning of a cute game in a few minutes.
Since it’s not a final game, I just created a level, made the ground indestructible and the other bodies destructible by pressing the mouse on them.
The aim of the game is to destroy a number of blocks without letting the sphere touch the ground, but at the moment there aren’t any rule… you can even destroy the sphere… but let me show you the game:
In order to do this prototype, as said, I only changed the files Main.as, Test.as and TestStack.as that you can find in the distribution package. And obviously the PhysTest.fla.
Now, let’s see the to-do list:
Counting the blocks I need to destroy to complete the level
Preventing the ball to be destroyed
Checking collision between the ball and the ground
Attaching fancy graphics to assets
Commenting the code
Download the package with my modifications and you are a Box2DFlashAS3 guru and want to publish the next step, you’re welcome… or wait for me to do it.
They can be easily customized to meet the unique requirements of your project.
15 Responses to “Create a Flash game like Totem Destroyer”
Leave a Reply
Trackbacks
-
Adobe Flash CS3- AS3 and AS2 game tutorials roundup | Lemlinh.com on
August 19th, 2008 6:36 pm
[...] Read more [...]
-
Platform game basics using Box2D : Emanuele Feronato on
December 23rd, 2008 12:59 pm
[...] wrote about Box2D Flash version about a year ago, then I published Playing with Box2DFlashAS3 and Create a Flash game like Totem Destroyer as examples covering what you can do with this [...]
-
Full Totem Destroyer prototype : Emanuele Feronato on
March 6th, 2009 1:13 pm
[...] time ago I posted Create a Flash game like Totem Destroyer, and now I am showing you a complete prototype made by Collin [...]
Posts
- Rick Triqui: my first PlayCrafter game
- Prototype of a Flash game like Meeblings
- Games for the game developers!
- The art of debugging
- How to embed a text file in Flash
- Create a Flash game in minutes with PlayCrafter
- Upgrade your Flash CS4 to 10.0.2
- Play Mazeroll, my latest Box2D game
- Triqui MochiAds Arcade plugin for WordPress Released!!
- The MochiAds funnel
- Flash game creation tutorial - part 1
- Create a Lightbox effect only with CSS - no javascript needed
- Flash game creation tutorial - part 2
- Make a Flash game like Flash Element Tower Defense - Part 2
- Flash game creation tutorial - part 3
- Create a flash draw game like Line Rider or others - part 1
- Create a Flash Racing Game Tutorial
- Make a Flash game like Flash Element Tower Defense - Part 1
- Create a flash artillery game - step 1
- Create a flash draw game like Line Rider or others - part 5
- Flash game creation tutorial – part 5.2




(4.9 out of 5) - Flash game creation tutorial – part 3




(4.86 out of 5) - Creation of a platform game with Flash – step 2




(4.84 out of 5) - Create a survival horror game in Flash tutorial – part 1




(4.82 out of 5) - Create a flash artillery game – step 1




(4.82 out of 5) - Create a Flash Racing Game Tutorial




(4.8 out of 5) - Create a flash artillery game – step 2




(4.75 out of 5) - New tile based platform engine – part 6 – ladders




(4.74 out of 5) - Flash game creation tutorial – part 2




(4.73 out of 5) - The experiment – one year later




(4.7 out of 5)



Cool! :D
I love the game and I really wish to see a tutorial about this game :)
This will be interesting :)
Yes, interesting. If you will ever finish this.
It’s a shame I don’t have Flash CS3. I could get it from school though. I’m trying to learn how to use Flade. I’m only twelve so i’m not having much luck. You could try visiting http://www.freewebs.com/fladezombie if you’re interested…
A detailed tutorial about this would be very interesting to read.
*Hint hint*
hey I think a detailed tutorial about this would be very interesting to read.
I’ll publish the 2nd step soon.
Hi Emanuele. I’m trying to do a game and I need your help. I would like to know how to make a button in Adobe Flash CS3 3.0 link to a different scene in the same document.
I’ve seen a tutorial about box2D. with mr.Feronato’s permission its located here:
http://www.actionscript.org/resources/articles/742/1/Physics-in-ActionScript-30/Page1.html#postedcomment
Hi!, is this possible with actionscript 2.0?
Email me! :D
Please, I beg you guys,
hello,
I’m a french developper and I would first excuse me for my English quite bad.
I have a little question concerning the block removed that I can not understand.
Indeed, when I click on a block, this code return 0
var count:int = m_world.Query(aabb, shapes, k_maxCount);
trace(count);
It’s very strange because my world had some blocks. So I have posted my code on this page :
http://fontaninmichael.fr/arrondir.com/04%20-%20Saiivezeguuce/Main.as
and the result here :
http://fontaninmichael.fr/arrondir.com/04%20-%20Saiivezeguuce/test01.swf
Can you explain me why when I click on one block, m_world.query return 0. :(
I hope that the totem destroyer tutorial coming soon because it interests me greatly.
Thanks you very much
I am just beginning to learn Flash and I am most interested in creating puzzle and board type games. So far the majority of tutorials I have found are for arcade games (breakout / shooters / etc.) This one has definitely caught my interest and I would love to see the full tutorial. So I will add my voice to the requests to see this one completed.
Also if anyone can point me to some more similar tutorials it would be quite appreciated.
Thanks.
please make a 2nd step very soon!
sooooooooooo cool but its not hard to do this
i love this game
good luck!!!!!!!!