Git Product home page Git Product logo

spaceminer's Introduction

spaceminer

A 3D space mining game.

Screenshot of the Space Miner game

This has been superceeded by the latest version at: https://github.com/mrbid/NotABug-Mirror/tree/main/SpaceMiner

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.

General Controls

  • W = Thrust Forward
  • S = Thrust Backward
  • Left Shift = Thrust Down
  • Space = Thrust Up
  • A = Turn Left
  • D = Turn Right
  • Left Click = Break Asteroid
  • Right Click = Repel Asteroid
  • Mouse 4 Click = Stop all Asteroids nearby
  • Middle Scroll = Zoom in/out

Keyboard

  • F = FPS to console
  • P = Player stats to console
  • N = New Game
  • Q = Break Asteroid
  • E = Stop all nearby Asteroids
  • R = Repel nearby Asteroid
  • W = Thrust Forward
  • A = Turn Left
  • S = Thrust Backward
  • D = Turn Right
  • Left Shift = Thrust Down
  • Space = Thrust Up
  • ESCAPE = Unfocus/Focus mouse cursor

Mouse

  • Left Click = Break Asteroid
  • Right Click = Repel Asteroid
  • Mouse 4 Click = Stop all Asteroids nearby
  • Middle Scroll = Zoom in/out

Downloads

Web

https://mrbid.github.io/spaceminer/

Snapcraft

https://snapcraft.io/spaceminer

AppImage

https://github.com/mrbid/spaceminer/raw/main/Space_Miner-x86_64.AppImage

[x86_64] Linux Binary (Ubuntu 21.10)

https://github.com/mrbid/spaceminer/raw/main/spaceminer

[ARM64] Linux Binary (Raspbian 10)

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)

Windows Binary

https://github.com/mrbid/spaceminer/raw/main/spaceminer.exe
https://github.com/mrbid/spaceminer/raw/main/glfw3.dll

Attributions

http://www.forrestwalter.com/icons/

spaceminer's People

Contributors

mrbid avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

monocros

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.