GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

GS 8.2 Play sound problem! Why? PLEASE HELPPPP

venon_itvenon_it Posts: 594Member, PRO
edited 6:08PM in Tech Support
Ok in my game when actor take a object , play a sound effect...
until version 7 GS all works...with version 8.2 play sound effect not work ... how to solve?

Thanks Venon

Comments

  • venon_itvenon_it Posts: 594Member, PRO
    firemaplegames

    thankss, now play effect starts, but in my game the actor after destroy must reappear....
    i insert this rule:
    When self.destroyMe = TRUE
    Destroy Actor
    "AFTER" 1sec change attribute:self.destroyMe=false
    does not work!

    helppppp helpppp
  • butterbeanbutterbean Posts: 4,315Member, PRO
    Venon you could try this:

    In some of my actors, the sound didn't work, so I delayed the "destroy" behavior by doing this:

    When actor collides with enemy:

    Play sound: zap

    Timer: after 0.2 seconds
    Destroy this actor

    Worked like a charm for me :) AND saves having an attribute for the actor
  • CodeMonkeyCodeMonkey Posts: 1,803Head Chef, Member, PRO
    why would you need to set it to false. Its destroyed isn't it?

    I don't think there is a resuscitate behavior. :)
  • butterbeanbutterbean Posts: 4,315Member, PRO
    lol true on that !

    you had to be logical didn't you? :)
  • venon_itvenon_it Posts: 594Member, PRO
    butterbean

    ok i insert this rule:
    actor collide with tag xxx

    Play sound: zap

    Timer: after 0.2 seconds
    Destroy this actor

    Now Work!!

    This is a New bug in GS 8.2?
This discussion has been closed.