Scrolling Game Development Kit Forum

SGDK Version 2 => Help, Errors, FAQ => Topic started by: Tanja on 2008-01-20, 04:12:14 PM

Title: sound played once
Post by: Tanja on 2008-01-20, 04:12:14 PM
i have several bags (sprites), which the player can collect, and when the player touches them there should a sound be played. collecting is to deactivate the bag sprites and increment a counter (inventory). it don't strikes me how to deactivate the bag sprite and then let the player play a sound exactly once.
Title: Re: sound played once
Post by: Tanja on 2008-01-20, 05:44:16 PM
never mind. there was a misunderstanding. i thought the sound would stop playing when the sprite which called it becomes deactivated.