Scrolling Game Development Kit Forum

SGDK Version 1 => Script => Topic started by: mccool on 2006-09-04, 03:46:51 PM

Title: Sprite sequencing
Post by: mccool on 2006-09-04, 03:46:51 PM
how do i make it so when i hit a button the sprite switches into another sprite, follows a predetermined path (actually i know how to do that part) then when its done with its path, it switches to a different player-controlled sprite?
Title: Re: Sprite sequencing
Post by: durnurd on 2006-09-04, 07:29:29 PM
Simply set the sprite it switches to to have a special function activate at EOP (Motion tab, At End of Path, choose "Activate EOP_<SpriteName>*" which will then cause any functions named EOP_ followed by the name of the sprite, followed by anything you want to be activated at the end of the path.
Title: Re: Sprite sequencing
Post by: mccool on 2006-09-06, 01:55:13 PM
ok it works thanks