Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Is there anyway to get a sprite's UV offset values?

Author
Message
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 25th May 2019 03:29
Thanks in advance for any help
Bengismo
6
Years of Service
User Offline
Joined: 20th Nov 2017
Location: Yorkshire, England
Posted: 25th May 2019 10:57
Its not currently possible to get the current sprite UV offset or to get any current UV values used on a sprite in teir 1. You can set them but you cant retrieve them meaning that if you do set them then you will have to store those values yourself if you will need them later in your code.

It has been asked for a number of times and it would be really easy to add a function into AppGameKit to retrieve the uv coords. It might even already be a request on github but if it isnt then put it on and see if it gets a few upvotes and they will add it.

Login to post a reply

Server time is: 2024-10-01 08:24:43
Your offset time is: 2024-10-01 08:24:43