Actionscript 2.0 Tests
[ Week 1+2 | Week 3+4 | Week 5+6 | Week 7+8 | Week 9+10 | History | Links ]
{ Actionscript 2.0 / School Project / Spring 2006 }
For my CS331 class as an Undergraduate at Sacred Heart, I chose to work independently from the class. As a weekly assignment, I provided the professor with a new Flash animation that expanded upon my knowledge of the Actionscript 2.0 language. Click on each of the images to play the animation.
Week 1 and 2
Star View
By using the up and down arrow keys, you can increase or decrease the number of stars on the screen. Clicking will reverse the direction the stars are flowing.
Random Numbers
This is an interesting test of random generation. Click the game first, then hold down the space bar to generate a random number from 0-9. This number will then be oriented to the previous number based on the rotation around a circle. 0 will be directly above, 5 directly below, etc.
Week 3 and 4
3D City
This simple 3D city is drawn to the screen using 2D points and basic triangulation. Move the mouse around to rotate the view. I did not get time to write code that would draw farther objects first, only polygons on objects.
2D World Generator

This animation does not load as I do not have the required files for it. Upon loading it would generate a new landscape for the character to move around in. Water could not be traversed and characters can go beneath trees.
Week 5 and 6
Game of Life
Each creature is denoted by the generation that it is. A is first generation, B is second, etc. Red creatures are female, Blue are male, Purple are pregnant. Each creature has a random lifespan and get dimmer as they get older. If two different genders of the same generation touch, the female gets pregnant and within a random time will create a new child. Sometimes this games creates over 200 creatures, sometimes they die off in a few seconds. WARNING: Can get very sluggish.
3D Binary Matrix
I’ve always been fascinated with the conversion from 3D world onto a 2D plane. With this example, random numbers stream down like rain. Each with their own depth and according transparency. Using the arrow keys you can rotate the screen and fly forward through the digital world.
Week 7 and 8
3D Digit Planets
This was a test of rotating 2D objects on multiple axises. You can see a sphere in the center and two rings around it.
3D Clock
This is my favorite example of 2D numbers in a 3D world. It shows each digit of a clock slowly rotating towards the viewer like cogs on a gear.
Week 9 and 10
Force – Growth
Wherever the mouse cursor goes, the objects around that point grow accordingly.
Force – Push
Same as the previous one, except the objects get closer to the mouse. Clicking will reverse the direction.
History
- 5 May 2006 – v1.0 – Completed all 10 Weeks
Links/Resources
- Kirupa.com – Very useful tutorials
- Actionscript 2.0 – Language Reference Book











