![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Oct 2004
Posts: 63
Rep Power: 5
![]() |
How, would you go about making a text adventure game, would it just be tons of case switches, functions...ect. Easy stuff like that? Or does it get really complicated?
|
|
|
|
|
|
#2 |
|
The Supreme Ruler
![]() Join Date: May 2004
Location: Houston
Posts: 1,476
Rep Power: 6
![]() |
It can be as easy or as comples as you want it to, but yea, it could be really easy with switch and if statements if you want it to be.
__________________
"Every gun that is made, every warship launched, every rocket signifies, in the final sense, a theft from those who hunger and are not fed, from those who are cold and are not clothed. The world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children." - Dwight D. Eisenhower |
|
|
|
|
|
#3 |
|
Programmer
Join Date: Oct 2004
Posts: 63
Rep Power: 5
![]() |
Never mind, got it changed.
|
|
|
|
|
|
#4 |
|
Expert Programmer
Join Date: Sep 2004
Location: Ontario, Canada
Posts: 579
Rep Power: 5
![]() |
A text-base adventure game would be easy me thinks...A lot of switch statements, functions, file I/O,
__________________
Johnny was a chemist's son but Johnny is no more, for what Johnny thought was H2O was H2SO4 |
|
|
|
|
|
#5 |
|
Programmer
Join Date: Oct 2004
Posts: 63
Rep Power: 5
![]() |
Who would it need file I/O? Wouldn't you only need that to save games?
|
|
|
|
|
|
#6 |
|
Expert Programmer
Join Date: Sep 2004
Location: Ontario, Canada
Posts: 579
Rep Power: 5
![]() |
To save games ofcourse...I'm sure there are some other uses for it
__________________
Johnny was a chemist's son but Johnny is no more, for what Johnny thought was H2O was H2SO4 |
|
|
|
|
|
#7 |
|
Programmer
Join Date: Oct 2004
Location: Canada
Posts: 82
Rep Power: 5
![]() |
You would more than likely use file IO if it was a text based game, most games are implemented as a large loop.
|
|
|
|
|
|
#8 |
|
Programmer
Join Date: Oct 2004
Location: Canada
Posts: 82
Rep Power: 5
![]() |
This sounds like an interesting idea, kind of like a choose your own adventure story. It would be nice to have graphics though.
|
|
|
|
|
|
#9 |
|
Programmer
Join Date: Oct 2004
Posts: 63
Rep Power: 5
![]() |
That's what I was going to do, but now that I found out you need IO..I don't think I can do it just yet. Anyone want to help me?
|
|
|
|
|
|
#10 |
|
Expert Programmer
Join Date: Sep 2004
Location: Ontario, Canada
Posts: 579
Rep Power: 5
![]() |
Generating random numbers is also very helpful
__________________
Johnny was a chemist's son but Johnny is no more, for what Johnny thought was H2O was H2SO4 |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|