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):

  1. 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!
  2. It has a 4 digit lock code.
  3. UP/DOWN directional buttons are used to scroll up or down through the numbers of your choice.
  4. Password is 4321. PRESS (A) to input 4 digit code. (You may change the password inside the events, check the project to see)
  5. 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.
  6. 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.
  7. 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:

  1. 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!

Buy Me a Coffee!

By supporting what I do, it encourages me to do more!

Thanks for dropping by!

Special Thanks to: Jan Schneider of Murder Mansion Assets for the walls and floors.

Purchase

Buy Now$2.99 USD or more

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:

GB Studio Padlock System Template Download (by AA Studio).zip 121 kB

Leave a comment

Log in with itch.io to leave a comment.