Disaster Duck 2: Bullets and Inventory
Yesterday we had a breakthrough and got the inventory code worked out. This is huge for me as I've never done an inventory system before and while I watched a few videos and took a look at some plugins, the whole system was designed from the ground up. So that means its very messy code, but it works! I also put together a quick placeholder graphic to contain the visuals for the guns and inventory slots.
The way it works (and could change later), is the player will have a Primary gun (RB) and a Secondary gun (LB) and 4 inventory slots in which to store guns they may not want to use now but want to keep for later. While the game is going, the user will press Triangle/Y to open up the inventory, use the DPad to hover over an inventory slot, then Cross/A to interact with it, either pickup a gun, place a gun or swap a gun with the one picked up. This is so that you can keep guns that are powerful against enemies with the right weaknesses, or your big awesome gun you have right now is weak against the current enemies and want to use something else.
We also have most of the gun effects done and we've had some wild combinations that were unexpected but fun to use. We are going to have 25 different bullets, and each bullet can probably be used to make 4 or so different acting guns, so about 100 guns total is our goal. We also implemented the resist/weakness system so that if a gun's color property matches the resist/weakness color of the enemy, then it will appropriately scale the damage and give you a visible color in damage numbers so that you are aware of that.
Below are a few different gun styles using the same red laser bullet, as well as damage numbers when using a color that is strong/weak/neutral against an enemy:
Red laser burst with Purple damage type. Enemy is neutral against purple so damage numbers are normal. You can also see Damage over Time effects being applied to and damaging enemies later.
Red laser machine gun with homing properties and Green color damage type. Enemy is strong against Green color so damage is mitigated, shown with orange text.
Red laser shotgun with Red color damage type. Enemy is weak against Red color so damage is enhanced shown with green text. It's hard to see but there is also a decay effect that slows down the bullet at the defined rate.
Disaster Duck 2
After rescuing the people of Duck City, take the fight to the aliens in this bullet-hell shooter!
Status | In development |
Author | Angler.digital |
Genre | Shooter, Adventure, Role Playing |
Tags | Shoot 'Em Up, Singleplayer, Top down shooter, Twin Stick Shooter |
More posts
- The Duck and the hiatusJan 02, 2024
- Skill Tree and Bosses, finalizing designDec 22, 2023
- Recognize your limitationsDec 20, 2023
- EnvironmentsDec 18, 2023
- Skill Tree UI and BossesDec 15, 2023
- Performance, visuals and skill-treesDec 11, 2023
- Weapon pickups and Info CardsDec 07, 2023
- Development and ScopeDec 01, 2023
Leave a comment
Log in with itch.io to leave a comment.