Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Synchronization of an animated sprite and an actor  (Read 2935 times)

0 Members and 1 Guest are viewing this topic.

Dionysius

  • Frequent poster
  • ****
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 361
    • View Profile
    • On the Tracks of Dinosaurs
Synchronization of an animated sprite and an actor
« on: June 08, 2006, 03:27:41 AM »

Actor in my scene should open a luggage. I have an animated sprite of the luggage and actor's animation of the opening. It is possible to synchronize them? Or should I to find another way?
Logged

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Re: Synchronization of an animated sprite and an actor
« Reply #1 on: June 08, 2006, 09:39:44 AM »

You can for example register an event in the actor definition in his opening animation like this:

 EVENT
 {
     FRAME = 10
     NAME = "SuitcaseOpen"
 }

and then in the actor script file define

on "SuitcaseOpen"
{
 // the opening animation of suitcase go there :)
}

Hope that helps
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet

Dionysius

  • Frequent poster
  • ****
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 361
    • View Profile
    • On the Tracks of Dinosaurs
Re: Synchronization of an animated sprite and an actor
« Reply #2 on: June 08, 2006, 03:38:44 PM »

Thank you, I'll try it  :)
Logged
 

Page created in 0.032 seconds with 23 queries.