Writing Sequential Files

Got a cool idea that should be in R'n'D? Let's hear it!

Moderators: Zomis, Flumminator

Post Reply
User avatar
r'n'd fan!!
Posts: 7
Joined: Sun Jan 19, 2014 4:11 am

Writing Sequential Files

Post by r'n'd fan!! » Fri Apr 18, 2014 3:47 pm

Well, I was thinking about r'n'd the other day, and I thought "Hey, what if I could find a way to save data in my levels!" Then I started to wonder how that would be possible. The only thing I could think of is if you could write to text files and then load from them. :idea: You are able to do that in every other programming language I have used in the past! :) Anyway, if someone could start working on that, it'd save me soooooo much trouble in the future! :D

Anonycat
Posts: 35
Joined: Thu Mar 27, 2008 4:45 am

Re: Writing Sequential Files

Post by Anonycat » Fri Apr 18, 2014 6:20 pm

We do have F1 and F2 keys. What those do is save and load replay data accounting for all the level progress so far, to be picked up when you want to resume trying

User avatar
Holger
Site Admin
Posts: 2981
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Writing Sequential Files

Post by Holger » Sat Apr 19, 2014 1:38 pm

To be honest, I have no idea what exactly you are thinking of. Could you please describe what you have in mind?

Do you mean something like F1/F2 level state loading/saving as Anonycat mentioned?

User avatar
r'n'd fan!!
Posts: 7
Joined: Sun Jan 19, 2014 4:11 am

Re: Writing Sequential Files

Post by r'n'd fan!! » Wed Apr 23, 2014 3:00 pm

No, what I meant was more writing text to text files that the next level can read. Like if you finished the previous level with 10 dynamites, then it could write "10" and then the next level will read "10" and start the player with an inventory of 10 dynamites. Sorry that I wasn't clear before.

Post Reply