Just play with raylib and rust. Why not writing a Game of Life in Rust with Raylib bindings :)
To be able to use raylib we first need to be able to link our rust code with
C code. So the first step is to call a C function that is implemented in clib/
.
Note: code hase been removed but it has been tagged hello before doing so.
-
Important: To run it you need to create a directory
raylib/
and copy thelibraylib.a
. Raylib can easly be compiled from github:raylib. Otherwise you can modifybuild.rs
to fit your needs. -
run:
cargo run -- --fname examples/input.gol
- Start by implementing Basic Window
- 2D camera example
- wrote game of life