I've got some enemy sprites which are moving around by using Platform behavior and simulating the left and right key presses.
However, I realized in the event editor I can use either:
On System.Tick
if(Zombie instance var 'facing' = "left") simulate keypress left
if(Zombie instance var 'facing' = "right") simulate keypress right
or I can simply do a 'Compare instance variable' event:
On (Zombie instance var 'facing' = "left") simulate keypress left
On (Zombie instance var 'facing' = "right") simulate keypress right
Can anyone outline the difference between these from a performance perspective? Which one would you recommend?
Thanks,
-- cacotigon