Open comments for this post
Sorry I haven’t posted in awhile, but I got a BIGGIE UPDATEEEEEEEEE
I added the ability to move around the world and zoom in and out of the play area. No more do you have to witness your beautiful 2 body system go off screen into oblivion! Now, you can follow it to the ends of the universe!!!!!!
After this, I plan to clean up the code a bit and change the controls since now the scroll wheel is mixed up with the zooming. I plan to keep adding things to the game until its fun
Open comments for this post
BIGGE UPDATE ALERT
I added a bunch of buttons on screen that can now be used to place and delete bodies. I also made a bunch of underlying changes so I could do this!
The next thing to add is wasd controls for a player that can move around and follow bodies as they follow their trajectories. After that I may or may not add a rocket to the game. who knows!
Open comments for this post
I fixed a few bugs including one where the masses were added twice in collisions. I also tweaked the colors and added a mass counter so that the user
can see the exact mass before placing a body.
After doing this, I plan to fix any more bugs and clean up the code. Then I will implement a camera that can follow the bodies and a small ship the player can spawn. After that I (might!) be good night for this project
Open comments for this post
I finally figured out Github (yayayay!!!) and now my workflow is (hopefully) gud. I also added the proper formula for momentum when a body gets hit. Will need to clean up the code though.
Open comments for this post
I changed the color of the planets (cyan is kinda getting tired) and I made it so that the planets can gobble each other up
Open comments for this post
I added user inputs and the ability to shoot your bodies and set their sizes
Open comments for this post
I’m working on a N-body sim