Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.

Visit our new games list, blog aggregator, IRC channel, and Discord (new).
Activation problem? Email pytom@bishoujo.us.
It is currently Tue Jun 27, 2017 3:03 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun Jun 11, 2017 3:12 am 
Newbie

Joined: Sat Jun 10, 2017 11:19 am
Posts: 4
Twitter: @Grato_nite
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


Top
 Profile Send private message  
 
PostPosted: Mon Jun 19, 2017 1:08 am 
Regular
User avatar

Joined: Sun May 19, 2013 3:30 am
Posts: 39
Completed: Midnight Encounter, White World
Tumblr: 8oni
Deviantart: 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:
[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 :



Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group