How to effectively pause a Flash game or movie when you have to deal with a Timer event and just stop/start timers is not enough.
Actionscript 3
This is a quick experiment with two sided materials in Flare3D. We start with this photo taken without any kind of permission from 360pixel: And with a Flare3d sphere with a two sided material and this actionscript:
Sometimes you may want to create a new class or DisplayObject only starting from its name. This is where something like an eval function would come into play, but we have to manage it in a different way with AS3. Look at this movie: Circles are four different objects called symbol1, symbol2, symbol3 and symbol4 …
Sometimes we want our Flash game or movie to stop when the user is not playing/watching it. It’s a feature blog readers ask me frequently, because once they read the post, often they need to reload the page to enjoy the demostrative Flash movie as it was already running before readers could see it. Also, …
Here we are with the 2nd part of the tutorial to create a game like The Moops. The guys at Heavy Boat, the studio behind the game, are following the tutorial too, so I hope I’ll try to make something really similar to their game. In the first part I showed you how to fire …
Read all posts about "The Moops - Combos of Joy" gameThis is a very important day for me and the blog. After about seven months of writing, coding, rewriting and recoding, finally my (first) book is on the shelves!! The title is Flash Game Development by Example and it’s a complete AS3 guide to the creation of 10 (9 on the book + 1 extra …
After a little pause, here we go with the 5th step of the tutorial. In this step we’ll fix a bug which allowed plants to fire even if there isn’t any enemy coming from the right side, when there’s at least one enemy on the left side, and we’ll see zombies attacking the plants. First, …
Read all posts about "Plants Vs Zombies" gameDid you play The Moops – Combos of Joy? It’s a cute physics game we can build a prototype in a few minutes (don’t worry, Plants Vs Zombies fans, as next step is about to come). Let’s see game’s features: * It’s a physics game so we are using Box2D to create it. * The …
Read all posts about "The Moops - Combos of Joy" gameDid you ever wonder what would be possible if you could merge a 2D physics engine with a 3D engine? Roger Engelbert from Done With Computers, apart from having a blog with awesome posts (really! have a look!), tried to use Away3D to render Box2D collisions. You will see the result by yourself. « Here …
With Box2D is very easy to create primitives like boxes or spheres, but when you have to handle more complex shapes, things get nasty. You have to use compound objects and it’s not as intuitive as it should be. In our help comes PhysicsEditor by Andreas Low The software allows you to create complex bodies …