Sound playing on frame change

0 favourites
  • 1 posts
From the Asset Store
Grenade Sound Library contains: 135 sounds 50 grenade sounds and 85 surface sounds
  • Helloooo everybody.

    Ok, weird issue. I have an object, a box, with physics behaviour, and then a solid ground. I want to play a sound when the box hits the ground. I used "on colission" and it works. So far, so good.

    But I have this code that says that one my character gets close to the box, it changes color by changing the animation frame to another one. Well, one this change happens, the sound kicks in for some reason. Both frames are exactly the same size, with bounding box as colission mask and the same Origin image point.

    I could understand that it recognizes a new colission when the colission mask is different from the previous frame, but it's not the case, and it's driving me crazy XD

    Thanks in advance for any help.

    Tagged:

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)