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:
Post a Comment