Code Resources

This page contains links to code resources from demonstration projects and labs.

Your browser may treat the documents linked here in different ways, depending on configuration. For most users, zipped archives should be automatically downloaded to whatever directory you use for downloads. Class files (.as) may open in a text browser or editor. You should be able either to save them from this program as .as, or (failing that) cut and paste the contents into a blank .as file within Flash.

DATE PROJECT FILES
11-18-09 Zipped archive containing movie and class files for the first stage of the Breakout game. A document class attached to the main movie spawns a row of bricks across the top of the screen. Next stage: completing the brick spawn with additional rows. breakout_1.zip
11-16-09 Zipped archive containing movie and class files for two further experiments leading to the completed Platformer proof-of-concept. In Step 3, we add lateral movement to the multiply-jumping sprite (left and right travel). In Step 4, we introduce a static platform and script the sprite so it can land on the platform, as well as fall and jump from it. platformer_Part_II.zip
11-11-09 Zipped archive containing movie and class files for two preparatory experiments leading toward the Platformer proof-of-concept. In Step 1, we script a sprite that falls from a point above the baseline of the screen to the baseline, accelerating as it goes. In Step 2, we script a sprite that can jump from the baseline, with repeated or air jumps possible twice after the initial jump. All jumps decay after a certain distance, and the sprite starts to fall (as in Step 1). platformer_Part_I.zip
10-19-09 Zipped archive contained main movie and class file for a simplified version of the keyboard control project. I've removed the embedded sprite animation, making this a closer match with the basket component of Apple Season. keySpriteSimplified.zip
10-19-09 Annotated versions of (1) the spriteGuyClass from the Key Control demo; and (2) the raindropClass from the spawned-object demos. Hopefully, the notes will help you understand what each section and instruction is meant to do. annotated.zip
10-12-09 Zipped archive containing completed version of the cannonball-sprite game, with score and sound. This is the state of the code at end of class, October 12. soundAndScore.zip
10-12-09 Sound demos: Zipped archive containing various demonstrations of sound resources in ActionScript, including simple (looping, ambient, background) sound; animation or event sound; and more advanced topics we probably won't cover in class. soundDemos.zip
10-12-09 Keeping score: Zipped archive containing starter and finished versions of a modified version of our simple walker-and-cannonball game. This one has a scoring mechanism and score display. score.zip
10-05-09 Spawning objects: Zipped archive containing starter and finished versions of two projects: particles and rain. (There is also a bonus project called fountain, which may not be covered in class.) spawn.zip
9-28-09 Simple, two-object collision: Zipped archive containing two versions of the walkerCollider demonstration project: starter and complete. walkerCollider.zip
9-21-09 Keyboard-Controlled Sprite: Zipped archive containing two versions of the demonstration project: starter and complete. keyControl.zip
9-14-09 Embedded Animation examples: Zipped archive containing completed .FLA and .AS files for both projects. embedAnim.zip
9-14-09 Embedded Animation STARTER: raw main movie file (.FLA) for embedded-animation exercise. embedStarter.fla
9-09-09 Complete 2-D animation project: Zipped archive containing .FLA and .AS files. 2d_complete.zip
9-9-09 Complete 2-D animation code, with extensive comments. bouncerClass.as
8-31-09 Starter or template file for ActionScript Classes. classTemplate.as



University of Baltimore Logo

Last updated: 11/18/09 17:56:01
Copyright © 2009 School of Information Arts and Technologies