Skip to content

tadashibashi/sdgl-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDGL Examples

Demos for SDGL: Simple Direct Game Library

Pong Animation Preview

Simple pong clone, with computer ai

Controls:

  • Up/Down to move paddle

Building from source

Recursively clone this repository git clone --recursive https://github.com/tadashibashi/sdgl-examples

In the root of this repository, run

cmake -S . -B build
cmake --build build --target <target-name>

For web builds, make sure to link the cmake toolchain file in an Emscripten installation: cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=<path/to/Emscripten.cmake>

Available targets:

  • Pong

About

Game examples for sdgl

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages