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 / Text Adventure

Author
Message
Super Guy
13
Years of Service
User Offline
Joined: 20th May 2011
Location: Canada
Posted: 21st May 2011 13:13
I am making a choose-your-own-adventure type game, and I was wondering if I could get some tips. Thanks.

I not only program but review video games too.

Get the latest video game reviews at http://v-g-r.blogspot.com/! Please follow.
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 21st May 2011 17:47 Edited at: 21st May 2011 17:47
When you say "choose-your-own-adventure" do you mean like the books where you read a page or two and at the end it says things like (which is basically just a multiple choice adventure):

Take the left path by turning to page 57.
To attack the ogre turn to page 90.

http://en.wikipedia.org/wiki/Choose_Your_Own_Adventure

Or do you mean interactive fiction like Zork where it's a huge adventure filled with rooms, items, puzzles using words you type to interact with the world?

http://en.wikipedia.org/wiki/Zork

Super Guy
13
Years of Service
User Offline
Joined: 20th May 2011
Location: Canada
Posted: 21st May 2011 19:28
I mean the books.

Not interactive fiction.

I not only program but review video games too.

Get the latest video game reviews at http://v-g-r.blogspot.com/! Please follow.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 21st May 2011 20:16 Edited at: 21st May 2011 20:17
You mean like the original Jackson & Livingstone fighting fantasy books? I have around 20 of those stored away somewhere

You can pretty much take an existing text adventure tutorial and adapt it to that kind of system. Each selection takes you to a different 'room', even selections that are 'you pick up the ...', except that they also record what you picked up.

Fights are a fairly simply thing too, as the computer can determine the outcome almost immediately of each round, and the only decisions you can make are whether you want to 'test your luck' at that point, or continue with the fight.

The biggest job IMO, is mapping out the adventure itself. If you have one of those books (or if you don't, look here), then you should draw it out (just the numbers and links to those numbers) to see the structure. Once you see how it's structured, just do the same with your story

Super Guy
13
Years of Service
User Offline
Joined: 20th May 2011
Location: Canada
Posted: 21st May 2011 22:30
I know how to code most of it.

Thanks for the link. I should format my planning like that.

I not only program but review video games too.

Get the latest video game reviews at http://v-g-r.blogspot.com/! Please follow.
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 22nd May 2011 01:21 Edited at: 22nd May 2011 01:22
I made one long ago in Quickbasic and modified it to help somebody back when I programmed in Darkbasic Classic. I just updated it again for Darkbasic Pro using a few of IanMs commands. This version hardcodes the adventure to make it stand alone without external files.

The adventures "pages" are SELECT/CASE statements with multiple choice commands with new "page" numbers and the key you have to press to go to that new "page".



If you don't have IanMs Matrix 1 Utilities Plugin click on his signature above and download it.

Login to post a reply

Server time is: 2024-11-16 21:26:22
Your offset time is: 2024-11-16 21:26:22