So day 2 was not quite as awesome as day 1. I’ll do the good stuff first.
THE GOOD STUFF
My priorities for the day were to get weapons systems and items systems set and in place, and for the most part I did. I managed to work out how to do proper raycasting for any variety of bullet-based weapons, so now with just a few changes in the editor I can make a pistol into a shotgun or a machine gun, each with varying levels of accuracy/spread. I also managed to get rockets working, and explosives that do varying levels of damage to objects depending on how near the center of the explosion they are. So all in all, pretty solid. Items I didn’t do yet, but the implementation is super easy with how I’ve got the weapon class done up.
THE BAD STUFF
I discovered when testing the explosions that I had no way to actually make objects react in accordance to the explosion. Enemies would get hit by rockets and just stand there like statues, and that’s no good. To top it off, I realized I wouldn’t be able to implement rocket jumps, and I reaaaaaaaaaally want rocket jumps. So after a fair amount of digging I came to the conclusion that I’ll have to build a new interface for moving all the characters around, both the player and the enemies. And that’s pretty much where I called it a day. I’ve spent the last couple hours trying to implement a basic physics set-up, something I’ve done before pretty easily, but for some reason or another I just couldn’t get it working. I think I’m a little burnt out; getting those rockets and explosions to work was no easy feat, so after that I think I just can’t math anymore today.
So that’s where we’re at at the moment. I livestreamed most all of it again today, so you can watch what you like over on Twitch. I’m hoping with a good night’s sleep and a fresh pair of eyes I’ll be able to get that character movement fixed in the morning, and then I should be damn near finished with the hardcore code. And from then on out it’s level design and visuals/audio. Who knows, if I’m lucky I might have a playable prototype I feel’s worth sharing tomorrow night. Fingers crossed!