Skip to content
/ snakegl Public

A small game engine that I used to implement snake-game and conway's game of life.

License

Notifications You must be signed in to change notification settings

ivkei/snakegl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SnakeGL

  • SnakeGL Game Engine (SGE) is a cross-platform, except for Mac, which I don't own, 2D game engine that uses OpenGL as its backend, though can easily be ported to other graphics APIs (aside from shaders).
  • This repository comes with the engine itself (sge part), and a few games made on it (snakegame, etc.), note: lifegame-gpu is in development.

Compile & Play

git clone https://github.com/ivkei/snakegl
cd snakegl/<your_desired_game>
premake5 <your_target>
make config=<your_config_target> # If `gmake` as <your_target>, if `vs2022`, then open the .sln file
  • For <your_desired_game> put a directory name with the game your want to compile, snakegame for example.
  • The premake5 target may be gmake, for make, or vs2022, or xcode. For people on Windows look inside vendors/premake5, there's an executable in case you don't have it installed.
  • The make config target may either be debug or release, debug will create build/bin and build/res, and release, on top of debug's functionality, will add <game_name>release directory with the game ready to be shipped.

Credits

About

A small game engine that I used to implement snake-game and conway's game of life.

Topics

Resources

License

Stars

Watchers

Forks