Posted October 28, 2024 by harebrained
Man, did I struggle today. I reworked my collision dection system so that I can know from which side the ball hit the block and make it bounce off appropriately. Then I re-wrote the movement system (turns out using high-school math to define the linear equation and moving along that was not the best approach). I also scaled all movement by delta time to be independent of frame rate.
Last issues I am aware of: my launcher is launching several balls per click. Also I currently stop after the first collision is found, but should really handle every collision at each update loop.
I started at least looking for nice game art to turn this into something visually exciting. Really hoping to iron out all kinks in the engine tomorrow and getting on to making things pretty, one of my jam goals. Perhaps should have chosen a game type that I had more experience with...
Hope everybody else is doing great!