Planets (SIM)

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
SirRanjid
Prole
Posts: 39
Joined: Sun Nov 19, 2017 1:44 pm
Contact:

Planets (SIM)

Post by SirRanjid »

Image

Here's a small planet sim that's quite interactive. At first it was planned to be a doodle but it kept growing.

Code: Select all

Controls:
[LM] = LEFt Mouse Button
[RM] = RIGHT Mouse Button
[MM] = MIDDLE Mouse Button
[MWU]= Mouse Wheel UP
[MWD]= Mouse Wheel DOWN

[SH] = (L/R)Shift
[CT] = (L/R)Control (CTRL)
[SP] = Space

//--//--//--//--//--\\
\\C_\\T_\\R_\\L_\\:_//

Hold and drag [LM] to create planet. (+[CT] to create frozen)
Hold and drag [LM] on planet to drag. (+[SH] to drive planet or set speed when paused)
When dragging a planet you can (un-)freeze with +[RM].

Hold and drag [RM] on a planet to create orbiter. (+[SH] to invert initial speed)

Hold [MM] to remove all planets.

[MWU]/[MWD] to in-/decrease weight.
[MWU]/[MWD] + [SH] to in-/decrease travel-time/speed.
[MWU]/[MWD] + [CT] to in-/decrease radius.

[SP] to un-/pause.
[TAB] to toggle info.

Creating an orbiting planet:
Image

Plan crashes when paused:
Image

Driving a planet ([LM] + [SH]):
Image

Dragging and freezing:
Image
Attachments
planets.love
(6.91 KiB) Downloaded 182 times
User avatar
Hydrogen Maniac
Citizen
Posts: 79
Joined: Sat Dec 19, 2015 9:59 pm

Re: Planets (SIM)

Post by Hydrogen Maniac »

This is pretty neat, sorta relaxing and pretty fun at the same time. The only thing that's really 'missing' is the ability for planets to damage eachother when they collide. Aside from that I wish it didn't start in fullscreen and I'm not sure if there's a proper way to close it aside from pressing alt-f4. Anyways great job overall :awesome: .
I'm way too sober for this...
User avatar
SirRanjid
Prole
Posts: 39
Joined: Sun Nov 19, 2017 1:44 pm
Contact:

Re: Planets (SIM)

Post by SirRanjid »

Thanks :) I also thought about them damaging each other but just went with a particle/shader effect.
Actually I still wanna make them crack and fracture. But I can't edit the circle shapes and I'm not sure about using polygons(performance and looks wise).
Yeah disabling fullscreen is just as DIY(in the conf.lua).
Post Reply

Who is online

Users browsing this forum: No registered users and 36 guests