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.

Newcomers DBPro Corner / Translucent Images (How to?)

Author
Message
Takis76
19
Years of Service
User Offline
Joined: 9th Apr 2005
Location: Greece
Posted: 5th Jun 2006 21:25
Hi ,

Newbie takis is here again

Could you tell me how to make one image semi-transparent

Translucent.

Could with paste image , paste a translucent image?

Thank you very much.
Daemon
18
Years of Service
User Offline
Joined: 16th Dec 2005
Location: Everywhere
Posted: 5th Jun 2006 21:37 Edited at: 5th Jun 2006 21:38
It must be a sprite as far as I know for it to be displayed as translucent.

If you save the image attached as a .png in the c drive and then run this code you should have a translucent image on the screen.



Insanity is just a state of mind

Attachments

Login to view attachments
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 5th Jun 2006 21:44
You can also lock a plane to the screen and texture it then use 'fade object'

"Using Unix is the computing equivalent of listening only to music by David Cassidy" - Rob Pike
Slayer93
20
Years of Service
User Offline
Joined: 5th Aug 2004
Location: I wish I knew
Posted: 6th Jun 2006 03:27
Or you could do it the complicated way and make it transparent using memblock images which would be useful for making select parts semi-transparent

NARUTO IS THE NINJA.....not really
[url=http://forum.openmmo.co.uk/index.php?topic=328.0]
WIP...4 Elements
Im still here
18
Years of Service
User Offline
Joined: 11th May 2006
Location: :noitacoL
Posted: 6th Jun 2006 03:29
set sprite alpha and set image colorkey should also work. Try using those commands (set image colorkey gets irritating sometimes though)
CuCuMBeR
21
Years of Service
User Offline
Joined: 11th Jan 2003
Location: Turkey
Posted: 6th Jun 2006 13:30 Edited at: 6th Jun 2006 13:32
ghost object on object,0
set object light object, 0
disable object zwrite object
http://forum.thegamecreators.com/?m=forum_view&t=80885&b=6 check here

Login to post a reply

Server time is: 2024-09-25 01:22:57
Your offset time is: 2024-09-25 01:22:57