Understanding AS3 getDefinitionByName (for all eval maniacs)
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 … Understanding AS3 getDefinitionByName (for all eval maniacs)
Pausing a Flash game or movie detecting its focus
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, … Pausing a Flash game or movie detecting its focus
Create a Flash prototype of The Moops – Combos of Joy – Step 2
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 … Create a Flash prototype of The Moops – Combos of Joy – Step 2
Flash Game Development by Example – My book is on the shelves!!
This 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 … Flash Game Development by Example – My book is on the shelves!!
Making a Flash game like Plants Vs Zombies – Step 5
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, … Making a Flash game like Plants Vs Zombies – Step 5
Create a Flash prototype of The Moops – Combos of Joy
Did 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 … Create a Flash prototype of The Moops – Combos of Joy
