Author Topic: sound played once  (Read 2056 times)

Tanja

  • Clever
  • Fanatic
  • ***
  • Posts: 606
    • View Profile
sound played once
« 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.

Tanja

  • Clever
  • Fanatic
  • ***
  • Posts: 606
    • View Profile
Re: sound played once
« Reply #1 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.