GB Studio Padlock System Template
This template and tutorial allows you to be able to make your Player have a Padlock System in GB Studio.
Below are downloadable files that contain the Padlock System Template.
(Made in GB Studio 3.2)
Try the DEMO to have a feel of the system.
Press Start, go to your locker with the shining sprite and PRESS (A). Try inputting different codes to test it out using the directional buttons. The password is 4321. PRESS (A) again to input the 4 digit code. Unlock your locker.
PRESS (B) to exit and have an option to lock your locker once again.
_____________________________________________________________________
Features (and reminders):
- This is a Padlock System Template that allows you to lock anything and everything in your top down RPG game. May it be a locker (just as shown in this template) or a treasure box. It could even be utilized for other things that you can lock, like a nuclear launch button. Sky is the limit with your imagination!
- It has a 4 digit lock code.
- UP/DOWN directional buttons are used to scroll up or down through the numbers of your choice.
- Password is 4321. PRESS (A) to input 4 digit code. (You may change the password inside the events, check the project to see)
- PRESS (B) once you're in the locker to exit and lock the locker once again. It will automatically scramble the 4 digits for you.
- It is an increment/decrement based system - as each actor with respective digits holds a value that increases/decreases whenever you click it. Padlock Digit 1, 2, 3 and 4 all have their own values. That is how you customize your password. You set their respective values.
- In this system Padlock Digit 1 is 4 in value, Padlock Digit 2 is 3 in value, Padlock Digit 3 is 2 in value and Padlock Digit 4 is 1 in value which is why the password is 4321. Once you input the right password it will check if Digit 1 is of value, 2 is of value so on and so forth. If it doesn't match the first digit, it will automatically be wrong already, as well as the other 3 digits.
Limitations:
- This template only has a 4 padlock digit code.
Do as you wish with how this template works, you may tweak it, copy and apply it to different things that you may lock in game. You may even change how the padlock looks, the numbers and everything else just make sure to double check all events and animation frames if you do copy because most of the time they get jumbled up.
If you're having a hard time to make it work. Just copy everything to the dot then work from there :)
--------------------------------------------------------------------------------
*Purchasing this will encourage me to make more systems and even graphical assets!
Thanks for dropping by!
Special Thanks to: Jan Schneider of Murder Mansion Assets for the walls and floors.
Purchase
In order to download this asset pack you must purchase it at or above the minimum price of $2.99 USD. You will get access to the following files:
Comments
Log in with itch.io to leave a comment.
https://paramoyermo.itch.io/paramoyermo-eng
Hey ! I used the safe lock assets on this little puzzle/story rich/rpg/platformer game I made in under a month for a ceramics exhibition!
Thought you'd like to know!!
Amazing systems you make! Have lovely day <3
Wow, checked out your stuff!. I'm so jealous you already have a full blown game! I am currently making my own but super far from anything finished. Thanks for your support. Glad the safe lock assets worked out for you!
Thanks to your safelock system I could program an INGAME Giveaway of my ceramics! SO very thankful for that! Hope your project comes along! WIll definitely check it out! Thanks a lot!