Loading
submit to reddit
May 24, 2013, 06:09:14 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome!
 
   Forum Home   Help Search Forum Login Register  
Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: Save and Load Feature  (Read 576 times)
aanthonyz
Newbie
*
Posts: 13


« on: August 07, 2010, 09:19:49 AM »

Well, my friend and I started an text-based RPG, and we later plan on changing it to a 2D game, if possible even 3D.

Well, I got the whole system down and its all organized, but its a long RPG. Ive been wondering is it possible to add a save and load feature to my game? That way everytime they open the program, they can choose to start all over or load from the last save point they were at.

I would post the source code, but there are too many files, and I dont want someone to take it and post it as their own. Do we need to post a source code? If we do, tell me and I will create another simple RPG and post that one
Logged
Michael Hall
Administrator
Hero Member
*****
Posts: 903



« Reply #1 on: August 07, 2010, 01:26:09 PM »

There's no need to post the code. If you use the file IO that we demonstrated in lesson 47, you should be able save any data that you want.

http://xoax.net/comp/cpp/console/Lesson47.php

Mike
Logged
Pages: [1]   Go Up
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!