GB Studio Equip System Template (x5 Item Slots)
This template and tutorial allows you to be able to have a 5 slot Equip Menu UI System below of your screen in GB Studio.
Below are downloadable files that contain the Equip System Template.
(Made in GB Studio 3.1)
Try the DEMO to have a feel of the system.
Press Start, walk around and press B (controller) or x (keyboard) to make the Equip Menu UI pop up. Press B/X again to close menu. Once menu is open you may move left and right to select which item/weapon/tool you want to use.
_____________________________________________________________________
WARNING: THE NUMBER OF EVENTS IN THIS SYSTEM ARE A LOT. IT TOOK ME A LONG TIME TO MAKE IT WORK SMOOTHLY. ESPECIALLY SWITCHING ANIMATION SPRITE SHEETS AND ANIMATION STATES FOR THE FIRST TWO ITEM SLOTS WHICH I MADE INTO A SWORD AND PICK-AXE EXAMPLE. PURCHASE AT YOUR OWN RISK AND IF YOU ARE UP FOR THE CHALLENGE.
_____________________________________________________________________
Features (and reminders):
- This template provides a 5 slot weapon/tool/item Equip Menu UI at the bottom of your screen.
- All scripts/events are within the Cursor Actor of this system located in the OnUpdate section
- I only provided a sample weapon and tool for the first 2 slots of this system so you can get a feel of it and see in the events how I created them.
- You may recreate your own equip menu look and just apply the sprite settings I have so you'll have your very own customized Equip Menu UI.
- Slots 3,4 &5 all have scripts in them inside the cursor actor (on update). All you need to do is create animation sprite sheets respectively and apply it to those item slots. (Study Cursor actor On Update script to see what I mean)
- The scripts and formulas are readily made so you don't have to worry about that anymore. If you're a beginner and still learning. I suggest for you to tinker with the project and understand how everything works.
Limitations:
- This Equip system is limited to only 5 slots because of space limitations and the cursor placement (it would be difficult to make a cursor actor overlap some other boxes)
- I created 2 different animation sprite sheets of the actor holding a sword and holding a pick-axe so you may copy them to apply them to this system for the 3 other item slots.
Do as you wish with how this template works, you may tweak it, copy and apply it to different kinds of projects or even place it in a different position, it may work on right side or even the top part of the screen if you like. You'll just have to tweak a lot of stuff in positioning.
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: PixelPete of Gurb's Adventure (for the scene assets)
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.
Is there a way you could modify this to allow so after you select an item, that the arrow would automatically recognize other actors on screen?
I'm trying to implement a magic system similar to Secret of Mana or Secret of Evermore where the screen pauses, the player selects the spell, and then ties the spell to an animation (launch projectile setting can take care of the last part) which impacts the actor.
I bought your assets pack and Vol 1 and 2 bundles. I've been enjoying them a lot but was hoping for assistance with the request above if possible.
Hello! Thank you so much for your support! I am so glad you found my GB Studio System bundles and that you are enjoying them.
As for your request. I am trying to fully grasp the idea. Correct me if I'm wrong.
You want this Equip System to act as a UI for selecting magic spells? And when you select the spells the background will pause? including actors? Is that right? I'm quite confused.
I'm sorry, I should have been more clear.
I want to modify the Equip System to act as a UI for selecting magic spells. Just like the Equipment System, pauses the game when selecting the items, I want it to do the same but replace them with magic spells. Once the spell is selected, I'd like the selection arrow to rotate between actors currently present on the screen (to be able to select which actors are impacted by which spell). Below is a YouTube video of Secret of Mana as a reference. Its an SNES game so I'm not expecting it to be as polished but just something to get started with.
https://www.youtube.com/watch?v=yHI60cvA8JY
OH!!! YES I get it now. Wow. Thank you for this. I totally didnt think of that kind of system. I might just make a new one because that would require a whole lot of tweaking. Might as well start from scratch. My only concern is if you will be able to wait because I am currently in the middle of moving to a new home and we are not yet finished which is why I haven't made a system in a very long time. I'll get back to you on this. It might be included in my GB Studio vol. 3 bundle next time!
Thank you for your consideration. I can wait as I'm learning now, Game Development takes an extremely long time. Good luck with your move and I look forward to the project when you have time to work on it.