opposite of you
opposite of you

Reputation: 1365

AndEngine - When I set sprites, the sprite's (0, 0) is the center of the sprite. How can I make it the bottom left like usual?

I am using the Anchor Center branch, and I have just found that most of the issues related to my game are for this reason. Is there a way to set sprites using the bottom left of the sprite rather then using (0, 0) as its center?

Thanks!

Upvotes: 1

Views: 1741

Answers (2)

user1592811
user1592811

Reputation: 913

Why would you do that if the main change from GLES2 to GLES2 Anchor Center is the coordinate system where Y is inverted ?

Upvotes: 1

opposite of you
opposite of you

Reputation: 1365

Found out!

.setAnchorCenter(0, 0);

Upvotes: 3

Related Questions