1
1
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
alistair 0fbd18d144 http submodules 4 years ago
c-colours@e2078d7050 colours repo 4 years ago
datastructures@4fcbd1c152 datastructures 4 years ago
.gitignore Update '.gitignore' 4 years ago
.gitmodules http submodules 4 years ago
Makefile build instructions 4 years ago
README.md build instructions 4 years ago
basic-lib.c minor 4 years ago
controlscheme.c Add string winch 4 years ago
controlscheme.h mega bugfix 4 years ago
debuginfo.h Collision detection works between polys, added force and collision box debug indicators 5 years ago
draw.c windows port 4 years ago
draw.h windows port 4 years ago
environment.c mouse logic, longer levels, close ends of level 4 years ago
environment.h mega bugfix 4 years ago
game.c windows port 4 years ago
game.h mega bugfix 4 years ago
garbo.c fixed linking problem 4 years ago
garbo.h mega bugfix 4 years ago
logger.c Add ceiling 4 years ago
logger.h more modularisation 5 years ago
main.c windows port 4 years ago
physics.c Applying forces is more solid, so gravity works now, and motors respect max-velocity, and there is support for variable motor output functions. However calculating the velocity of an object does not respect direction, so forces cannot be applied if the object is moving too fast either towards or away. 5 years ago
physics.h Applying forces is more solid, so gravity works now, and motors respect max-velocity, and there is support for variable motor output functions. However calculating the velocity of an object does not respect direction, so forces cannot be applied if the object is moving too fast either towards or away. 5 years ago
setup.sh windows port 4 years ago
types.h mouse logic, longer levels, close ends of level 4 years ago
vect.c started worldgen v2 4 years ago
vect.h mega bugfix 4 years ago

README.md

A computer game

Developemnt Blog

image

Prebuilt Binary

See the releases tab.

On linux, you will need to install the SDL2 package from your package maintainer.

Fedora

sudo dnf install SDL2

Build Instructions

On Linux

Install the libSDL2 runtime and SDL2 development packages from your package distributor. On Fedora, this is the SDL2 and SDL2-devel packages.

git clone --recurse-submodules https://git.topost.net/alistair/space_game.git

For Linux

make clean
make target=linux

For Windows

You have to have mingw and the mingw libsdl library (I think).

Run setup.sh to download the SDL2 static libraries and SDL2.dll.

./setup.sh
make clean
make target=windows

With debug flags

Append debug=true to the make command.