Gornova/MarteEngine

Setting center of rotation

NightmareApps opened this issue · 1 comments

Is there a way to set the center of rotation? Using slick's image.setCenterOfRotation(x, y); isn't working.

Use the Entity's angle to rotate the Entity. Currently I think we only support rotating around upper left corner and around the center of the image. Have a look at the MarteEngine/test/it/randomtower/test/entity/AngleAlphaScaleMoveEntity.java class and the appropriate World class.
Does that help?