-
coin pickup
trying to make coins rise/fade as i pick them up, but isnt working. im aware that its an enterframe listener and not a circumstancial function call like it will be later
stop();
import flash.display.*;
plusfive.addEventListener(Event.ENTER_FRAME, riseFade);
function riseFade(event:Event):void
{
plusfive.alpha -= 0.01;
plusfive.y -= 1;
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|