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.

DarkBASIC Discussion / Use Bitmaps for Menu's or NOT!

Author
Message
Zooker
22
Years of Service
User Offline
Joined: 27th Oct 2002
Location: United States
Posted: 17th Jan 2003 01:25
I have devised a Menu that use's hardwired Bitmaps for
Menus. I still have the code that created the Bitmaps.
Would I my program run better using the bitmaps or using the code. Can any one tell me the plus's and Minus's both ways?
It took Years to Make Me this Stupid!
Dr DooMer
22
Years of Service
User Offline
Joined: 22nd Dec 2002
Location: United Kingdom
Posted: 17th Jan 2003 04:26
For my menu I'm using a combination of pre-made and run-time generated bitmaps. Things like selection buttons are created by passing a few variables to a function which, after a bit of crunching, gives me a button image. However, certain oddly shaped buttons and large menu headings are pre-made in PSP and then loaded from the harddrive.

The plus of generating them as you need them with a function is that changes can be made merely by altering a single parameter. The downside is, they take a relatively long time to be created, which is a problem when there's a lot of them. Of course, it also cuts down on the size of your program.

"I am a living, thinking entity who was created in the sea of information."
Zooker
22
Years of Service
User Offline
Joined: 27th Oct 2002
Location: United States
Posted: 18th Jan 2003 01:31
Thanx

It took Years to Make Me this Stupid!

Login to post a reply

Server time is: 2025-05-14 16:45:50
Your offset time is: 2025-05-14 16:45:50