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.

Geek Culture / Help plz

Author
Message
Ice Dragonz
20
Years of Service
User Offline
Joined: 19th Jul 2004
Location: Not from this planet x_x
Posted: 21st Jul 2004 10:29 Edited at: 21st Jul 2004 10:31
When i program something other then DO or LOOP in DBP, the screen doesn't show up when i run the program. Anyone know why this is? I have an okay graphic card that should support it. It did before. I just reformated my computer due to a hacker, and now it stopped working (DBP). Thanks.

BTW, have Direct X 9 and everything needed to run DBP

____________
-IceDragonz-
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 21st Jul 2004 10:38
well if you have no loop make sure you SYNC and WAIT KEY or you wont see sh*t


DBP_NETLIB_v1.4.3 - 65 FREE Functions * Click Logo
Ice Dragonz
20
Years of Service
User Offline
Joined: 19th Jul 2004
Location: Not from this planet x_x
Posted: 21st Jul 2004 10:45
Tried that. I mean the only thing that works is DO and LOOP. Thanks though

____________
-IceDragonz-
Jimmy
21
Years of Service
User Offline
Joined: 20th Aug 2003
Location: Back in the USA
Posted: 21st Jul 2004 11:51
Let's see some example code my boy


<Mnemonix> im seroulsiy frunk to doaty
http://www.dbspot.com/ - Free website hosting. Fast and reliable... probably.
Ice Dragonz
20
Years of Service
User Offline
Joined: 19th Jul 2004
Location: Not from this planet x_x
Posted: 21st Jul 2004 13:26
Do

Loop

Runs the program and it does nothing... I can see the black screen

Text 20,20,"Hello!"

Do

Loop

Runs the program and it's an invisable window

Do
Make Object gfdgtnhjrt,1,1,3,5,"FeGrcefgT"
Loop

Doesn't really matter, cause either way an error message is gona come up


Anyway, basicly it runs but i see nothing (not even a window). They only thing that works is sound.

____________
-IceDragonz-
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 21st Jul 2004 13:36
Try



Althouh that might be a little out of your league, give it a try.

"Could you do something where you don't need a video card cause i don't have one" - Program Expert
Jimmy
21
Years of Service
User Offline
Joined: 20th Aug 2003
Location: Back in the USA
Posted: 21st Jul 2004 14:35
when using DO and LOOP

it runs everything within the command OVER AND OVER again until you press escape. Once you press escape it kills the program and will not run the others.

You need to put commands INSIDE the DO and LOOP.

Like:

do
text 20, 20, "Mattman for President"
sync
loop

You use SYNC to tell the the program to redraw the screen, in this case, draw 'Mattman for President'

A complete example would be something like this:

SYNC ON
SYNC RATE 0

DO
TEXT 20, 20, "Mattman for President"
SYNC
LOOP

copy and paste that into DB and see what happens


<Mnemonix> im seroulsiy frunk to doaty
http://www.dbspot.com/ - Free website hosting. Fast and reliable... probably.

Login to post a reply

Server time is: 2024-09-22 06:22:54
Your offset time is: 2024-09-22 06:22:54