Open GoogleCodeExporter opened 8 years ago
Yes, I agree, PathModifiers should be able to be created relative to the sprite
with the PathModifier. In my game, I also have to constantly create new
PathModifiers. I am not sure how bad my game performance is being affected,
though.
A workaround would be to use a PhysicsHandler to set a velocity for some time,
but that's not as accurate.
Original comment by prem.q.n...@gmail.com
on 29 Jul 2011 at 7:38
This is still a serious gotcha--the expected behavior (and best practice) for
games is to be able to avoid heap allocation in the game loop. If I have to
constantly create new Modifiers, the garbage collector is going to be firing
when I don't want it to.
Original comment by thomasjakway1@gmail.com
on 11 Jun 2013 at 11:57
Original issue reported on code.google.com by
colinbr...@gmail.com
on 10 May 2011 at 7:01