Skip to content

spiritofsim/go-space-crane

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Crane game

GitHub go.mod Go version GitHub Workflow Status codecov Go Report Card

Controls

  • Arrows - control ship engines
  • Q/A - wind/unwind crane chain
  • Tab - capture cargo

Screenshots

img_1.png

Features

Levels

  • Levels are simple svg's you can draw in any SVG editor img_1.png

Ships

Ship consists of parts and described in simple yaml

Parts

  • Cabin [cab]
  • Engine [eng]
  • Crane [crn]
  • Tank [tnk]
  • Leg [leg]
  • LegFastening [lft]

Example

  - -
    - cab dir=U
    -
  - - tnk
    - crn dir=D
    - tnk
  - - eng dir=D;pow=150;keys=30,31
    -
    - eng dir=D;pow=150;keys=29,31

Tasks

There are 2 task types:

  • [v] - visit platform task
  • [d] - transfer cargo to platform

Example

tasks:
  - "d:1->p1"
  - "d:1->p2"
  - "v:p1"

Libs

  • Box2D : physics engine
  • Ebiten : drawings, controls, etc.

About

Simple moonlander like game with some new mechanics

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages