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 / a little text "adventure" that i cant get right!!!!!!!

Author
Message
kaymation
20
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 23rd Jul 2005 23:58
this is my code

thanx in advance for any help

i owe all my wantingness to TBC at [href]http://
www.homestarrunner.com[/href]
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 24th Jul 2005 00:55
its hard if you do it with the text command, just do it with print and input.



havent tried it, but it should work

Your signature has been erased by a mod because it's larger than 600x120...
kaymation
20
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 24th Jul 2005 08:22
it works but typing any old thing goes to end this is the code the i tried to fix it with


i owe all my wantingness to TBC at [href]http://
www.homestarrunner.com[/href]
oDCo
20
Years of Service
User Offline
Joined: 11th May 2005
Location:
Posted: 24th Jul 2005 09:32
Your could always use a WHILE command . . .

Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 24th Jul 2005 11:24
Always make sure when you get any text input to change the result to higher case so that any input from the player can be easily checked and not "appear" case sensitive. If this isn't done and the player typed "Buy water" or "BUY WATER" or "bUy waTeR" it won't see it if you're checking for "buy water". I always change to upper case but you can go lowercase too.

oDCo
20
Years of Service
User Offline
Joined: 11th May 2005
Location:
Posted: 24th Jul 2005 17:58
Hey that's handy, I didn't know you could do that. I'll add that to my program.

Thanks Grog
kaymation
20
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 25th Jul 2005 03:07
thanx for the help guys

i owe all my wantingness to TBC at [href]http://
www.homestarrunner.com[/href]
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 25th Jul 2005 03:44
Np oDCo and kaymation.
kaymation
20
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 28th Jul 2005 08:53
yeah thanx

i owe all my wantingness to TBC at [href]http://
www.homestarrunner.com[/href]

Login to post a reply

Server time is: 2025-05-22 13:38:47
Your offset time is: 2025-05-22 13:38:47