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
Box2D collisions rendered in 3D with Away3D
Did 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 … Box2D collisions rendered in 3D with Away3D
Create complex Box2D shapes in a click with PhysicsEditor
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 … Create complex Box2D shapes in a click with PhysicsEditor
Flash 3D Sokoban Prototype with Alternativa3D – final version
Flare3D and Away3D versions of the Sokoban prototype have been published. What’s now? Directly from InspiritGames we have an Alternativa3D port of the prototype. It’s a great porting, although it looks a bit “flat” because Alternativa3D does not support light. In the same blog you can find the Alternativa3D first prototype and even a version … Flash 3D Sokoban Prototype with Alternativa3D – final version
Flash 3D Sokoban Prototype with Away3D – final version
This is the Away3D script which includes the same features I showed you in the Flare3D version. There are a couple of issues, like lines 246 and 248 which do not correctly change the crate top material once it’s over a goal, and a really low framerate if I enable the Z ordering at line … Flash 3D Sokoban Prototype with Away3D – final version
