Satchel // Open-source modern backpack system

I plan to fix all the warnings at some point but it’s a bit difficult now since warnings from Roblox intellisense don’t show on Visual Studio Code.

Additionally fixing the errors requires a lot of refactoring with few benefits other than a clean error list.

1 Like

Great backpack system, started recently using this in one of my projects, I highly recommend it for anyone who stumps along this! :+1:

I love this alternative backpack system for roblox but I wanted to ask a question considering I don’t do much scripting is changing the position of the slots below the screen.

I didn’t see any configuration for changing its position in the attributes and it was difficult to find it in the main script.

1 Like

You can change the contents of BackpackGui on runtime if you would like to change the position.

image

Additionally, you can change HotbarFrame’s position in the code on line 1460 by adding the below code right under:

MainFrame.Position = UDim2.new(0, 0, 0, 0) -- Change this to your desired position.

Major Issue: Controller Bumper Buttons Not Selecting Tools

Hey, we are currently aware of a current issue relating to not being able to select tools on a controller using the bumper buttons. A temporary fix is now available in the 6-bug-controller-bumper-buttons-not-selecting-tools branch for Satchel.

Issue Tracking

Branch with Temporary Fix

Estimated time for a permanent solution is within about a week with the release of 1.1.0. If there are any issues or problems message me or create an issue on the GitHub.

Satchel internally uses .Draggable when looking through the code

@WinnersTakesAll I do recommend using this module instead of using an deprecated property called Draggable

I also have made a question that if I should remove the Icon module if there is already in the game

While Satchel does use the deprecated .Draggable internally, just like type safety, changing the dragging behavior to another which isn’t deprecated that high in our priority list. The current dragging system is fine now and poses no problems, rewriting or adding code to Satchel can add potentially add more bugs with little benefits.

If any issues with using the deprecated property do arise, I will definitely look to rewrite how dragging works.

With the current version of Satchel, you can’t remove the Icon module or Satchel will break. I just fixed this issue with Use Icon in ReplicatedStorage if possible so look forward to 1.1.0. Basically, what it does is if it detects Icon in ReplicatedStorage, it will use that instead and destory it’s Icon child.

Additionally, if you don’t want to wait for 1.1.0 you can just use the main branch of Satchel.

1 Like

Have you tried dragging things with the old backpack?



My framerate is quite high so it’s hard to reproduce it, but it’s a constant nagging on slower games.

3 Likes

can there be a animation to the backpack gui?

I agree, I play a game quite a bit where I have to rearrange my backpack on spawn, its very frustrating the way that property works. It drags slightly then stops, before teleporting to a random place after letting go of your mouse.

@WinnersTakesAll

I recommend creating a proper documentation site with moonwave, it will improve usage and most likely minimize client issues.

2 Likes

But the Draggable property used to actually function back in the day GUI was considered a recent technology for Roblox.

I guess it makes sense that they deprecated it.

1 Like

I’ve investigated the issue and found it is indeed related to the .Draggable property. Thanks for giving me information for an issue with using the deprecated property to me.

I will try my best to resolve this issue in, hopefully, the next release of Satchel.

2 Likes

Can you specify the “animation” you are talking about? I don’t know what you are specifically asking for.

Having documentation is something I will never rule out but as it stands now, the work needed to make documentation is very high compared to just listing them in the initial post.

I tried having documentation for my past projects but analytics showed that less than ~3% of users (who purchased the model on Creator Marketplace) actually visit and read the documentation. This accounts to less than 10 unique visitors for documentation considering how it takes hours to write and create the documentation when it can be spent on improving the module.

Hey, is there anyway i can make the hotbar button always visible?

What do you mean by make the hotbar button always visible?

Under normal gameplay the hotbar is usually always visible. The TopBar button to toggle the inventory is only hidden when in the Roblox Menu like with other CoreGui but again you can’t click the button while in the Roblox Menu so it makes sense to hid the unclickable button.

Having documentation actually drives more people to use your package. I noticed that after documenting every API and writing a tutorial on each subject gave my framework more impressions, people also asked for help less and less as I added more.

2 Likes

Hey, I really love this but is there any way to make it save tool slots on death? This would be really useful for a shooter game.

When your character dies or resets in Satchel, all your backpack items are kept and the positions in the hotbar remain the same. This is the same behavior for the default backpack.

What he meant was if you reposition tools in your backpack can the slots they are in be saved and restored when you respawn?

This game pulled it off somehow, as seen in this clip:

External Media