Advertisement

Newbie game part 2

Started by December 10, 2002 01:53 PM
1 comment, last by Betrayer_of_Code 21 years, 11 months ago
In a previous post some one repplied this to me "I used c++ and the theory of classes to make a game with rooms, monsters, items etc. Each room was an instance of a class, and each instance knew which other instances was north, east, south and west of it. The end result? You typed in that you wanted to go north, it called getNorth() and then jumped to the appropriate position in the array which held another instance of a room. It was really quite simple. From there i added other stuff which was just more of the basics, but the important thing is, that i grasped a fairly good concept of how things can interact with each other." I was wondering if someone could write a small thing, using this theory, up so I can understand how he/she did it... OR Help ME make one using the same theory... If you choose the first please e-mail me the code @ Betrayer_of_Code@gdnmail.net or fkor the second post the reply here Thanxkz
BoC HomepageLuck is a Horse to ride like any other...Luckily im not a gambler, I dont know how to ride.
I wasn''t the one that originally posted it, but I''d be willing to help you come up with something similar. Email me at Jackbunny@mchsi.com or reply and we''ll work something out.
"I am Galstaff sorceror of light!""Then how come you had to cast magic missile?"
Advertisement
Thaks man(or women) I sent you an e-mail with the ode for the beggining of the game attached.. Yoiu can touch it up a bit if you need too.
Thanks tons
BoC HomepageLuck is a Horse to ride like any other...Luckily im not a gambler, I dont know how to ride.

This topic is closed to new replies.

Advertisement