Jump to content

Photo

Moving multiple objects in a single instance?


1 reply to this topic

#1 Clint Thompson OFFLINE  

Clint Thompson

    River Patroller

  • 4,419 posts
  • Kiss Reality Goodbye.
  • Location:Indianapolis, Indiana

Posted Thu Nov 29, 2018 10:48 PM

While using an animation and changing frames is probably the best case scenario for use here it made me wonder, is it possible to move the coordinates of multiple sprites on a single line or single update at the same time? I've noticed that while it may move two images at the same time initially, when it moves on to the other image or images after an x,y move on any set, it throws off the x,y coordinates of the alternating images going forward off - I'm guessing due to the delay of single instance sprites being updated, the others are staggering behind as a result?



#2 CyranoJ OFFLINE  

CyranoJ

    RAPTOR Wrangler

  • 5,699 posts
  • reBOOTed
  • Location:Adelaide, SA

Posted Thu Nov 29, 2018 11:09 PM

Nothing changes until the next RAPTOR_UPDATE, so you can change as many as you like in between those calls.





Reply to this topic



  


0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users