Hey all,
I am currently making a platformer which has some doors as decoration in the envoirement, I was thinking, since they don't function and just sit there in the background, it would be fun that when you are standing at it, you could press <key> to let a sound play (doorbell,which I imported already).
The way I tried it was to When player is collision with an square marker sprite I made which is over the door, when key <key> is pressed > play sound linked to my imported file (volume 0, loop off).
It sadly won't work xD
Any ideas or alternatives ways I could try to do this?
Thank you in advance.