While I was exploring places in my project where I have point leak I found this place in FlxSprite loadGraphic():
if (animated)
frames = FlxTileFrames.fromGraphic(graph, FlxPoint.get(frameWidth, frameHeight));
else
frames = graph.imageFrame;
Imo this is the perfect place to use a weak point. Moreover, point isnt put anywhere after using
Upd: the same leak in loadRotatedGraphic()
While I was exploring places in my project where I have point leak I found this place in FlxSprite loadGraphic():
Imo this is the perfect place to use a weak point. Moreover, point isnt put anywhere after using
Upd: the same leak in loadRotatedGraphic()