hi again!
please visit
http://www.angrenost.de/pyro-balrog
and download my new simple game (with sourcecode).
as you know, i am new to c. what do you think about the source?
(please ignore the copyright informations, looks better with em )
hi again!
please visit
http://www.angrenost.de/pyro-balrog
and download my new simple game (with sourcecode).
as you know, i am new to c. what do you think about the source?
(please ignore the copyright informations, looks better with em )
how about trying to code a text adventure? youd be learning more. try adding stuff like save games and high score tables and things like that.
Text adventures are ****ing advanced! Command parsers etc. Would take like 6 months to make one, dude.
not really, it took me 4-5 hours to make one when i was new to C. theres nothing real advanced, its just like the dice rolling game cept theres more events and things like that.
no dude, the command parser has to accept things like:Originally posted by Flikm
not really, it took me 4-5 hours to make one when i was new to C. theres nothing real advanced, its just like the dice rolling game cept theres more events and things like that.
go north, then pick up book and read it
and
n, get book, read book
there's all sorts of **** you have to think of
hmmm, youre making it hard. you dont need things like "go up" or
"read book". you give the user a menu:
You found a book!
[1] Read
[2] Drop
[3] Put in your bag
or something similar.
giving the user a menu kinda defeats the object of the game, they're meant to figure out what to do for themselves and as such your program needs to be able to handle any input.
It's a worthwhile thing to do though as when it's developed you can use the parser in other programs.
Or if you really want to make a good text adventure, get TADS, it has a very good, pre-made command parser and a special compiler, it's very good, and the code looks very similar to C. Do a google search for TADS.
Cool little game you've got there dune911. Your code is a bit rough around the edges, but seeing as how it's just a beta version, that's okay.
Keep up the good work.
please check
http://www.angrenost.de/pyro-balrog
for my new updated version 0.2 beta again.
i changed the code, so it would work fine and need less code.
another problem:
can someone explain exactly, how the random function works? i don't really understand what the function in my game works. i think, i better should...
hey, it does what it was written to do, what more can you ask?
you could try to center the text on the screen though.
me just starting to write stuff too, done a tic,tac,toe game there a few weeks ago for college. its a bit simple but anyone wants the code can have it.
Good little game. Why pyrodice though? I didnt see any fire.
Pertaining to the text-based rpg:
>>hmmm, youre making it hard
Exactly. It doesnt have to be complicated. Check out my website for a really simple way of doing things. (One of these days i'll update it with more versions showing more complicted and better ways of doing it...)
"There's always another way"
-lightatdawn (lightatdawn.cprogramming.com)
uhhh...those "choose your own adventure" books had a menu-like system, it dosent have to be exactly match everybody's popular veiw of a "text adventure"Originally posted by Edge
giving the user a menu kinda defeats the object of the game, they're meant to figure out what to do for themselves and as such your program needs to be able to handle any input.
It's a worthwhile thing to do though as when it's developed you can use the parser in other programs.
i don't think books had the choice of a command parser
Neat little game. Would you mind if I re-wrote it with DOS/console graphics and sent it back to you? I think it would a fun little game to give a little color to.
As with text adventure game deal... C'mon guys. I think text adventures are great for beginners if they use a menu-based system (there is nothing wrong with that). However, if you look at some of the great text-based games like Zork and Gemstone, they use the commands and can parse out the information. So if you are a beginner make a text-based game with menus. Then when you get more advanced you can make it command-based.