<feed xmlns='http://www.w3.org/2005/Atom'>
<title>picow/src/player.c, branch main</title>
<subtitle>Launcher for the PICO-8 Wasm Runtime</subtitle>
<id>http://src.lordello.net/picow/atom/src/player.c?h=main</id>
<link rel='self' href='http://src.lordello.net/picow/atom/src/player.c?h=main'/>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/'/>
<updated>2026-10-29T12:33:26Z</updated>
<entry>
<title>Minor Fixes</title>
<updated>2026-10-29T12:33:26Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-10-29T12:22:28Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=838d75bce98ca5a1f90f762e80d2aa649d4e0642'/>
<id>urn:sha1:838d75bce98ca5a1f90f762e80d2aa649d4e0642</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve Gamepad Handling</title>
<updated>2026-10-24T08:48:45Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-10-24T08:48:45Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=02da08e9d84371c558da6347210c00e3966f2dc5'/>
<id>urn:sha1:02da08e9d84371c558da6347210c00e3966f2dc5</id>
<content type='text'>
There were a few cases where we would have stale input information
becaues the `pw_input` only receives events while the game is
running. This fixes that by:

- Reseting the player count on game start
- Clearing button states for disconnected players
- Improve handling of the POOM player 2 support in case a second
  player connects
</content>
</entry>
<entry>
<title>Started Implementing ASM Constants</title>
<updated>2026-10-19T20:47:49Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-10-19T20:47:49Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=312c3c345b5b72a69ba6ee1bf50697eed18c2775'/>
<id>urn:sha1:312c3c345b5b72a69ba6ee1bf50697eed18c2775</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix Some Bugs</title>
<updated>2026-10-10T19:42:08Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-10-10T19:42:08Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=eb12c5386f4ea75f4a715b50d73eb8bc74b12815'/>
<id>urn:sha1:eb12c5386f4ea75f4a715b50d73eb8bc74b12815</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Player and Framebuffer Management</title>
<updated>2026-10-09T14:57:26Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2026-10-09T14:57:26Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/picow/commit/?id=0a98b48593e4ad561c7732387a688797ad5ee1ce'/>
<id>urn:sha1:0a98b48593e4ad561c7732387a688797ad5ee1ce</id>
<content type='text'>
We now handle player controller connection/disconnection in a
separate component (since, for scene selection we actually don't
want 1:1 PICO-8 input semantics).

We also added a new `pw_framebuffer` type for managing the
framebuffer that can be written to by PICO-8. The target rect is
updated every frame, and we provide utilities for mapping window
coordinates to clamped framebuffer coordinates (used for the mouse).

Next up is actually implementing the scenes in their separate file,
at which point we can move the FB logic into our stub PICO-8 WAT
implementation and wireup the events correctly!
</content>
</entry>
</feed>
