Jump to content

barrard

Members
  • Content Count

    3
  • Joined

  • Last visited

  1. I just found this codepen, and it looks very similar to what I'm doing. https://codepen.io/osublake/pen/WpVMoO This uses greenSock, TweenMax
  2. Exca, Thank you so much for your response. I attempted to manually move my sprites in the ticker function which worked initially. But some things have changed. //time = 0, 1, 2, 3 Previously, I would get data like `path = [[0,0], [10, 0], [20, 0], [30,0]]`//movement along a straight line is simple enough each index would represent 1 second of real time, and, so i would calculate the distance, divide by 60 fps, and update the position to animate between each new position We changed our pat
  3. Hey everyone, thanks for taking time to read, and for any help. I'm using PIXI to show a replay of a simulation that has already run, storing all the times/locations of my objects (squares). Basically, I have squares that i render as sprites, and i has known positions and times for the squares. I then use that data to visually show the simulation. Example. at Time = 0 I have a square at x= 0 and y = 0, My next data point is at Time = 1, and x = 10 y = 10. Currently I can just set the new position of the square, but it will jump to the new location, and I would
×
×
  • Create New...