Author Topic: How do the bot animations "play"?  (Read 1139 times)

Offline nas1m

  • Master Member
  • *****
  • Posts: 1,254
How do the bot animations "play"?
« on: September 08, 2014, 04:59:07 PM »
Just a quick question that occured while working on the DiggleBot:

The bot "dict" files contain four frames worth of animation.
The animation of e.g. the EMPBot looks much smoother than that, though.

Does the bot animation simply loop back and forth, i.e. 1, 2, 3, 4, 3, 2, 1?
Or am I missing some more elaborate trick here?
Craving some more color and variety in your next Bionic run? Grab a boost and a couple of custom floors!

Offline x4000

  • Chris Park, Arcen Games Founder and Lead Designer
  • Administrator
  • Zenith Council Member Mark III
  • *****
  • Posts: 30,619
Re: How do the bot animations "play"?
« Reply #1 on: September 08, 2014, 05:04:39 PM »
That's it!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline nas1m

  • Master Member
  • *****
  • Posts: 1,254
Re: How do the bot animations "play"?
« Reply #2 on: September 08, 2014, 05:11:05 PM »
That's it!
Wow, that was quick :). Thanks!
If you don't mind a follow-up:
Is the last frame repeated at each direction change?
Craving some more color and variety in your next Bionic run? Grab a boost and a couple of custom floors!

Offline x4000

  • Chris Park, Arcen Games Founder and Lead Designer
  • Administrator
  • Zenith Council Member Mark III
  • *****
  • Posts: 30,619
Re: How do the bot animations "play"?
« Reply #3 on: September 08, 2014, 07:57:36 PM »
No problem. :)

And no, the last frame is only shown once 1 2 3 4 3 2 1, not 1 2 3 4 4 3 2 1.  Otherwise you wind up with a kind of a "pause" at that frame, which would be bad. :)
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!