Understanding AS3 getDefinitionByName (for all eval maniacs)

Emanuele Feronato on Mar 31, 2011 • 10 Comments

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 [...]

Pausing a Flash game or movie detecting its focus

Emanuele Feronato on Mar 29, 2011 • 17 Comments

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, [...]

Create a Flash prototype of The Moops – Combos of Joy – Step 2

Emanuele Feronato on Mar 25, 2011 • 6 Comments

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 [...]

Flash Game Development by Example – My book is on the shelves!!

Emanuele Feronato on Mar 24, 2011 • 50 Comments

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 [...]

Part of the Making a Flash game like Plants Vs Zombies series

Making a Flash game like Plants Vs Zombies – Step 5

Emanuele Feronato on Mar 22, 2011 • 19 Comments

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, [...]

jQuery color picker using Farbtastic and jQuery UI

Emanuele Feronato on Mar 22, 2011 • 7 Comments

I want to share with you a little snippet of code I am using for a project. I was looking for a cute jQuery color picker and I found Farbtastic to be the best for my needs. Anyway, I also liked how jQuery UI used the Slider to make a simple color picker so I [...]

Create a Flash prototype of The Moops – Combos of Joy

Emanuele Feronato on Mar 18, 2011 • 9 Comments

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 [...]

Box2D collisions rendered in 3D with Away3D

Emanuele Feronato on Mar 15, 2011 • 8 Comments

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 [...]

Create complex Box2D shapes in a click with PhysicsEditor

Emanuele Feronato on Mar 11, 2011 • 14 Comments

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 [...]

3D Sokoban Prototype with Unity

Emanuele Feronato on Mar 9, 2011 • 6 Comments

If you are following my Sokoban3D series, after seeing the final examples made with Flare3D, Away3D and Alternativa3D, you probably wonder what can be done with Unity, “the most powerful engine this side of a million dollars” as said on the official site. I played a bit with the engine and I found the learning [...]

Page 1 of 212