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

Planet Simulator

  • 4 Devlogs
  • 12 Total hours

A planet simulation in C

Ship #1 Pending review

HELLO!

I made a planet simulation in C. the planets merge when they collide and there are some cool spark effects. I think the GUI looks pretty cool, It has a custom font you could change by swapping the .ttf files.
This project only compiles for linux so if you are on windows you’ll have to do with the demo video ):

  • 3 devlogs
  • 12h
Try project → See source code →
Open comments for this post

3h 8m 9s logged

i think it is done :finally:

the collision system is revamped and now merges the planet with some spark :sparkles_mtnt_rmx: effects.
the Readme is now also complete with a demo video and compilation instructions. :happi:
(i also discovered emogiis lol :lol-vercel: )

0
0
20
Open comments for this post

1h 42m 21s logged

I added a font (8 bit operator) to all the text. But the path is just hard-coded to ../font.ttf so you have to place the font in the correct folder.
I also wrote a little README

0
0
14
Open comments for this post

6h 48m 54s logged

I got the raylib library working and the GUI for planets.
i am pretty proud of the place planet feature where you can drag to give the planet velocity, as you can see in the screenshot.
there is also a list of planets and a planet creaton model.
also you can select a planet and follow it.
you can also move the camera and zoom in/out by scrolling.

i’ll try to log more frequently in the future (:

for the next log i’m going to write the read-me. I also want to improve the planet collisions, cuz now they just bounce of each other or in a spiral of death and accelerate to mach 1 million.

0
0
11

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…