Bowsers Fury inventory system (1.2.0 update)

Share and discuss custom LunaLua code and content packs for SMBX2.
Coldcolor900
Koopa
Koopa
Posts: 17
Joined: Tue Oct 23, 2018 1:15 pm
Pronouns: he/him
Contact:

Bowsers Fury inventory system (1.2.0 update)

Postby Coldcolor900 » 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 Coldcolor900 on Mon Jun 13, 2022 11:57 am, edited 3 times in total.

MegaDood
Torpedo Ted
Torpedo Ted
Posts: 1650
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

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

Re: Bowsers Fury inventory system

Postby Coldcolor900 » 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
Hoopster
Hoopster
Posts: 114
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.

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

Re: Bowsers Fury inventory system

Postby Coldcolor900 » 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.

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

Re: Bowsers Fury inventory system

Postby Coldcolor900 » 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: 702
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.

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

Re: Bowsers Fury inventory system

Postby Coldcolor900 » 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?

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

Re: Bowsers Fury inventory system

Postby Coldcolor900 » 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
Rocky Wrench
Rocky Wrench
Posts: 648
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.

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

Re: Bowsers Fury inventory system

Postby Coldcolor900 » 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?

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

Re: Bowsers Fury inventory system

Postby Coldcolor900 » 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
Dolphin
Dolphin
Posts: 85
Joined: Wed Apr 20, 2022 8:27 am
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.

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

Re: Bowsers Fury inventory system (1.2.0 update)

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

I just added an update that should fix some bugs!


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest