Skip to content

Simple game engine based on OpenGL ES and written in C.

License

Notifications You must be signed in to change notification settings

STARRY-S/Aperture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aperture

A simple OpenGL game engine written in C, just for fun and learn some render stuff.

Usage

Arch Linux

Build & Install:

$ yay gcc meson git cglm assimp glfw freealut sqlite curl freetype
$ git clone https://github.com/STARRY-S/Aperture.git && cd Aperture
$ mkdir build && cd build
$ meson setup .. && meson compile && meson install

Android

See Aperture-Android

Windows

  1. Install MSYS2.
  2. Install mingw64 build dependencies.
    $ pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake \
          mingw-w64-x86_64-mesa     mingw-w64-x86_64-assimp \
          mingw-w64-x86_64-cglm     mingw-w64-x86_64-glfw   \
          mingw-w64-x86_64-ninja    mingw-w64-x86_64-openal \
          mingw-w64-x86_64-freealut mingw-w64-x86_64-ffmpeg
    
  3. Update the system enviroment, add the msys64/mingw64/bin folder to PATH variable.
  4. Clone the source code of this repository, open it in windows powershell,
    > cd \path\to\the\source\code\
    > mkdir build
    > cd build
    > cmake ..
    > ninja
    
  5. You can use cmake -DCMAKE_C_COMPILER=gcc to specify a C compiler.

Dependencies

  • OpenGL ES 3.0
  • cglm
  • Assimp
  • stb_image
  • GLAD
  • GLFW
  • ffmpeg
  • openAL
  • freeALUT
  • FreeType 2
  • SQLite3
  • curl

Demo

See Aperture-demo

License

The source code of this project is under Apache-2.0 license.

About

Simple game engine based on OpenGL ES and written in C.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages