I have a game with multiple levels using director class and I need to lock all the levels until the previous level has been completed. I think I need to:
-
create a data file that holds each level and states if it is locked or unlocked.
-
if the prior level is completed, it needs to change the next level to unlocked.
Can someone share a link with me or let me know how to accomplish this? I don’t know how to setup data files and reference/edit them. [import]uid: 32061 topic_id: 6567 reply_id: 306567[/import]