Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: menu animations  (Read 3786 times)

0 Members and 1 Guest are viewing this topic.

SBOVIS

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 404
  • FORGET REALITY SURRENDER TO YOUR DARKEST DREAMS
    • View Profile
    • LIMBO of the LOST
menu animations
« on: July 28, 2004, 01:19:28 PM »

Hi all,
       I have created a menu with options on it like, TAKE, EXAMINE etc. (in a graphic form)
When the player selects these options i want an animation to play. Like the image to glow or spin etc.


Also In the Inventory screen can I have an animated sprite on that too, displays when player moves mouse to top of screen.

Any code or advice would be welcome.


Many thanks


Steve
Logged
kind Regards
Steve Bovis
MAJESTIC STUDIOS

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: menu animations
« Reply #1 on: July 28, 2004, 01:36:24 PM »

The menu will be created as window, and the options should be buttons on the window. Then you can define a "hover image" for the button, which is displayed when the mouse pointer is over it the button. This image doesn't have to be a static picture, you can use an animated .sprite file as well.

For example, check the menu in WME demo (interface\menu\menu.window), it uses the IMAGE_HOVER attribute in exactly the same way you want to achieve, only it uses static BMP's. In your case, you will use sprites to animate the hover effect.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

SBOVIS

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 404
  • FORGET REALITY SURRENDER TO YOUR DARKEST DREAMS
    • View Profile
    • LIMBO of the LOST
Re: menu animations
« Reply #2 on: July 28, 2004, 01:51:06 PM »

Great thanks a lot, thought you could only use static images.

The same foes for the Inventory i take it.



Regards



Steve
Logged
kind Regards
Steve Bovis
MAJESTIC STUDIOS

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: menu animations
« Reply #3 on: July 28, 2004, 01:56:07 PM »

Yes, basically wherever you can use static images, you can also use animated sprites.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.044 seconds with 23 queries.