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: Character animation - Idle animations when you stop playing for a few secs.  (Read 2665 times)

0 Members and 1 Guest are viewing this topic.

diegoquarantine

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 50
    • View Profile
    • Buenos Aires Quarantine Studio


Hello everyone!. I've been thinking about this for some time now but can't think of any way right now to start with this.
I want to load a few animations of the main character doing some funny things like smoking a cigarette or something for when you stop playing for a moment.
The thing is that I can't think of a good way to count seconds for that to happen. I don't know if I should test the movement of the cursor and then if not moving start counting or something like that.
Have someone did something like this before?
Can anyone point me in the right direction?.

Thank you!!  ::slug

PS: Sorry for my English, it's not my natural language.

redfox

  • Regular poster
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 122
    • View Profile

You can adapt a script like this to pick a random actor animation


http://forum.dead-code.org/index.php?topic=17.msg51#msg51
Logged

diegoquarantine

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 50
    • View Profile
    • Buenos Aires Quarantine Studio


Thanks mate! worked like a charm!  U ::rock
 

Page created in 0.023 seconds with 18 queries.