⚠️ This has been superceeded by the latest version here.
A 3D space mining game.
You just float around and collect space rocks.
So asteroids have 5 elements:
[orange, top left]
Break (this allows you to collect/break asteroids, without this, you are essentially dead)[green, top right]
Shield (getting too close to asteroids damages your shield, with no shield the damage goes straight to your fuel tank)[purple, bottom left]
Stop (asteroids generally don't move that fast but if you want to stop all the ones near you, this will do just that)[dark, bottom right]
Repel (allows you to push asteroids away from you)[aqua, back of player]
Fuel (allows you to move around, without this, you are essentially dead)
The quantity of each element is represented by coloured cubic segments on the spaceman. You can see roughly what each asteroid has by the colour tints on the asteroid surface, but it's just an indicator, you never know, there could be 'gold' below surface level.
The aim of the game, whatever you want, try and mine every asteroid if you can. Or just see how long you can survive in space.
It can be hard to appreciate how many triangles are rendered in each frame, excluding the astronaut, all of the asteroids make up 1.3 Million (1,310,720) triangles spread across 16,384 draw calls. This is an amicable amount of triangles per frame for most modern computers to render meaning that this game should render at a high framerate across the board.
W
= Thrust ForwardS
= Thrust BackwardLeft Shift
= Thrust DownSpace
= Thrust UpA
= Turn LeftD
= Turn RightLeft Click
= Break AsteroidRight Click
= Repel AsteroidMouse 4 Click
= Stop all Asteroids nearbyMiddle Scroll
= Zoom in/out
F
= FPS to consoleP
= Player stats to consoleN
= New GameQ
= Break AsteroidE
= Stop all nearby AsteroidsR
= Repel nearby AsteroidW
= Thrust ForwardA
= Turn LeftS
= Thrust BackwardD
= Turn RightLeft Shift
= Thrust DownSpace
= Thrust UpESCAPE
= Unfocus/Focus mouse cursor
Left Click
= Break AsteroidRight Click
= Repel AsteroidMouse 4 Click
= Stop all Asteroids nearbyMiddle Scroll
= Zoom in/out
https://mrbid.github.io/spaceminer/
https://snapcraft.io/spaceminer
https://github.com/mrbid/spaceminer/raw/main/Space_Miner-x86_64.AppImage
https://github.com/mrbid/spaceminer/raw/main/spaceminer
https://github.com/mrbid/spaceminer/raw/main/spaceminer_arm
(This version is set to a total of 2048 asteroids, 8x less than the x86 version, and runs between 30-40 FPS on a Raspberry PI 4B+ at a resolution of 1024x768)
https://github.com/mrbid/spaceminer/raw/main/spaceminer.exe
https://github.com/mrbid/spaceminer/raw/main/glfw3.dll