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.

Program Announcements / Color Scheme utility

Author
Message
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 12th Sep 2006 02:36 Edited at: 12th Sep 2006 02:37
I have produced a small utility that can be useful when using colors in DBP. It has a collection of nice colors which you can choose from and it will create you a .DBA file that you can include with your project and reference the colors by name rather than by number. It also gives you the option to make a set of color charts to go with your .dba so you can easily find the color you want.

Here is an example color card:



WE SHALL BECOME ALL POWERFUL! CRUSH THE LESSER RACES! CONQUER THE GALAXY! UNIMAGINABLE POWER! UNLIMITED RICE PUDDING ! ! ! ETC. ! ! ! ETC.! ! !

Attachments

Login to view attachments
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 12th Sep 2006 02:38
Oh, I also need to upload the actual application...


Comments and suggestions welcome. I have a feeling this could turn into a very useful utility.

WE SHALL BECOME ALL POWERFUL! CRUSH THE LESSER RACES! CONQUER THE GALAXY! UNIMAGINABLE POWER! UNLIMITED RICE PUDDING ! ! ! ETC. ! ! ! ETC.! ! !

Attachments

Login to view attachments
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 12th Sep 2006 02:38
I don't have that same feeling.



Tempest - P2P UDP Multiplayer Plugin (DBP/DBCe)
Download the free version
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 12th Sep 2006 02:39


Thats not a very helpful comment.

WE SHALL BECOME ALL POWERFUL! CRUSH THE LESSER RACES! CONQUER THE GALAXY! UNIMAGINABLE POWER! UNLIMITED RICE PUDDING ! ! ! ETC. ! ! ! ETC.! ! !
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 12th Sep 2006 02:42 Edited at: 12th Sep 2006 02:51
Actually I've just downloaded it and realised it is pretty neat. HOWEVER, I would prefer you made it export constants rather than globals. Other than that, good work, it's one of your programs I may actually use.

I would like to extend my kind post with a suggestion. Make it so it can export names like COLOR_1, COLOR_2, so you don't have to actually remember the names of the colours. Also, this way if someone wants to change the colorscheme in their application, they don't have to go through all their code replacing the colour names. It makes sense.

And.. precalculate the values if you change to exporting constants instead of globals.

Tempest - P2P UDP Multiplayer Plugin (DBP/DBCe)
Download the free version
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 12th Sep 2006 03:04
Im having a bit of trouble getting the constants code to work.

I will include an option to export numbered variable names as per your example above and also the ability to export all of the colors into a simple array, for reference by number

WE SHALL BECOME ALL POWERFUL! CRUSH THE LESSER RACES! CONQUER THE GALAXY! UNIMAGINABLE POWER! UNLIMITED RICE PUDDING ! ! ! ETC. ! ! ! ETC.! ! !
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 12th Sep 2006 03:15
Quote: "Im having a bit of trouble getting the constants code to work."

If the only problem is the reserved word problem then prefix the colors with COLOR_ which I personally do anyway. Or allow users to specify their own prefix/suffix. An options file is starting to sound like a good idea.

Quote: "also the ability to export all of the colors into a simple array, for reference by number"

Ah kind of like a pallete system then? That would be good.

Tempest - P2P UDP Multiplayer Plugin (DBP/DBCe)
Download the free version
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 25th Sep 2006 06:49
hmmm, some old BASIC pallette manipulation anyone?

"Using Unix is the computing equivalent of listening only to music by David Cassidy" - Rob Pike

Login to post a reply

Server time is: 2024-05-19 00:43:39
Your offset time is: 2024-05-19 00:43:39