In the image below, I'm trying to code when the player collides with an specific tile, an sound occur, but it isn't playing the sound. NOTE: the specific tile that appears is solid (I don't know if this will help)
Platform objects hover slightly above the ground (half a pixel or so). That's probably why the tile is not detected correctly. Try adding a few pixels to PlayerHitbox.Y in the expression.
PlayerHitbox.Y+2
Develop games in your browser. Powerful, performant & highly capable.
Thanks! Now the sound is working.