Whew! Was working on a couple stubborn bugs which gave me new insight into Unity…
Can’t even remember exactly what else I did today.
I think I implemented flipping sprites when they’re headed different directions.
But also implemented Heavy weapons, which means rocket launchers right now. Rockets have to be specially modified so they’re effective against tanks and power armor.
Basically, if a rocket hits tank or power armor, there’s no explosion, but it does massive damage.
Sounds simple, but having it detect if it “hit”, then aborting the standard explosion if it did, but continuing if it didn’t was a bit tough.
Then there was an error with weapon swapping code. I’ll spare you the details, but it came down to the debugger behaving differently if you watched it than if you didn’t.
A lot of progress today though.