How to implement a level lock system if I have each button separately (button 1 leads to the 1st level, button 2 goes to the 2nd level, etc.) and how do I make them connected so that after passing the last level, the next one opens.
You need a save system atleast basic one to know player progression state. level 1 2 3 , on each level progression increment you can have an event to unlock doors or simply you can ask “is it unlocked?” when player tries open.
However if design wise. You can also make it a little bit fancier after setting your save system.
You can have some keys for player inventory to that unlocks other levels as reward or drop.
When player tries open a door you can check if player has key
Don’t hesitate to ask questions if you get stuck on the way.
I’m sorry, I didn’t expect a quick response, and so I’m in a semi-sleepy state right now, I’m sorry, I’ll only be able to respond tomorrow, I apologize for my oversight
Hello, I managed to create a save and load, but could you tell me how to change the color (material) of the object if the level was completed?
Thank you, I’ll take care of it now
Thank you, I completed everything I wanted
How do I respond to your comment?(so that your comment is considered as an answer)