Scripting Hover and Click

Ok I am not to new to scripting but still i am learning. how do i script a tga file to do animate while mouse over and do something else on click. or even better animate while untouched and animate while mouseover and then react when clicked. How do i script it or is there an easier way with normal settings.
3,168 views 2 replies
Reply #1 Top
DesktopX has a built in 'filmstrip' animation ability. What this means is that if you create all the frames of your animation side-by-side in the same image file, then tell DesktopX how many there are, it can animate it for you.

Create a new object, then go to the 'States' tab in its Properties window. There will be an 'Animation' tab farther down. In that tab, you will see options for how many frames there are in the image, as well as the animation styles. Personally, I dont have alot of experience in using it beyond what I've just told you, but there may be others who know what they're doing.
Reply #2 Top
Depending on what the animation is doing I'd say use the normal settings. Mouse over, Mouse down, etc.

I started out using normal settings but, at this stage I prefer scripting as it gives a lot more flexibility.