You are browsing as a guest. Sign up (or log in) to start making projects!

N-body sim

  • 7 Devlogs
  • 13 Total hours

Simulates gravitational bodies pulling on each other. I'm going to implement a few more features to make it more of a "game" before moving on to a more anticipated project of mine.

Open comments for this post

4h 37m 24s logged

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

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

Replying to @indcader

0
2
Open comments for this post

2h 13m 46s logged

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!

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!

Replying to @indcader

0
6
Open comments for this post

2h 7m 19s logged

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

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

Replying to @indcader

0
5
Open comments for this post

46m 30s logged

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.

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.

Replying to @indcader

0
5
Open comments for this post

41m 25s logged

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

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

Replying to @indcader

0
8
Open comments for this post

1h 1m 39s logged

I added user inputs and the ability to shoot your bodies and set their sizes

I added user inputs and the ability to shoot your bodies and set their sizes

Replying to @indcader

0
8

Followers

Loading…