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 Professional Discussion / Changing cursors and icons

Author
Message
Red general
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: United Kingdom
Posted: 18th Jul 2003 13:38
How do you change your cursor on screen, and how do you change the icon for the exe?

RED GENERAL
My computer melts regulary - perhaps it likes being fondue
Ermes
23
Years of Service
User Offline
Joined: 27th May 2003
Location: ITALIA
Posted: 18th Jul 2003 14:10
well, Rich tell me this: if the icon is 32x32 pixel, 24bit color, in bmp format, upload icon with the window "settings, file, icon,cursor...", and dbpro will associate it.The icon file must be in your project folder.

See to mouse command (i remember like "set mouse...") for pointer.

I have to told you never works with me (maybe associate an icon is too complicated for dbpro, or i'm very silly)

Free Download for a Free World
Ishoka
23
Years of Service
User Offline
Joined: 27th Apr 2003
Location:
Posted: 19th Jul 2003 04:20 Edited at: 19th Jul 2003 04:21
On the bottom right there should be 2 buttons that say 'Cursors' and 'Icons'. click on Cursors, and click 'add', then find your cursor, then click ok. do the same for the icon. they should automaticly set themselves in your program. they did for me.

keeblerElf
23
Years of Service
User Offline
Joined: 11th Jun 2003
Location: United States
Posted: 19th Jul 2003 07:43
get a sprite you want to use as the cursor then hide the mouse. everytime during the game loop you would put the sprite on the screen at the mouse coordinates...I don't know if this is how you would do it in darkbasic but that's how it's done in good ole' qbasic

Login to post a reply

Server time is: 2026-07-21 12:50:13
Your offset time is: 2026-07-21 12:50:13