Skip to content

A fighting game engine for Windows & Linux written in C and uses OpenGL.

License

Notifications You must be signed in to change notification settings

PineTreePizza/crescent-sprites

 
 

Repository files navigation

Crescent

windows-msvc-build Actions Status ubuntu-gcc-build Actions Status windows-mingw-build Actions Status pvs-studio Actions Status

Crescent Engine logo

A work in progress fighting game engine for Windows and Linux with the core written in C11. To get an idea of what's planned and what's actively in development checkout the project page. There is also documentation (not complete) which can be found here.

Tech Stack

Building

Supports Windows and linux builds at the moment. Crescent engine can be either built with cmake or make. All build commands should be executed from the project's root directory.

CMake

MinGW build

  1. Install MinGW through MSYS2
  2. Update pacman: pacman -Syy
  3. Install the following packages:
    • pacman -S mingw-w64-x86_64-SDL2
    • pacman -S mingw-w64-x86_64-freetype
    • pacman -S mingw-w64-x86_64-python
  4. Run cmake

Make

Note: Currently outdated

These environment variables are required to be set before building with make.

Environment Variable Description Required Default Value
SDL2_INCLUDE_PATH The include directory of SDL2. YES N/A
SDL2_LIBS_PATH The libs directory of SDL2. YES N/A
PYTHON_INCLUDE_PATH The include directory of Python. YES N/A
PYTHON_LIBS_PATH The libs directory of Python. YES N/A
FREETYPE_INCLUDE_PATH The include directory of Freetype. YES N/A
FREETYPE_LIBS_PATH The libs directory of Freetype. YES N/A

Engine:

# Build
make build-engine
# Run
make run-engine
# Clean
make clean-engine

Editor:

# Build
make build-editor
# Run
make run-editor
# Clean
make clean-editor

About

A fighting game engine for Windows & Linux written in C and uses OpenGL.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 53.9%
  • C++ 44.9%
  • Other 1.2%