peterhellberg / w4-zig-bingosylt

Home Page:https://peter.tilde.team/games/w4-zig-bingosylt/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

w4-zig-bingosylt ⚡

A game written in Zig for the WASM-4 fantasy console.

Building

Build the cart by running:

make

Then run it with:

make run

Bundle for html, linux and windows using:

make bundle

Sprites

I generate sprites from PNG files like this w4 png2src -t sprite.tpl image.png

Where the custom template for w4 png2src looks like this:

{{#sprites}}
pub const {{name}} = Sprite{
    .sprite = ([{{length}}]u8{ {{bytes}} })[0..],
    .width = {{width}},
    .height = {{height}},
    .flags = w4.{{flagsHumanReadable}},
};
{{/sprites}}

Links

Jam

Kodsnacks Tvåveckorssylt - #9 https://itch.io/jam/spelsylt9

Important

Submissions open to November 6th 2023 at 12:00 AM

Theme: BINGO!

Skapa din egen bingorad från bingobrickan nedanför. Du måste välja minst 2 rutor och de måste sitta ihop enligt klassiska bingoregler (horisontellt, vertikalt eller diagonalt).

Skriva gärna på ditt spel vilka brickor du valde!

Bingo

About

https://peter.tilde.team/games/w4-zig-bingosylt/


Languages

Language:Zig 98.3%Language:Makefile 1.5%Language:Smarty 0.2%