<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sketchbook.git/src/host/script.zig, branch main</title>
<subtitle>A small Zig platform for sketching games and toys</subtitle>
<id>https://git.0x4200.cafe/sketchbook.git/atom?h=main</id>
<link rel='self' href='https://git.0x4200.cafe/sketchbook.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/sketchbook.git/'/>
<updated>2026-11-12T16:22:02Z</updated>
<entry>
<title>sketchbook: a drawing layer on top, host fixes for replay and migration</title>
<updated>2026-11-12T16:22:02Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-10-31T00:34:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/sketchbook.git/commit/?id=2348776791e9dd17afeb12a06ba42a4a71917bcf'/>
<id>urn:sha1:2348776791e9dd17afeb12a06ba42a4a71917bcf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sketchbook: Zig 0.17, a Store on disk, requests, a scope (waveform, spectrum, spectrogram), audio codecs and fonts, web host</title>
<updated>2026-11-12T16:22:02Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-10-29T00:07:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/sketchbook.git/commit/?id=590ba7b9b579b97e34b51ab7e3460ebc85713343'/>
<id>urn:sha1:590ba7b9b579b97e34b51ab7e3460ebc85713343</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sketchbook: await in scripts</title>
<updated>2026-09-26T02:02:09Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-09-26T02:02:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/sketchbook.git/commit/?id=0b42902ecd169d9c2d5bf4347c939bdb6da78605'/>
<id>urn:sha1:0b42902ecd169d9c2d5bf4347c939bdb6da78605</id>
<content type='text'>
await FIELD VALUE plays frames until a state field holds the value, for up
to a minute: for waits whose length is the sketch's business, such as a line
of dialogue typing out.
</content>
</entry>
<entry>
<title>sketchbook: what the game's review needed</title>
<updated>2026-09-26T00:54:39Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-09-26T00:53:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/sketchbook.git/commit/?id=2dfddee8c6fab6eb76cbfe3d95f7c30bfb870702'/>
<id>urn:sha1:2dfddee8c6fab6eb76cbfe3d95f7c30bfb870702</id>
<content type='text'>
- input.started: true on the first update of a run, never after a reload,
  for a sketch to stop what should not resume from saved state.
- A console line that errors fails its script. Sketch commands answer
  unknown, done or failed (abi.Outcome) instead of a bool that hid errors.
- addScript also takes the hot-reloadable library, run through the generic
  host, so scripts can reload a real build.
- Sounds that do not load are .none, not an empty clip.
- sk_tag reads an enum field's tag name from the web build, for tests.
</content>
</entry>
<entry>
<title>Put the game first: lib/sketchbook, sketches/vecanim</title>
<updated>2026-09-26T00:48:16Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-09-26T00:47:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/sketchbook.git/commit/?id=9c33714591a2147f7e5879e77212ca9886d0c967'/>
<id>urn:sha1:9c33714591a2147f7e5879e77212ca9886d0c967</id>
<content type='text'>
The root is the game. The platform library moves to lib/sketchbook (with
serve_web.py, which serves any sketch's web build, as a tool of it), and
vecanim to sketches/vecanim, still its own package on the same library.
</content>
</entry>
</feed>
