|
|
0074ecd57b
|
Changed player-movement. From UP, DOWN, LEFT, RIGHT to LEFT, RIGHT. Turn relative to your snake's head.
|
2025-12-18 14:09:04 +01:00 |
|
|
|
5e6b042921
|
Spawn a new food when one was eaten. Initially, there's one food per player spawned.
|
2025-12-18 13:50:27 +01:00 |
|
|
|
49732d8b27
|
Moved game-logic to game_world_tick(..)
|
2025-12-18 13:33:08 +01:00 |
|
|
|
c1f43fdc61
|
Try to get a good position to spawn at. Also gets a good initial move-direction based on where you spawn.
|
2025-12-18 12:57:06 +01:00 |
|
|
|
199afff820
|
Added 'destroy_children' parameter to game_world_destroy_entity().
|
2025-12-18 12:10:25 +01:00 |
|
|
|
4e807afa3c
|
Multiple local inputs. You can now play with your 3 friends locally, fighting over the same keyboard.
|
2025-12-16 17:29:02 +01:00 |
|
|
|
d0d1a470b9
|
Merge branch 'main' of https://git.desond.com/sam/snejk
|
2025-12-16 13:00:15 +01:00 |
|
|
|
fb885c0fc3
|
More player-tints. Escape to quit when in main-menu.
|
2025-12-16 12:59:59 +01:00 |
|
|
|
76e5b3b282
|
Properly shut down the networking API.
|
2025-12-16 12:43:47 +01:00 |
|
|
|
167c8a3ce3
|
Change snake's tint based on player-id.
|
2025-12-16 12:43:23 +01:00 |
|
|
|
d0727955d5
|
Update README.md
|
2025-12-16 11:40:33 +00:00 |
|
|
|
9dc13e3feb
|
Fixed mistake that crashes the game if you go to play singleplayer through the menu.
|
2025-12-16 12:30:14 +01:00 |
|
|
|
168278faf7
|
network_stop() and shortcuts to singleplayer and local multiplayer.
|
2025-12-16 12:14:38 +01:00 |
|
|
|
8cdbd5b162
|
Moved code and assets for the game to a seperate folder. Moved jansson and raylib to third_party.
|
2025-12-16 11:47:55 +01:00 |
|
|
|
fd2dbf232d
|
Added some comments and made the debug-info-text display more info + more relevant info
|
2025-12-16 11:31:30 +01:00 |
|
|
|
4ea71838b9
|
More progress. Host can now see the client that has joined. Host reacts to networked messages.
|
2025-12-16 10:51:06 +01:00 |
|
|
|
996b1a3404
|
Joining a session 'works' but neither the client nor the host reacts to one another, yet.
|
2025-12-14 21:47:26 +01:00 |
|
|
|
e9080d7332
|
Slight reconstruction/abstraction. Getting close to connecting to other sessions etc.
|
2025-12-14 20:22:29 +01:00 |
|
|
|
11e91aa01c
|
Minor things.
|
2025-12-12 19:14:38 +01:00 |
|
|
|
a6d8d7d0c2
|
Removed 'child_index' from entities. It gets figured out in presentation instead.
|
2025-12-12 18:45:56 +01:00 |
|
|
|
ddeb82fdc8
|
The snake must grow.
|
2025-12-12 18:28:10 +01:00 |
|
|
|
2a0e5779cb
|
Body-part now follows it's parent. You can also eat food. Shortcut in the main-menu to play default singleplayer, press P.
|
2025-12-12 13:21:05 +01:00 |
|
|
|
0045d2788c
|
Fixed segfault that happend when you'd exit the ingame-state.
|
2025-12-11 18:37:40 +01:00 |
|
|
|
f4404457ee
|
Updated README.md
|
2025-12-11 18:35:44 +01:00 |
|
|
|
80cdeb5baf
|
Simulation now (sort of) respects the match-state
|
2025-12-11 18:01:26 +01:00 |
|
|
|
1d414cc392
|
Input is more responsive. Fixed bug with creating session-players.
|
2025-12-11 17:29:42 +01:00 |
|
|
|
cdbd0b2c43
|
More progress.
|
2025-12-11 15:11:01 +01:00 |
|
|
|
f2fc2dadcd
|
Added raylib libs.
|
2025-12-11 10:14:45 +01:00 |
|
|
|
5a71d16d1f
|
Big initial commit: States, simulation, presentation, menus, some art.
|
2025-12-10 23:12:19 +01:00 |
|
|
|
0b0d920c84
|
Initial commit
|
2025-12-10 20:23:35 +00:00 |
|