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 / V2 Set Sprite Opacity?

Author
Message
Native Tech
11
Years of Service
User Offline
Joined: 19th Jul 2013
Location:
Posted: 23rd Oct 2014 10:14 Edited at: 23rd Oct 2014 10:18
EDITED: I have found a solution to this question plz disregard tjis post

Native Technology
Funnell7
13
Years of Service
User Offline
Joined: 8th Sep 2011
Location: UK, England
Posted: 23rd Oct 2014 12:41
Or... Keep the question and provide the answer... Won't be a useless thread then
Native Tech
11
Years of Service
User Offline
Joined: 19th Jul 2013
Location:
Posted: 23rd Oct 2014 21:08
Funnell that is a good point

so I was trying to change the opacity of a sprite so I could layer it over top of the background while still being ab;e to partially see through my sprite so it blends with the background.
I looked for functions directly using the word Opaque/Opacity but found none and then I stumbled upon this:

SetSpriteColorAlpha(sprite_id, color_value)

which seems to give me the disired effect of making my sprite somewhat "see through" , so im glad I stumbled across it and maybe this could help someone else aswell

Native Technology

Login to post a reply

Server time is: 2024-11-25 09:49:34
Your offset time is: 2024-11-25 09:49:34