Introduction to Flash and Actionscript

S3 - Tweens using Codes

 

 

A2 - Pacman Tween Scene

Add another scene, create a new pacman maze,it must be a complete maze. The pacman must enter on one side and exit on the other.

This time you must move your pacman using code.

Flipping the Pacman

// flip vertical
scaleY = -1;
// flip horizontal
scaleX = -1;

Add dots to your maze and delete them as the pacman reaches them.

ICS3U - Delete the dots using code