Hey guys!
I am attempting to play a sound effects once (not looped) when a player lands on any platform. Nothing I tried seems to work, the sound just keeps on playing looped. Is it possible to play a sound just once?
if(jump==0)
{
//PlaySound2 goes here
jump=1; // since the collision event is probably where you set jump back to 1
}
unless you implement it so when the player is falling, they can't jump
Users browsing this forum: No registered users and 1 guest