Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: 3D_Maniac on February 15, 2007, 09:20:19 AM
-
Hi fellow adventure game enthusists
Firstly this game engine is cool but I need some help.
I want to have a scene as my main menu (not a window object) and when the mouse is moved over a region in the scene it will change the scenes background image similiar to a hover action on a button.
Any help would be appreciated :)
-
Your "regions" would be entities you'd place in SceneEdit. Now to implement the mouse-over effects, you'd attach a script to the entity and the script would contain something like:
on "MouseEntry"
{
this.SetSprite("path\some_active_sprite_or_image.sprite");
}
on "MouseLeave"
{
this.SetSprite("path\some_inactive_sprite_or_image.sprite");
}
-
Thanks Mnemonic
Your help is greatly appreciated. I finally got it to work :)
By the way is there a place to upload game demos that we have been working on.