Category: Actionscript 3
-
Drawing circles on the fly in Box2D
Only a day after Drawing boxes on the fly in Box2D I got three submissions for drawing circles on the fly. I will list all of them, and…
-
Drawing boxes on the fly in Box2D
Box2D is getting more and more popular among Flash developers, but it still lacks of adeguate tutorials and documentation about making games with it. Andrew McGrath from Gamersgarden…
-
Box2D joints: Distance Joint
One of the most interesting Box2D features are joints. Joints are used to constraint two bodies together in various ways and allow you to create very complex objects…
-
Designing the structure of a Flash game – AS3 version – Part 2
I added some new features to Designing the structure of a Flash game – AS3 version game template and wanted to share the result with you. Now the…
-
Understanding AS3 shared objects
This is the AS3 version of Managing savegames with Flash shared objects. In this post I’ll explain the basic of shared objects, then later I’ll add the feature…
-
Sudoku creator/solver with AS3
At the beginning of this month I published the Sudoku creator/solver with PHP. Now, after a little hassle due to a strange way AS3 manages arrays (in my…
-
A strange way AS3 manages arrays
Today I was porting my Sudoku creator/solver with PHP in AS3 when I found this strange behavior. I am calling it “strange behavior” because it’s not properly a…
-
Understanding how Box2D manages collisions
Box2D is a great library because you don’t have to care for collisions, the library manages all by itself. But sometimes, specially in games, you may need to…
-
Understanding custom polygons in Box2D
Last week I explained The magic of compound objects with Box2D, now it’s time to understanding custom polygons. First, let me tell you the difference between a compound…
-
Designing the structure of a Flash game – AS3 version
Abot a year ago I published Designing the structure of a Flash game with everything you needed to know to design the structure of a game. Now it’s…
-
The magic of compound objects with Box2D
You can call it complex shapes, compound shapes, complex objects, compound objects or even poisoned underpants, but you all want to create complex “things” with Box2D. Despite the…
-
Understanding Box2D debug draw
When you are about to create a complex script with Box2D – or even a simple one, but that’s complex for your skills – I suggest to enable…