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.

Author
Message
Less Than 40 Characters
21
Years of Service
User Offline
Joined: 14th Jun 2003
Location:
Posted: 25th Jun 2003 19:24
I have looked at some screen shots and this looks good - but I first want to make a very very very simple puzzle game.

However - I want this to appear in a window, but my first dalliances with db make this seem impossible. Is this possible? Is this easy?

Thanks for your help

Tom
Redostrike
21
Years of Service
User Offline
Joined: 9th Feb 2003
Location: Belgium
Posted: 25th Jun 2003 21:10
Just draw a window in a drawing program (paint, photoshop, paint shop pro, ext.) Ecual to your screen res (ex. 800 * 600) Put it in a BMP. Load the picture in you program. And paste it.

Only heroes live forever.
[url=www.redostrike.tk][/url]
Beatboxing Rulllllllllllzzzzzzzzzzzzz
Kentaree
21
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 25th Jun 2003 22:27
If you have DB Classic version 1.13 or DBPro, there are window commands to let you do this. This example will create a window that is 320X200 pixels in size, and has the caption "Test"



The window commands are in the system commands section of the help files.

Whatever I did I didn't do it!
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 25th Jun 2003 23:00
never even knew those commands existed in dbc

hi guys
Guyon
21
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 26th Jun 2003 00:32 Edited at: 26th Jun 2003 00:34
set window size 320, 200 doesn't really work on DBpro.

Use
SET DISPLAY MODE Width, Height, Depth

So...
SET DISPLAY MODE 800, 600, 32
set window title "Test"
set window on
Print "hello"
sleep 5000
Less Than 40 Characters
21
Years of Service
User Offline
Joined: 14th Jun 2003
Location:
Posted: 26th Jun 2003 11:41 Edited at: 26th Jun 2003 11:42
Brilliant - thanks for the clarification and help guys. I checked the help files but must have completely overlooked it. Idiot!

Thanks again
Tom

Login to post a reply

Server time is: 2024-09-20 13:49:30
Your offset time is: 2024-09-20 13:49:30