Closed GoogleCodeExporter closed 9 years ago
This would have to go in DrawableObject, and apply to everything.
I'll work it in at some point, and see if it is okay for performance.
I don't want to over-bloat stuff, but yeah, it's a reasonable idea.
Original comment by rtaylor205@gmail.com
on 9 Jul 2010 at 10:34
I hacked a functional centered window together by updating the x\y when I
updated the width\height. Doing it this way I can't use the move functions of
course. It really does feel much more natural as a camera.
Having this apply to all drawables would be great actually. I end up having to
manually offset sprites quite often.
Original comment by Jor...@gmail.com
on 9 Jul 2010 at 10:03
See scaleFromCentre in the trunk, also onMoveEnd(DrawableObject) in Scene for
handling the result.
Original comment by rtaylor205@gmail.com
on 11 Jul 2010 at 1:14
Original comment by rtaylor205@gmail.com
on 11 Jul 2010 at 1:15
Original issue reported on code.google.com by
Jor...@gmail.com
on 9 Jul 2010 at 1:37