Update with some behind the scenes stuff


Been a bit since the last upload but there's been some nice progress and a lot of learning. Below you see gifs and pictures and a bit of text explaining each picture.


Weapon Swap


Quick gif showing the weapon swapping happening as quickly as I can hit the buttons.

Weapon Debugger

The green arrow is a new part of the debug menu I made to help see things within the game in real time instead of having to constantly use the editor. It's able to be enabled independently of the debuggers camera. The blue arrow is showing elements that will be part of the UI, so things like a visual indicator for when your done reloading instead of guessing by relying on animation.


Debugger Camera

Here's the Debugging camera that was originally posted on my twitter. 

Updated Swap Code

A look behind the curtain at the weapon swapping code. Managed to condense a good bit by cutting out ALOT of variables, signals, and connections and instead using one variable  and signal within the weapon swap code which is weapon_change and weapon_swap. Looking at it now I'm pretty sure I can get away without using the "And weapon_change != 1" but that's probably something to worry about if I choose to allow the player to have access to all the weapons at once. Current set up is pretty much just for debugging purposes but can be altered for actual player use fairly easily.

Old Swap Code


Weapon Change function

This code resides in the UI script and is a singleton that pretty much handles all of the alterable variables like the hand cannon's different states (Weapon Types), players stats like health or stamina, and even upgrades like jump up power ups or something along those lines.


And that's really it for this update. I also make smaller updates on my twitter (twitter.com/Chio_Butterfly). Feel free to leave comments as well. I'm always looking for feedback.

Leave a comment

Log in with itch.io to leave a comment.