Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - evanbandit

Pages: [1]
1
Graphics / Re: setOrigin distorts my sprite?
« on: December 08, 2021, 03:21:18 pm »
Thank you very much!

2
Graphics / setOrigin distorts my sprite?
« on: December 08, 2021, 12:30:55 am »
I have a 25px x 25px square sprite and I'm trying to set the origin to the center.

m_PlayerSprite.setOrigin(12.5, 12.5);

but! For some reason having an x value of 12.5 distorts my sprite. Any other value and it looks normal. What gives?

Attached: 1.png: normal, 2.png: distorted, player.png: base image.

EDIT: I wasn't sure how to make my attached images appear in the post. Let me know if that would help. Thanks!




Pages: [1]