Hi,
wondering if its possible to change the “time” parameter in the spritesheet data? for example:
sequences.movement =
{
name = “movement”,
start = 1,
count = 2,
time = 1000, -------CHANGE TO VALUE-----
loopCount = 0,
loopDirection = “forward”
}
Is it possible to use:
time = a
then use a as a variable value to change the speed of the sprite when a change occurs in the game?
local a =1000
if enemyCount == 10 then
sequences.movement.time = 2000 ETC ETC
Or do I have to create seperate animations with just the time var altered ?
thanks