Help Please(different from the one below)
When i run the code for my text based game, you have to move before your see yourself OR the map. I dont nget why, the source is here
http://cppnoob.tipod.com/TextRPGv1.zip
as is the game. If anyone can tell my how i can change the code to make it different it would be greatly appreciated
Homepage
Luck is a Horse to ride like any other...Luckily im not a gambler, I dont know how to ride.
For any total noob out there Here is a like to my tutorials, thry them out
What''s there to be confused about? Your display code is later in the Room() function than the input code, so naturally it will ask the player for input before drawing anything. BTW, you''re using goto to "simulate" loops in almost all of your functions. That''s a really bad habit, and that may even be what confused you about the sequence of your code.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement