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 / PNG and GUI

Author
Message
MaestroS
17
Years of Service
User Offline
Joined: 15th Sep 2007
Location:
Posted: 15th Sep 2007 15:23
1. How to operate with *.png's images ?
I mean, when I put an image to my game, it has white background. It shouldn't, because in PS I deleted background. So, there is question - how to delete background and display ONLY main content ?

2. How to use input fields, buttons, memos in DBP ?
I need to use them to make game interface - but how...

The future belongs to those who believe in the beauty of their dreams

E. Roosevelt
wildbill
18
Years of Service
User Offline
Joined: 14th Apr 2006
Location:
Posted: 15th Sep 2007 16:51
Check out the set image colorkey command. If you want to use white as the transparent command set image colokey rgb(255,255,255).
Black is the default transparent color.
Roxas
19
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 15th Sep 2007 17:57
easy just put set sprite and put transparency flag on

[center]
Insert Name Here
17
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 15th Sep 2007 18:26
You shouldn't post the same question twice.

............................
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 15th Sep 2007 23:51
Just deleting the background mightn't be enough, you have to explicitly set it to transparent iirc

Login to post a reply

Server time is: 2024-11-25 11:26:38
Your offset time is: 2024-11-25 11:26:38