Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Brerick

Text Based RPG

This topic is 5634 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Are there any tutorials on how to make a text based RPG? Like what function generates random numbers and that kind of stuff? Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Text Based RPGs are called "Interactive Fiction".

Or

"Text Adventure game".

You can have RPG elements, but basically, its the same idea.
google can help you there

And for random numbers...

what language

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
look up rand(), a function of the standard math lib. the basic idea is you seed the random number generator (usually with the time) and then call rand() to get a random number. you can mod it and do some multiplication to get a number in a specific range. there''s lots of documentation on it, just google

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!