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 / [LOCKED] how do i fade a sprite?

Author
Message
kirtn14
13
Years of Service
User Offline
Joined: 8th Sep 2011
Location:
Posted: 8th Sep 2011 19:00
plaese help me i need to know this code and none of the instructions help but ive been told someone on here might be able to help me, how do i fade a sprite?

kirtnicholls
Red5
13
Years of Service
User Offline
Joined: 26th Aug 2011
Location:
Posted: 8th Sep 2011 19:52 Edited at: 8th Sep 2011 19:53
Give SetSpriteColorAlpha a try, for example...



Note however that if you were to do this inside of your main game loop, it would effectively "pause" during the fade so you would need to work it into the main loop rather than a separate loop like this, but this should give you an idea of how you can do it.

Login to post a reply

Server time is: 2024-11-08 23:45:21
Your offset time is: 2024-11-08 23:45:21