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: Sprite Animation Problem.  (Read 3228 times)

0 Members and 1 Guest are viewing this topic.

Zzoth

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 2
  • Digital Stone Age
    • View Profile
Sprite Animation Problem.
« on: September 27, 2003, 03:46:05 PM »

Hello. Perhaps i haven't read very well docs.. but here's my question.
I'd like to make actor smooth turn animation, so i made animations and all sprites.. (upper left... down left.. etc).
I modified actor definitions in arrow.actor (arrow is the name of my actor)

TURN_LEFT {
    SPRITESET {
      LEFT       = "actors\arrow\ll\turn_ao.sprite"
      RIGHT      = "actors\arrow\rr\turn_ao.sprite"
     ....

and

  TURN_RIGHT {
    SPRITESET {
      LEFT       = "actors\arrow\ll\turn_o.sprite"
      RIGHT      = "actors\arrow\rr\turn_o.sprite"

in order to show different animations if actor turns from left or right, but WME engine shows me only TURN_LEFT when i test the game.

Am i forgotting something?
I need to write some addictional script to tell the engine to choose TURN_RIGHT or TURN_LEFT? It doesen't choose itself?

Thank you..
Zzoth.



Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:Sprite Animation Problem.
« Reply #1 on: September 27, 2003, 04:01:31 PM »

Congratulations, you found a bug ;)
The engine was really using always the left-turning animation.
You can download the fixed wme.exe at http://dead-code.org/download/wme.zip (480KB)

Thank you for pointing that out.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Zzoth

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 2
  • Digital Stone Age
    • View Profile
Re:Sprite Animation Problem.
« Reply #2 on: September 27, 2003, 04:29:21 PM »

Wow... it was my first test on WME.. and i found a bug..  what a luky man  ;D

i have downloaded the new wme.exe and everything works..  :D

Thank You..
Logged
 

Page created in 0.028 seconds with 18 queries.