LWJGL Forum

Programming => General Java Game Development => Topic started by: hunter2379 on January 10, 2013, 23:07:47

Title: Slick Play Sound
Post by: hunter2379 on January 10, 2013, 23:07:47
Hi! So I try to play a sound in the main menu whenever the mouse scrolls over the options. Like a tick sound. Code is menu_tick.play();
Is there a way to make it play only for a second because right now if the user leaves the mouse over the option it will loop and play tick tick tick tick...etc. Need some way to play it once and then only play it if it is highlighted again.

thanks