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 / Tip of the Day

Author
Message
cryptojoe
11
Years of Service
User Offline
Joined: 27th Sep 2012
Location: Michigan U.S.A
Posted: 29th Dec 2012 17:10
to day in the tip of the day box on AppGameKit I saw this,

Turning off transparency for sprites that do not need it can improve performance.

how can I tell if a sprites transparency is on
and how can I turn it off?
The Zoq2
14
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 29th Dec 2012 17:13
Transparency is on by default for all sprites. I believe the command to turn it of is SetSpriteTransparency, but I could be wrong about that
cryptojoe
11
Years of Service
User Offline
Joined: 27th Sep 2012
Location: Michigan U.S.A
Posted: 29th Dec 2012 17:34
its, SetSpriteTransparency( iSpriteIndex, mode )

Login to post a reply

Server time is: 2024-05-04 02:40:27
Your offset time is: 2024-05-04 02:40:27