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 / SetSpriteUVScale - Can't create tile sprite.

Author
Message
Sharisu
12
Years of Service
User Offline
Joined: 9th Nov 2011
Location: BY, Minsk
Posted: 26th Apr 2012 15:01
if I using: agk::SetSpriteUVScale( ID, 0.5, 0.5 );
I think the image should be tiled, but instead get a blank area.
Can I get around it somehow?
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 26th Apr 2012 17:27
You need to use "agk::setImageWrapU(imageID,1);" on the image for this to work as expected.

Sharisu
12
Years of Service
User Offline
Joined: 9th Nov 2011
Location: BY, Minsk
Posted: 26th Apr 2012 18:00
Quote: "You need to use "agk::setImageWrapU(imageID,1);" on the image for this to work as expected."


Oh! Thank you very much, it helped!)

Login to post a reply

Server time is: 2024-05-04 09:20:39
Your offset time is: 2024-05-04 09:20:39