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.

Newcomers DBPro Corner / 2d Backround Troubles HELP!!!

Author
Message
Last Chance
20
Years of Service
User Offline
Joined: 23rd Dec 2003
Location: Canada. It rules!
Posted: 6th Jan 2004 00:29
[center]I need help!!!
I have just started (JUST) with DBC and am making a quiz (no graphics) for a school website. I have 3 problems:

One: I have added a solid coulor backdrop except when i run it, the text wont appear. Why?

Two: Also, i need to know how to have the score for the quiz.

Three: Is it possible to have a darkbasic program on the internet. how do i do this.

Thanks for all the help! I really need it! HELP!!!

Yes Im a n00b... AND PROUD OF IT!!!
-*C-*-A-*-N-*-A-*-D-*-A*-
DARKBASIC. BASIC MY @$$!!!
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 6th Jan 2004 02:07
Center aligning your text makes it harder to read

2. Just use a variable to hold the score.
score = 0
then when the user gets a question correct increase it
score = score + 10
or
inc score,10
to display it
print score
or
text x,y,str$(score)

3. It's possible to put the program on the internet so otherpeople can download it and run it on their pc. Just make a zip file with the exe in and upload it to some webspace.
It's not possible to have it so you can play it in a webpage like a flash game.

dbpro : 2ghz p4m : 512mb : geforce 4 4200 go
Last Chance
20
Years of Service
User Offline
Joined: 23rd Dec 2003
Location: Canada. It rules!
Posted: 7th Jan 2004 00:16
Thanks for the score help the_winch
One more question: can you put it on a cd and be able to play it without downloading. I suppose not, but oh well.

Yes Im a n00b... AND PROUD OF IT!!!
-*C-*-A-*-N-*-A-*-D-*-A*-
DARKBASIC. BASIC MY @$$!!!
diablo fan
20
Years of Service
User Offline
Joined: 7th Jan 2004
Location: michigan usa
Posted: 8th Jan 2004 06:16
your last question i dont see why you cant because if you can use the cd like a hard drive . If you set each cd up like one with your program on it.... then did you want autoplay?

me
Last Chance
20
Years of Service
User Offline
Joined: 23rd Dec 2003
Location: Canada. It rules!
Posted: 8th Jan 2004 22:17
Yes i would like auto play. Also i have a question, How Do U Find The Bitmap # ?

Yes Im a n00b... AND PROUD OF IT!!!
-*C-*-A-*-N-*-A-*-D-*-A*-
DARKBASIC. BASIC MY @$$!!!
Last Chance
20
Years of Service
User Offline
Joined: 23rd Dec 2003
Location: Canada. It rules!
Posted: 19th Jan 2004 22:24 Edited at: 19th Jan 2004 22:25
never mind that last question.
but does build standalone work for webpages?
o and can you do multiple choice?
anything like it?

wannabe programmer
zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 21st Jan 2004 17:40
When print text, don't forget the INK command. Black text on a black background doesn't cut it.

DB/DBP can not build web applications. You can use it to make a client, but not a server side application. You can make a stand alone exe program and distribute it via the web or via CD.

Making an autorun is easy, open up Notepad and type in something like this:

[autorun]
open=my_db_program.exe
icon=some_icon.ico

and then save the file as autorun.inf
--
TAZ

Login to post a reply

Server time is: 2024-09-21 18:37:34
Your offset time is: 2024-09-21 18:37:34