Skip to content

tek256/astera

Repository files navigation

astera
a cross platform game library
Made by Devon with love.

Setup

About

Astera is a 2D game library written in C99 focused on portability.

Features

- Deferred & Forward Rendering
- Collision Detection + Resolution
- 3D Audio + basic Audio Effects & Filters
- Asset Management
- UI System
- Input System

Target Platforms

Here are the target platforms for this library:

- Windows
- Linux
- Mac OSX 
- BSD

NOTE: I'm always open to adding more target platforms!

Building

Astera and it's dependencies are built using CMake. You can run your own CMake command or try using one of the automated build scripts (they're located in the tools/ folder).

Usage build_unix.sh && build_win.bat [-hrcxqq]
-h  Show this info
-r  Build release (optimizations, -O2)
-c  Build clean (remove previous build generated by this script)
-x  Don't build examples
-q  Quiet output
-qq Silence all output
Windows Only:
-m  Force use MinGW (gcc/g++)
-l  Force use LLVM (clang/clang++)

Example script usage (generate a release candidate):

./build_unix.sh -r

Example CMake usage:

cmake -Bbuild -S. 
cmake --build build

NOTE: Once the build files are generated (first line) you only have to call cmake --build build to rebuild the source.

For more information see the relevant wiki page.

Special Thanks

Isabella Muerte for being a patient friend and helping create the build system.
Sharlock93 for helping diagnose issues.
Dan Bechard for helping test on Windows.