Skip to content

A minimal game engine implementation that wraps around raylib in Zig

License

Notifications You must be signed in to change notification settings

Tofaa2/framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

framework

A minimal game engine implementation that wraps around raylib in Zig

How To Use

  1. Clone this repo, put it somewhere in your project. (ex: external/framework)
  2. In your projects build.zig.zon file. Add the following dependency
        .@"framework" = .{
            .path = "framework path in your projects folder."
        },
  1. Head over to your build.zig file and add the following lines of code.
    const framework_dep = b.dependency("framework", .{
        .target = target,
        .optimize = optimize
    });
    const framework_artifact = framework_dep.artifact("framework");
    const framework = framework_dep.module("framework");

    // Then link it all 
    exe.linkLibrary(framework_artifact);
    exe.root_module.addImport("framework", framework);
  1. Build project to see if it works.

About

A minimal game engine implementation that wraps around raylib in Zig

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages