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 / UV Offset BUG

Author
Message
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 3rd Nov 2011 15:11
Try the following command on both Windows and iOS!!!

Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 12th Nov 2011 00:04
Seems to be working here, you might want to use the commands

SetImageWrapU( imageID, 1 )
SetImageWrapV( imageID, 1 )

if you want to repeat the texture instead of clamp it.
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 12th Nov 2011 14:56
On Windows using

agk::SetSpriteUVOffset (MySprite, 0.0f, -0.53f)

gets the sprite visible half way through vertically (as it should).

On iOS it's not visible at all.

Login to post a reply

Server time is: 2024-04-25 04:39:45
Your offset time is: 2024-04-25 04:39:45