Recent Posts
Emanuele Feronato
Return To Blog Listing
Blog of Emanuele Feronato, an italian web developer.
Many examples, tutorials, hint and tips
Recent Posts Tagged With 'box2d'
Creation of a Flash Stabilize! clone using Box2D – part 2
Time to add some new features to our Stabilize! clone we started in this post. The features we’ll add this time are: * Restricted area in which you can drop crates * “Real” crates, made with a movieclip, take the place of the boxes ...
Creation of a Flash Stabilize! clone using Box2D – part 1
In Triqui’s picks 1 I told you Stabilize! is a good game to clone using Box2D. And I would use this post to focus on another thing too… it’s about recycling. I mean… once you code for a while, or follow developer’s blogs...
WorDrop
Word Play contest is over, you can see the winners in the official MochiLand post, and it’s time to show you my little game based on words. It’s called WorDrop and it’s a Box2D game made in a couple of days based on this prototype. ...
Basic Box2D rope
It’s time to create a rope with Box2d. To start defining a rope, we’ll start from something similar: a chain. A chain is a series of two or more connected links. The smaller and closer the links, the more flexible the chain. So we can def...
Introducing Box2D filtering
In Box2D, normally every object collides with other objects in the stage. But sometimes we may need a way to make an object collide with only certain objects, ignoring the rest. I am not talking about sensors, but real objects that won’t collid...
Rendering joints with Box2D
In most Box2D projects you can see how to render bodies or attach objects to them, but I couldn’t see any tutorial about rendering joints. If you look at the classic rendering loop it’s something like this one for (var bb:b2Body = m_...
Simulating a hook with Box2D
In a comment to Pumpkin Story prototype, a reader asked for a function to simulate a hook. This can be quite easily done in some steps. This first step will set a rule: you can only hook to a static body. Obviously it’s not a mandatory, rule, b...
Pumpkin Story prototype
This quick Pumpkin Story prototype is made merging and mixing these scripts: Drawing arcs with AS3 and Creation of a Flash artillery game using Box2D. If you notice, it’s similar to an artillery game (like Bloons) with the “only” di...
Word Play contest prototype, four days to make something decent out of it
The final deadline for “Word Play” Flash Game Contest ran by MochiMedia is September 18 and if you did not submit any entry, here it is a prototype you can use to make something better out of it. The concept is based upon How to use an em...
Creation of a Flash artillery game using Box2D – part 2: removing bullets
This is the second part of Creation of a Flash artillery game using Box2D… one reader asked for a function to make blocks (bullets) disappear after 10 seconds or any given time. I found the question interesting, and here I am writing something ...
Creation of a Flash artillery game using Box2D
Small intro: having a plugin that allows readers to vote posts can help you understanding what do readers like. I saw readers liked a lot Create a flash artillery game – step 1 so I decided to create something similar with modern techniques (that p...
Simplify your Box2D projects with QuickBox2D
You know with Box2D you can make interesting games like Mazeroll, SamePhysics or Filler, but even if I published a Box2D tutorial for absolute beginners, everyday I am receiving emails complaining about the excessive complexity of this library. If yo...
Box2D platform engine alternative
Everybody should know Box2D is the best engine you can use to make a platform game. Rick Triqui, my latest game, was made with PlayCrafter that uses Box2D, and I’m starting to code my own Box2D platform engine. Luis Fernando Silva, author of th...
Basic Filler engine with Box2D – part 3
Here we are with the 3rd part… this time we’ll manage collision detection. I recommend to read step 1 and 2 before continuing. You should how to manage collisions with Box2D, and if not go and read Understanding how Box2D manages collisio...
Platform engine using Box2D – Step 3
In this third part of the platform engine, it’s time to make our hero jump. First, I suggest you to read parts 1 and 2 if you already didn’t, then you should know something about the magic of compound objects and how Box2D manages collisi...
Basic Filler engine with Box2D – part 2
Some time ago I published Basic Filler engine with Box2D – part 1, now it’s time to see the next step. I am going to add enemies, the evil bouncing balls. Obviously, enemies aren’t affected by gravity, and this can be made following the...
Managing multiple gravities with Box2D
One of the apparently hardest things to do with Box2D is assigning different gravity forces to different objects. For instance, you may want the world to be ruled with regular gravity, while you don’t want the bullet fired by your character to ...
Platform engine using Box2D – Step 2
After publishing Platform engine using Box2D, my attempt to replicate the Rick Triqui’s main character continues. Now you can move the guy with left and right arrows, aim the bazooka with the mouse and shoot a bullet clicking on the mouse. The ...
Platform engine using Box2D
Platform engines always represented a challenge for me, you can see my prototypes with AS2 and AS3, and this time I am going to make one using Box2D. Box2D is used as physics engine by PlayCrafter guys, and since the results you can see in Rick Triqu...
Prototype of a Flash game like Meeblings
You should all known Meeblings and the sequel, Meeblings 2. You have to help the Meeblings (cute creatures I’d love to burn alive) reaching the exit using some special abilities. One of such abilities attracts Meeblings when you click and hold...
Play Mazeroll, my latest Box2D game
After SamePhysics, I made another Box2D game called Mazeroll. You have to drag a maze to made two circles touch, collecting as much red orbs as you can, before time reaches zero. You can find some clues about the making of this game reading The magi...
Understanding how Box2D manages boundaries
Sometimes you may need to determine if your Box2D object has fallen off the screen. This mostly happens in games, where you are going to build something and some pieces may fall down, but obviously you can extend the concept to any application you ma...
Two ways to make Box2D cars
I am showing you two ways to make cars with Box2d, with source codes included These are examples I found on the web - I will make my ones later - you can find interesting in order to make cars using Box2D. Top Down Car Simulation Making a top down ga...
The engine behind Splitter Flash game : working code
I think we finally have a working slicing engine. It started with The engine behind Splitter Flash game, then come The engine behind Splitter Flash game - first AS3 prototype and The engine behind Splitter Flash game - new AS3 prototypes. Now Guillau...
Full Totem Destroyer prototype
Some time ago I posted Create a Flash game like Totem Destroyer, and now I am showing you a complete prototype made by Collin Douch. The prototype features slimy and non-removable blocks and collision detection between the totem and the ground. Such...
Erase Box: the tutorial
Some days ago I blogged about Erase Box, a Box2D game made with my tutorials, now it’s time to publish Rodrigo’s tutorial. « On a game I was making, I needed a way to detect if a body was leaving the screen. That can be done by check...
Basic Filler engine with Box2D - part 1
Do you remember Filler? In Filler, your goal is simple: fill 2/3 of the level. To create a filler ball, press down. It will grow until you release the mouse button, it hits another filler ball, or a bouncing ball runs into it. I am showing you the f...
Erase Box, a Box2D game made with my tutorials
I am going to show you a cute game Rodrigo made following my tutorials « I created a Box2D flash game using some tutorials available on your website. It’s not very cool, but being my very first AS3 and Box2D game, I think that I did a good...
The engine behind Splitter Flash game - new AS3 prototypes
Splitting Box2D objects seem to be the ultimate challenge around here… after The engine behind Splitter Flash game - first AS3 prototype, now we have two updates… the first by Guillaume Pommey, author of the previous prototype and the sec...
A smart way to manage sleeping objects with Box2D
If you followed Box2D: tutorial for the absolute beginners, then you know you can put some object to “sleep” to improve performance by not simulating inactive bodies. This is CPU saving but can be used for some game concepts too. Just thi...
