15Aug

APE Project - Step 8 - Adding a Fixed Bridge

No comments

From a few past experiments [1 | 2 ] I wanted to add a bridge to my movie here. For now:

Hold down the Shift key to and drag your mouse across the stage to draw a rectangle
Hold down the Command (or Ctrl key) key and click an area on the stage to build a bridge

You [...]

14Aug

APE Project - Step 7 - Rotating Rectangle Particles - Fix

No comments

Well, I always knew that the best debugging practice is to walk away and revisit the issue at a later time - and with the extra spare time it is best to get some rest, drink some beer, or just watch my girlfriend decorate our house with her designer handmade crafts. Anyways, I have found [...]

13Aug

APE Project - Step 6 - Rotating Rectangle Particles

No comments

I’ll have to finish this little piece up tomorrow, as it is not working properly at the moment. Ideally I want the user the ability to rotate the dynamically drawn rectangle by simply clicking the rectangle. I have found that the Rectangle Particle needs to be redrawn in order to edit the angle - you [...]

12Aug

APE Project - Step 5 - Fixing Car Issue

No comments

So, I noticed that when multiple cars were added, the “clear stage” button was only deleting the last rendered car group object. I opted to change the code to only allow the production of one vehicle at time, since the user can truly only drive one vehicle.

package {
import flash.display.Sprite;
import flash.display.Shape;
import flash.ui.Keyboard;
import [...]

08Aug

APE Project - Step 4 - Adding a Car

No comments

So I pulled a Car class from an older project of mine and decided to integrate it into my project here…. gotta love the ease of integration of classes with Actionscript 3! I also added in some walls to the left and right side to prevent the car and balls to move outside of the [...]