im going to develop a game and i want to add sound effects on it like when the player punch an enemy.
anyone has an Idea about this? please share.
thank you.
best regard,
prex

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
...
if tPlayer = "jump" then
play audioclip "jump.aif"
else if tPlayer = "running" then
## audioclip can be abbreviated to ac
play ac "running.aif"
end if
...