EZ!S

Game Design and Development

Entries for the ‘Flash’ Category

Dynamic Movieclip Animation Speed in AS3

Goal: Animate a MovieClip at an arbitrary speed during runtime.

Method: Store a custom frame Number. Increment it every frame, loop it around if the Number is out of bounds. Round the value and use it as a parameter for gotoAndStop().

The Code

1
2…

Box2D SVG Parser with Curve Support

See this tutorial for instructions on creating Box2D levels in InkScape and importing them into Flash. It also explains floors and ceilings. Additionally, you can check out the SVG Parser thread off the Box2D forums to get updates that may not be…

Avoiding the Compiler’s Whip: 9 Flash AS3 Tips for Beginners

These tips are based on Flash CS4. They are also useful for CS3 and possibly some earlier versions.

It’s been about 3 weeks since I started programming in Flash AS3. I’ve caused the compiler an unholy amount of errors and here’s…

Creating Levels in Box2D

Note: The parser in this tutorial has been updated by the curve parser here. This tutorial still explains InkScape and the “floors/ceilings” idea.

->

This tutorial is geared for creating levels for the Flash version of Box2D. With a little work, you can…