1
Ask a Question / Re: making ddr-related game, not sure what the best way is to stored move list/times
« on: August 26, 2015, 11:00:58 pm »
I'd make a 2d list with all the necessary info in it, actor type, timing, start position etc:
[0[10.0, UP,]] [1[11.5, DOWN]] , [2[15.2, LEFT]] etc
just check the first entry every 0.1 second against your time attribute, then pass the other info to a reusable constructor event or flag when the time matches;
create actortype [get 0,2 from list] at X, Y
remove 0 from list
[0[10.0, UP,]] [1[11.5, DOWN]] , [2[15.2, LEFT]] etc
just check the first entry every 0.1 second against your time attribute, then pass the other info to a reusable constructor event or flag when the time matches;
create actortype [get 0,2 from list] at X, Y
remove 0 from list