Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: Compound animation of walk. How to do?  (Read 4195 times)

0 Members and 2 Guests are viewing this topic.

Matt Groening

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 39
    • View Profile
Compound animation of walk. How to do?
« on: June 26, 2008, 12:10:16 PM »

I wish to make compound animation of movement (for 2D Actor): first "walk_start", then "walk" and then "walk_end".
I have written such script:
actor.PlayAnim("walk_start");
actor.GoTo(Scene.MouseX, Scene.MouseY);
actor.PlayAnim("walk_end");


But after animation "walk_start" is over and before the Actor will start to move on GoTo, slips one frame from animation "idle".
How to get rid of this frame idle animations and to make smooth transition from "walk_start" in "walk"?


-------------------------------------------------------------------------------------------------------------------------------
Я хоч
« Last Edit: June 26, 2008, 02:55:52 PM by Spawn »
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Compound animation of walk. How to do?
« Reply #1 on: June 27, 2008, 06:05:38 PM »

I'm not aware of this, and if the engine behaves this way, it's unintended.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Matt Groening

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 39
    • View Profile
Re: Compound animation of walk. How to do?
« Reply #2 on: June 28, 2008, 01:54:24 PM »

I'm not aware of this, and if the engine behaves this way, it's unintended.

Now, I use only "walk" and "walk_end". Without "walk_start".
But I would like to use it "walk_start".
Logged
 

Page created in 0.083 seconds with 24 queries.