Search Tutorials
ITEMS Now from what i know you can only make a few items....more life, 1 point coins, and 5 point coins....you can make different coin values if you want! -new layer called "items" -now if you play any good game you will find items in them....so make a new Movieclip with an instance name of "heart" -in this movie clip, draw a heart -make another with a small brown circle, call its instance "penny" -make a bigger circle colored gold, with an instance of "dollar" -now give this script to the "heart": onClipEvent (enterFrame) { if (this.hitTest(this._parent.dude)) { _root.life += 100; } } -give this to "penny": onClipEvent (enterFrame) { if (this.hitTest(this._parent.dude)) { _root.score += 1; } } -give this to "dollar": onClipEvent (enterFrame) { if (this.hitTest(this._parent.dude)) { _root.score += 5; } } -put the items around your maze where you want them
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|