Skip to content

Procedural generation examples in C based on raylib and tcod libs

Notifications You must be signed in to change notification settings

darkodraskovic/procgen-raylib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raylib + tcod procedural generation examples in C

2D graphics procedural generation library and examples based on raylib and and tcod libraries and written in pure C.

Install

Build and install raylib and tcod libraries.

Configure && build

Create build directory in the root directory, cd to build directory and run

cmake ..

Staying in build directory, type

make

to compile and run the program.

Run

Create bin directory in the root directory. cd to bin/ and run

./main

to run the program.

Run from chunky or roamlib

cd /Users/darko/Development/procgen2d/ && bash.exe build.sh -t 05_mesh

clangd

"clangd understands your C++ code and adds smart features to your editor: code completion, compile errors, go-to-definition and more."

Install clangd.

When you cmake the project, compile_commands.json will be created in build directory. Symlink it (or simply copy it) to the root directory. To symlink it, cd to the root and

ln -s build/compile_commands.json .

About

Procedural generation examples in C based on raylib and tcod libs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages