Spacejunk Screenshot A game about how to pilot a ship in 2D planetary systems.

Spacejunk is a computer game about travelling in 2D planetary systems. The player must collect drifting garbage by navigating through the gravitational fields of planets and stars. A rough editor for planetary systems is provided too.

License: free
Requirements: SDL

Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
yesyesnonononoyes
Suggest an update

Comments

Ooh, lovely idea. I have to try it when I am back home.
Great game, very polished. Only thing I find awkward are the stages where you orbit a planet. If the ship faces the planet and you activate thrusters the path of the ship doesn't change.
Re: Spacejunk posted by facundo on Sep 15 2010 12:47 AM
Facing the planet is not usually the most efficient way to burn fuel. Indeed I find the behavior quite congruent. When in orbit, the speed is tangential, so radial acceleration contributes less to change it.

I'd love to see the issue better explained, I'm just a programmer plugging equations. A physician would be more helpful here, I guess :)

at first sight the thrusting of the shuttle is not very dynamic but , don't close the game, this is a very good game. the gameplay centers around the trajectories, if you are careful you will notice that it can predict future collisions or even the end of your own shuttle , and the trajectories from point of view of moving objects ... this is a real marvel of physics, great work !!! I must say , it really impresses me. I don't know how you figgured out those equations but they look pretty realistic IMHO
Re: very good game posted by facundo on Sep 15 2010 12:59 AM
Well, the equations are just the Newton laws. The tricky part is finding (a good enough approximation of) the ship path from them.

Books on numerical methods for solving differential equations are around, which explain in detail the mechanism used in the game. It is certainly not a lecture for the faint-hearted, but it's understandable with a moderate knowledge of math (derivatives and integrals), basic physics (newton laws) and very basic programming skills.

just took a look in the source code, the author uses Runge Kutta to solve numerically some differential equation system. this is truly a jewel , good work author
Lovely. I only wish for a pause button, to have more time rethink your trajectories.
Re: Spacejunk posted by Draconishinobi on Feb 16 2010 12:44 PM
But, there is a pause button.
As for the game, it's pretty good, takes some time to understand things tho.
I love the trajectories from the point of view of other moving objects. The pace is pretty slow; this is definitely a thinking man's game. But the programming is very impressive!

Log in or register to rate this game or post a comment.