Bowsers Fury inventory system (1.2.0 update)

Share and discuss custom LunaLua code and content packs for SMBX2.

Moderator: Userbase Moderators

Coldcolor
Koopa
Koopa
Posts: 18
Joined: Tue Oct 23, 2018 1:15 pm
Pronouns: he/him
Contact:

Bowsers Fury inventory system (1.2.0 update)

Postby Coldcolor » Thu Jan 13, 2022 1:45 am

hi, this is my first post on this forum, so please let me know if i did anything wrong.

Image

I would like to present to you something that took me about a week to make:
Bowser's Fury inventory system

you have a limit of 10 mushrooms and 5 of every other powerup (you can change this in inventory.lua)
when you collect a powerup you already have, it will go into your inventory.
when you collect a new powerup, your old one will go into your inventory.
press the drop item button to open and close the inventory
press the jump button to select a powerup

and that's basically it.

screenshots
Spoiler: show
showcase of the system being used
Image


note: i changed the cape feather to the super leaf before release, just want to reduce confusion
smol (closed) inventory
Image

open inventory
Image
changelog
Spoiler: show
1.2.0
- actually made it compatible with littledialogue, as well as any library involving isPausedByLua(). it will no longer break when you press the item drop button while the game is paused.
- fixed powerups going into your inventory when they "die" in any method other than collecting it

1.1.0
- made it so when you change the minimum amount of a powerup to 1 or higher, you can use that powerup infinitely.
- fixed the leaf icon when you dont have any leaves
- fixed the numbers centering when you have 10 or more of a powerup
- included a test level so you can try it out
downloads
Spoiler: show
Last edited by Coldcolor on Mon Jun 13, 2022 11:57 am, edited 3 times in total.

MegaDood
Charged Spiny
Charged Spiny
Posts: 1830
Joined: Wed Nov 01, 2017 2:43 am

Re: Bowsers Fury inventory system

Postby MegaDood » Thu Jan 13, 2022 8:48 pm

Looks really cool, but it says I need to request access in order to download it.
Image

Coldcolor
Koopa
Koopa
Posts: 18
Joined: Tue Oct 23, 2018 1:15 pm
Pronouns: he/him
Contact:

Re: Bowsers Fury inventory system

Postby Coldcolor » Thu Jan 13, 2022 8:49 pm

MegaDood wrote: Looks really cool, but it says I need to request access in order to download it.
Image
just fixed it, sorry bout that lol

Alucard648
Flurry
Flurry
Posts: 179
Joined: Sun Aug 16, 2015 3:45 am

Re: Bowsers Fury inventory system

Postby Alucard648 » Thu Jan 13, 2022 10:51 pm

Will it be possible to add items that modify inventory limit on the fly, like mushroom containers etc? So player will start with, maybe 1 slot for mushrooms and can find items to expand inventory.

Coldcolor
Koopa
Koopa
Posts: 18
Joined: Tue Oct 23, 2018 1:15 pm
Pronouns: he/him
Contact:

Re: Bowsers Fury inventory system

Postby Coldcolor » Fri Jan 14, 2022 4:08 pm

Alucard648 wrote:
Thu Jan 13, 2022 10:51 pm
Will it be possible to add items that modify inventory limit on the fly, like mushroom containers etc? So player will start with, maybe 1 slot for mushrooms and can find items to expand inventory.
I haven't tested it, but that should be possible.

Coldcolor
Koopa
Koopa
Posts: 18
Joined: Tue Oct 23, 2018 1:15 pm
Pronouns: he/him
Contact:

Re: Bowsers Fury inventory system

Postby Coldcolor » Fri Jan 14, 2022 4:57 pm

i made an update fixing things that i thought were already ok

i hope everyone enjoys :)

TheGameyFireBro105
Eerie
Eerie
Posts: 747
Joined: Thu Jan 09, 2020 6:09 pm
Flair: Good at remakes
Pronouns: he/him

Re: Bowsers Fury inventory system

Postby TheGameyFireBro105 » Sat Jan 15, 2022 10:37 pm

love that profile pic.

Coldcolor
Koopa
Koopa
Posts: 18
Joined: Tue Oct 23, 2018 1:15 pm
Pronouns: he/him
Contact:

Re: Bowsers Fury inventory system

Postby Coldcolor » Sat Jan 15, 2022 10:38 pm

TheGameyFireBro105 wrote:
Sat Jan 15, 2022 10:37 pm
love that profile pic.
why thank you good sir

Abashi76
Spiny
Spiny
Posts: 28
Joined: Sun Jan 23, 2022 2:49 pm
Pronouns: they/them
Contact:

Re: Bowsers Fury inventory system

Postby Abashi76 » Tue Jan 25, 2022 8:00 pm

Can this inventory be used for other characters besides Mario/Luigi?

Coldcolor
Koopa
Koopa
Posts: 18
Joined: Tue Oct 23, 2018 1:15 pm
Pronouns: he/him
Contact:

Re: Bowsers Fury inventory system

Postby Coldcolor » Tue Jan 25, 2022 8:50 pm

Abashi76 wrote:
Tue Jan 25, 2022 8:00 pm
Can this inventory be used for other characters besides Mario/Luigi?
yes it can!

FutureNyanCat
Eerie
Eerie
Posts: 793
Joined: Fri Dec 20, 2013 8:39 pm
Flair: Species: Felis robotus
Pronouns: He/Him
Contact:

Re: Bowsers Fury inventory system

Postby FutureNyanCat » Tue Jan 25, 2022 9:03 pm

This is pretty incredible work dude. I can see it being used for "Metroidvania"/exploration-based episodes, making open-world levels less of a hassle to explore.

Coldcolor
Koopa
Koopa
Posts: 18
Joined: Tue Oct 23, 2018 1:15 pm
Pronouns: he/him
Contact:

Re: Bowsers Fury inventory system

Postby Coldcolor » Tue Jan 25, 2022 9:10 pm

FutureNyanCat2014 wrote:
Tue Jan 25, 2022 9:03 pm
This is pretty incredible work dude. I can see it being used for "Metroidvania"/exploration-based episodes, making open-world levels less of a hassle to explore.
thanks! i did make it with metroidvanias in mind. I made it for an episode that im working on, which will be a metroidvania.

jessespy
Shy Guy
Shy Guy
Posts: 8
Joined: Tue Mar 28, 2017 7:12 am

Re: Bowsers Fury inventory system

Postby jessespy » Fri Mar 25, 2022 1:20 am

could you make it work with base hud cause it hides the hud?

Coldcolor
Koopa
Koopa
Posts: 18
Joined: Tue Oct 23, 2018 1:15 pm
Pronouns: he/him
Contact:

Re: Bowsers Fury inventory system

Postby Coldcolor » Fri Jun 03, 2022 7:56 pm

jessespy wrote:
Fri Mar 25, 2022 1:20 am
could you make it work with base hud cause it hides the hud?
if you go into inventory.lua, just scroll down to line 92 and delete "Graphics.activateHud()". the hud should reappear, but the item reserve box wont do anything.

just in case you arent using any IDEs or you cant see the line number, you can do ctrl+f to search for it.

Ibaka
Blooper
Blooper
Posts: 158
Joined: Wed Apr 20, 2022 8:27 am
Flair: Nothing
Pronouns: he/him

Re: Bowsers Fury inventory system

Postby Ibaka » Mon Jun 06, 2022 2:42 pm

Coldcolor900 wrote:
Fri Jun 03, 2022 7:56 pm
jessespy wrote:
Fri Mar 25, 2022 1:20 am
could you make it work with base hud cause it hides the hud?
if you go into inventory.lua, just scroll down to line 92 and delete "Graphics.activateHud()". the hud should reappear, but the item reserve box wont do anything.

just in case you arent using any IDEs or you cant see the line number, you can do ctrl+f to search for it.
I tried that and got a debug screen so I just did "Graphics.activateHud = true" and it worked.

Coldcolor
Koopa
Koopa
Posts: 18
Joined: Tue Oct 23, 2018 1:15 pm
Pronouns: he/him
Contact:

Re: Bowsers Fury inventory system (1.2.0 update)

Postby Coldcolor » Mon Jun 13, 2022 12:01 pm

I just added an update that should fix some bugs!

timocomsmbx2345
Foo
Foo
Posts: 853
Joined: Sat Feb 06, 2016 1:44 pm
Contact:

Re: Bowsers Fury inventory system (1.2.0 update)

Postby timocomsmbx2345 » Mon May 12, 2025 2:23 pm

this seems to not work on beta 5

mariobrigade2018
Rocky Wrench
Rocky Wrench
Posts: 659
Joined: Wed May 24, 2023 7:00 pm
Flair: OK in coding who dreams of making a Mario game
Pronouns: he/him

Re: Bowsers Fury inventory system (1.2.0 update)

Postby mariobrigade2018 » Tue May 13, 2025 2:16 pm

timocomsmbx2345 wrote:
Mon May 12, 2025 2:23 pm
this seems to not work on beta 5
This is outdated. Use simpleinventory.lua instead.


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 2 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari