Thursday 30 April 2009

Added feature: FastBox

FastBox





Like the water that makes you fall slower this fastbox makes the character run faster.

code on player=

var fastspd:Number = speed*1.5;

// Test fastbox and speed up
if (_root.fastbox.hitTest(_x, _y, true)) {


speed = fastspd;
}// else {
//speed = setspeed;
//}

No comments: