Devlog 2
Hello people, after having already restarted once, I’ve finally made some progress. Right now I’m going back and forth a lot as I’m learning new things while coding.
One example of this is the way I was storing position data. Initially, I was just storing x and y variables, but I later found out that Pygame has a vector class built in (pygame.Vector2()) that makes storing values such as position, velocity, and acceleration much easier. But of course, I only found this out after I had spent an hour using the first method. Even still, it wasn’t too much of a pain to overhaul, as the code didn’t change much structurally.
Aside from that, I’ve spent much of the 4 hours I coded today working on the page where the user builds their rocket. So far, I was able to make an inventory, stats, and drag n drop feature. I also became overly obsessed with the idea of the parts snapping together and spent 2 hours repeatedly failing to implement that before eventually getting there.
My next steps are finishing up the physics system that I started today and making the drag n drop system smarter so that you can’t just connect random parts together.
PS. Graphics overhaul is coming I just hate that part, so I’m leaving it to the end. dw, it’s not gonna be ugly forever.