Skip to content

A starter template project for Gamercade in Zig.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

gamercade-io/zig-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zig Bindings & Example Project

For Gamercade and the Gamercade Console.

Zig Bindings for Gamercade

Bindings are located at /gamercade.

Import the bindings into your project with const gc = @import("gamercade").

You can also use the raw api, by going through gc.raw. For example, gc.raw.set_pixel(0, 10, 10).

Building the Example project

Build the project with zig build.

The file will be output at zig-out/lib/zig-template.wasm.

Then, follow the guide on bundling a game with the editor.

Zig Version

This was built and is compatible with Zig 0.9.1.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages