|
Post by GH Games on Dec 17, 2016 20:04:13 GMT
Sup. The title has the question pretty much. I want to make something like this (I just typed game levels in Google Images ( source)) How do I make it so once the player completes Level 1 they unlock Level 2 and then have the game save what levels they've completed so they can pick up where they left off. It also needs to be so the player can select a specific level (like in the image). Thank you!
|
|
|
Post by Red Moon Entertainment on Dec 17, 2016 20:14:21 GMT
I think it would be a bit difficult. It would need much scripting. I think you'll need a file (a .txt file I suppose) where to write informations when you unlock a level and to read when the games loads and has to know which are the unlocked levels. Don't know if I'm right and I don't know much about scripting, but I think I'm near to the thruth.
Hoping that I'm helping you.
|
|
|
Post by NicusorN5 on Dec 18, 2016 18:11:13 GMT
Nah... you can use the Counter's I/O feature to save the files as .bin then use some EventOnValue objects...
|
|
|
Post by GH Games on Dec 18, 2016 20:25:36 GMT
Please please please elaborate
|
|
|
Post by indiedev on Dec 19, 2016 5:06:41 GMT
the counter help file explains it: 'Cross-project file' - seems much easier then the ifileread/write scripting usually suggested.
|
|
|
Post by GH Games on Dec 19, 2016 10:11:05 GMT
I will have a play around with it and see how it goes. Thanks everyone
|
|
|
Post by GH Games on Dec 19, 2016 10:47:22 GMT
I got it to work in the time it's been since my last post haha. Thanks everyone!
|
|