Giter VIP home page Giter VIP logo

space's Introduction

Outdated

It has been a while since I took care of this repository. A lot has changed since. If you are looking for a good start with Rust check the links in the section below.

space

This little game startet out as a means to learn Rust. Keeping things simple has proven to be very engaging and productive. Although there might the occasional small commit out of line :smiley face:

A good start → The Rust Programming Language

The game framework in use → ggez

Currently the engine is reworked to use specs as an entity component system for all the things.

setup

developed on linux. on windows you need to place the sdl2 library in the project root. read here for more information.

  • clone this
  • install rust (using rustup is recommended)
  • run cargo run to compile and run the game
  • levels are loaded statically from functions
  • current state is stored in saves/auto-save.tar

and here is what you can do

  • move around with ,, and
  • interact with Return
  • items can be moved with Tab
  • inventory i
  • map m (when equiped with a Navcomp)

what it looks like right now

a screenshot of an early stage in development

Onboard a simple ship. There are storages next to the player character, the main ship console on the front and the exit on the right. The generator powers the circuitry from the back of the ship.

space's People

Contributors

jonakieling avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

space's Issues

n00b running the app for the first time

I've never tried Rust before and your app looked like a good gateway...

It started compiling with all greens until it hit....

   Compiling gfx v0.17.1
error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable
   --> /Users/braflow/.cargo/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.14.4/src/core/cg.rs:292:44
    |
292 |                 self[(j, i)] += shift[j] * self[(D::dim() - 1, i)];
    |                 ---------------------------^^^^-------------------
    |                 |                          |
    |                 |                          immutable borrow occurs here
    |                 mutable borrow occurs here
    |                 mutable borrow later used here

   Compiling gfx_window_sdl v0.8.0
error: aborting due to previous error

For more information about this error, try `rustc --explain E0502`.
error: could not compile `nalgebra`.

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.