how do you make an hover effect that can play sound and change image at the same time?
currently i'm using .css files as a style sheet.
The code inside the .css file is
.exit_css
{
background-image: url(data/image/EXITNONHOVER.png);
}
.exit_css:hover
{
background-image: url(data/image/EXITHOVER.png);
}
it works just fine changing the image, now.. how do you make it play a sound along with it?
Thanks before
[TyranoBuilder] How to make a hover effect with sound?
- 8oni
- Regular
- Posts: 39
- Joined: Sun May 19, 2013 3:30 am
- Completed: Midnight Encounter, White World
- Tumblr: 8oni
- Deviantart: 8oni
- Contact:
Re: [TyranoBuilder] How to make a hover effect with sound?
This is for exit button right? You don't need to use css for exit button. All you need is to use this
Btw I have made a video tutorial about using sfx when hover and clicked and also change image when hovering that you can see here :
Code: Select all
[button graphic="EXITNONHOVER.png" target=*__ enterimg="EXITHOVER.png" enterse="SFXHOVER.ogg"]
Who is online
Users browsing this forum: No registered users