<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xavi/jancity/src/camera/inc/camera.h, branch esp32</title>
<subtitle>Entry for Global Game Jam 2024.
</subtitle>
<id>https://gitea.privatedns.org/xavi/jancity/atom?h=esp32</id>
<link rel='self' href='https://gitea.privatedns.org/xavi/jancity/atom?h=esp32'/>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/jancity/'/>
<updated>2024-01-28T14:17:49+00:00</updated>
<entry>
<title>Big rushed update</title>
<updated>2024-01-28T14:17:49+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2024-01-28T02:01:13+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/jancity/commit/?id=fd53c7da8c5f2b79b87f624e313ff508072361ad'/>
<id>urn:sha1:fd53c7da8c5f2b79b87f624e313ff508072361ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace "unsigned int" with "unsigned"</title>
<updated>2024-01-27T16:38:12+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2024-01-27T12:55:51+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/jancity/commit/?id=940882d743b7e6afea97352d6fdfaf8ec8e433d6'/>
<id>urn:sha1:940882d743b7e6afea97352d6fdfaf8ec8e433d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remap calls to pad/mouse/keyboard to input</title>
<updated>2022-09-20T14:56:30+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2022-09-20T11:43:18+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/jancity/commit/?id=87b4ef3a15af505f5ed5150ee1dadd2e2bc94c17'/>
<id>urn:sha1:87b4ef3a15af505f5ed5150ee1dadd2e2bc94c17</id>
<content type='text'>
</content>
</entry>
<entry>
<title>camera: implement fixed cursor movement</title>
<updated>2022-06-24T15:45:50+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2022-06-24T15:45:50+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/jancity/commit/?id=0b94264a7e5e7c8c1a56f8bba3cbe7a5a63cd38b'/>
<id>urn:sha1:0b94264a7e5e7c8c1a56f8bba3cbe7a5a63cd38b</id>
<content type='text'>
On platforms with PERIPHERAL_TYPE_PAD, navigating through menus and
options can be cumbersome if moving the cursor freely around the
screen.

Therefore, this commit instead defines a list of (X, Y) coordinates that
the cursor can jump to. The implementation also attempts to guess which
direction the cursor should jump to for the previous/next point, and
hence determine which button should be pressed by the user.
</content>
</entry>
<entry>
<title>camera: remove dependency against terrain</title>
<updated>2022-06-12T21:19:03+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2022-06-12T20:51:01+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/jancity/commit/?id=08c26de540f711ec888a46a922c1f4b89386d8c6'/>
<id>urn:sha1:08c26de540f711ec888a46a922c1f4b89386d8c6</id>
<content type='text'>
This will allow using camera for purposes other than showing the game
map.
</content>
</entry>
<entry>
<title>Split peripheral-related logic into its own component</title>
<updated>2022-06-12T21:18:57+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2022-06-12T20:34:23+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/jancity/commit/?id=5226dc466354cd15dd50b3c11660db7cb38eabed'/>
<id>urn:sha1:5226dc466354cd15dd50b3c11660db7cb38eabed</id>
<content type='text'>
This has several advantages:

- `camera` no longer needs to define public functions for each
peripheral type.
- Peripheral-related is now no longer tighly coupled to human_player,
so peripheral logic can be reused elsewhere e.g.: on menus.
- Makes camera_update_touch consistent compared to equivalent functions,
since now `pan` has now been moved to `camera` (as it should be).
</content>
</entry>
<entry>
<title>Implement touch controls</title>
<updated>2022-03-31T04:50:33+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2022-03-30T06:36:16+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/jancity/commit/?id=ce8b1c43caf9e97fe0e93a51d6ca6b82460305d7'/>
<id>urn:sha1:ce8b1c43caf9e97fe0e93a51d6ca6b82460305d7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add support for keyboard and mouse</title>
<updated>2022-03-30T06:20:21+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2022-02-24T16:55:57+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/jancity/commit/?id=8f8c5df4f2421f65050cb630a8413013a2dae23e'/>
<id>urn:sha1:8f8c5df4f2421f65050cb630a8413013a2dae23e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refresh camera and terrain rendering on screen resize</title>
<updated>2022-03-30T06:20:20+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2022-02-08T14:16:57+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/jancity/commit/?id=9f9c0226d03c060c3c5b12b7a8d37d2e8b372a74'/>
<id>urn:sha1:9f9c0226d03c060c3c5b12b7a8d37d2e8b372a74</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add project source code</title>
<updated>2022-03-30T06:20:20+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2021-07-02T22:49:03+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/jancity/commit/?id=6b9f686913efc3725b2690033cd4f398e07076ba'/>
<id>urn:sha1:6b9f686913efc3725b2690033cd4f398e07076ba</id>
<content type='text'>
</content>
</entry>
</feed>
