Page 1 of 1

[TyranoBuilder] How to make a hover effect with sound?

Posted: Sun Jun 11, 2017 3:12 am
by GratoNite
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

Re: [TyranoBuilder] How to make a hover effect with sound?

Posted: Mon Jun 19, 2017 1:08 am
by 8oni
This is for exit button right? You don't need to use css for exit button. All you need is to use this

Code: Select all

[button graphic="EXITNONHOVER.png" target=*__ enterimg="EXITHOVER.png" enterse="SFXHOVER.ogg"]
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 :