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

For discussion and support of other visual novel engines.
Post Reply
Message
Author
GratoNite
Newbie
Posts: 4
Joined: Sat Jun 10, 2017 11:19 am
Contact:

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

#1 Post by GratoNite » Sun Jun 11, 2017 3:12 am

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

User avatar
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?

#2 Post by 8oni » Mon Jun 19, 2017 1:08 am

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 :


Post Reply

Who is online

Users browsing this forum: No registered users