Just to keep everyone informed on what's been going on lately!
I'm still hard at work on Feud. I've just been switching between tasks. Like, doing animations/porting, coding menu stuff so I can get to a match while loading selected assets (fighters and stages).
But also I've been giving a lot of thought on how to optimize the game even more to get better performance. I've been reading up on Unity docs and elsewhere, and I found out, for example, UI changes and string creation in Update() are very CPU-heavy. So I will be re-structuring that to use On Damaged / Healed events and stuff, and see if I can even do the string changes there, removing Update() altogether to decrease the load on the machine.
I also checked out the cursor on the Stage and Fighter Select screens. I found out I have a lot of GetComponent<>() calls and stuff there, which are also quite expensive. Because it's very important to have the game running smooth like butter as much as possible. At first, I was getting stuff to simply work. Time now to get off my butt and make it efficient, as well.
Which brings me to fighter code. Input for the playable fighters is VERY reliant on Update(), as are other things. I will be moving this stuff to UnityEvents for PlayerInput, and I will completely restructure stuff to do a better job re: button combos (like A+B for smashing, A+Jump for short hop attack, etc.). To make matches run much better, I will completely re-do the input action asset for Fighters and try to make specific entries for combos like Stick->A for Side Smash, etc. Specials and Final Smashes are all unique cases that need better "catch-all" code to make sure the game can do them. I've got lots of ideas, but right now I'm focusing on actually GETTING onto a stage to load fighter objects so I can test this.
For music playback, I'm going to add a little script in scenes that use music (stages, menu, etc.) to be able to load, play, switch and unload on the fly, taking the load off my "GameManager".
I'm not worried, guys. It'll take some time, but I'm gonna figure this out. I know I will.
~KV
2 comments