• Joined on 2025-10-24
sam pushed to main at sam/snejk 2025-12-23 14:07:19 +00:00
0748b75d66 Not finished. Need to commit.
sam pushed to main at sam/snejk 2025-12-18 15:01:55 +00:00
cd507c544d Added Game_World_Player and dying/respawning.
Compare 2 commits »
sam pushed to main at sam/snejk 2025-12-18 14:56:46 +00:00
2a999a12bf Added Game_World_Player and dying/respawning.
sam pushed to main at sam/snejk 2025-12-18 13:06:35 +00:00
0074ecd57b Changed player-movement. From UP, DOWN, LEFT, RIGHT to LEFT, RIGHT. Turn relative to your snake's head.
sam pushed to main at sam/snejk 2025-12-18 12:47:59 +00:00
5e6b042921 Spawn a new food when one was eaten. Initially, there's one food per player spawned.
sam pushed to main at sam/snejk 2025-12-18 12:30:39 +00:00
49732d8b27 Moved game-logic to game_world_tick(..)
sam pushed to main at sam/snejk 2025-12-18 11:54:37 +00:00
c1f43fdc61 Try to get a good position to spawn at. Also gets a good initial move-direction based on where you spawn.
sam pushed to main at sam/snejk 2025-12-18 11:07:57 +00:00
199afff820 Added 'destroy_children' parameter to game_world_destroy_entity().
sam pushed to main at sam/snejk 2025-12-16 16:25:20 +00:00
4e807afa3c Multiple local inputs. You can now play with your 3 friends locally, fighting over the same keyboard.
sam pushed to main at sam/snejk 2025-12-16 11:56:31 +00:00
fb885c0fc3 More player-tints. Escape to quit when in main-menu.
Compare 2 commits »
sam pushed to main at sam/snejk 2025-12-16 11:40:35 +00:00
d0727955d5 Update README.md
sam pushed to main at sam/snejk 2025-12-16 11:40:06 +00:00
76e5b3b282 Properly shut down the networking API.
167c8a3ce3 Change snake's tint based on player-id.
9dc13e3feb Fixed mistake that crashes the game if you go to play singleplayer through the menu.
Compare 3 commits »
sam pushed to main at sam/snejk 2025-12-16 11:10:54 +00:00
168278faf7 network_stop() and shortcuts to singleplayer and local multiplayer.
sam pushed to main at sam/snejk 2025-12-16 10:44:18 +00:00
8cdbd5b162 Moved code and assets for the game to a seperate folder. Moved jansson and raylib to third_party.
sam pushed to main at sam/snejk 2025-12-16 10:27:47 +00:00
fd2dbf232d Added some comments and made the debug-info-text display more info + more relevant info
sam pushed to main at sam/snejk 2025-12-16 09:47:25 +00:00
4ea71838b9 More progress. Host can now see the client that has joined. Host reacts to networked messages.
sam pushed to main at sam/snejk 2025-12-14 20:43:52 +00:00
996b1a3404 Joining a session 'works' but neither the client nor the host reacts to one another, yet.
sam pushed to main at sam/snejk 2025-12-14 19:18:57 +00:00
e9080d7332 Slight reconstruction/abstraction. Getting close to connecting to other sessions etc.
sam pushed to main at sam/snejk 2025-12-12 18:11:16 +00:00
11e91aa01c Minor things.
sam pushed to main at sam/snejk 2025-12-12 17:42:34 +00:00
a6d8d7d0c2 Removed 'child_index' from entities. It gets figured out in presentation instead.