Commit graph

184 commits

Author SHA1 Message Date
Sara 4ff8d985a7 added design document 2023-11-06 09:00:53 +01:00
Sara 0d711f7ef4 reran bear 2023-11-05 23:13:04 +01:00
Sara 86ba2b8c29 implemented new input system 2023-11-05 23:12:56 +01:00
Sara 43527cd675 updated levels 2023-11-05 23:12:45 +01:00
Sara 8a6296e518 Merge branch 'main' into input-rework 2023-11-04 20:43:01 +01:00
Sara 967a9ace62 Revert "added hashmap"
This reverts commit 259bae805c.
2023-11-04 20:41:54 +01:00
Sara 90d4e52169 updated premake to include debug symbols in Debug config and optimize in Release config 2023-11-04 20:41:32 +01:00
Sara 931a77b854 list_insert now increases the length of the array correctly 2023-11-04 20:41:17 +01:00
Sara dc6a1acc34 cleared input module 2023-11-04 19:19:27 +01:00
Sara c9dcb508bd debug.h will now work standalone 2023-11-04 19:18:59 +01:00
Sara 259bae805c added hashmap 2023-11-04 19:18:28 +01:00
Sara 0c831f777b modified cave tilemap somewhat 2023-11-04 19:18:21 +01:00
Sara 1f0ec13402 Modified levels to remove floor bumps 2023-11-04 19:18:11 +01:00
Sara 24e03c294d added premake5.lua 2023-11-02 21:43:46 +01:00
Sara 3f8289e857 added build directories to ignore file 2023-11-02 21:43:00 +01:00
Sara 742d8f0576 removed makefile in preparation for switching to premake 2023-11-02 21:42:51 +01:00
Sara 78e4558786 input listeners now take object arguments 2023-11-02 21:00:02 +01:00
Sara c4438c86de modified some collision shapes for tiles 2023-11-02 20:41:17 +01:00
Sara 3a554ea871 increased head space in level 0 2023-11-02 20:41:06 +01:00
Sara 8a5041333f removed debug draw call for player physics 2023-11-02 19:40:28 +01:00
Sara 2f830ce308 contact force is now Zero by default 2023-11-02 19:39:53 +01:00
Sara a1add96b9b changed player collision bevels to 45-degree angles with 0.01 radius 2023-11-02 19:39:37 +01:00
Sara eee5e38bb1 added FULLSCREEN_DESKTOP flag to window creation 2023-11-02 19:39:19 +01:00
Sara c1eb70d0f8 disabled debug drawing of tilemap collision shapes 2023-11-02 19:39:07 +01:00
Sara 1a822754b3 added epsilon value to linear constraint check 2023-11-02 18:11:34 +01:00
Sara 0704378f1a player is now managed by game world 2023-11-02 14:28:45 +01:00
Sara 8275732530 program now integrates game world 2023-11-02 14:28:40 +01:00
Sara 29e7b34b3f created game world module to manage and run Behaviour Entities 2023-11-02 14:28:32 +01:00
Sara a6d50decc7 player now has a constructor and implements drop 2023-11-02 14:27:14 +01:00
Sara 674d1b55fb behaviour entity trait now requires drop trait and a draw function 2023-11-02 14:26:21 +01:00
Sara cf001bd2d6 added Drop trait to allow more automated memory management 2023-11-02 14:25:53 +01:00
Sara 70bbd51ef7 removed run.gdb as it is no longer used by make run 2023-11-01 23:02:18 +01:00
Sara 9fe2fbe80a removed make run rule 2023-11-01 23:01:45 +01:00
Sara 6e75cb6f49 removed debugging code from tilemap loading 2023-11-01 23:01:38 +01:00
Sara 0e3a4b1772 debug drawing code for tilemaps can now be turned off 2023-11-01 23:01:28 +01:00
Sara 1d46d9dc6f player spawns more to the right now 2023-11-01 23:01:10 +01:00
Sara 5408ac3ad0 newline at the end of the file 2023-11-01 23:00:58 +01:00
Sara 26bb95f6c5 now using new signature for externally exposed collision_invert 2023-11-01 23:00:53 +01:00
Sara af0a2bfa33 removed old range comparison 2023-11-01 23:00:32 +01:00
Sara b65cba928b collision_invert is now externally visible 2023-11-01 23:00:09 +01:00
Sara 4438070170 reworked _internal_collision_overlap to be more verbose 2023-11-01 22:59:48 +01:00
Sara 22709234cd reworked overlap range so that it now detects 'inverse' collisions 2023-11-01 22:59:12 +01:00
Sara f5a9b3e8c6 modified collision points on a tile 2023-10-25 23:25:45 +02:00
Sara f7dd618cbc removed expiry 2023-10-25 23:25:27 +02:00
Sara d52ae5fe45 changed jump speed and reordered collision shape points for player 2023-10-25 23:25:23 +02:00
Sara 77c266b43f simplified collecting contacts by removing expiry and just clearing the list 2023-10-25 23:25:04 +02:00
Sara 1e039c310b negative key for a key action will now be bound to unknown scancode 2023-10-25 23:24:44 +02:00
Sara 2fa75e6ced added F1 keybind to cycle through log verbosity 2023-10-25 23:24:26 +02:00
Sara 0827f9467c added g_debug_log_lvl 2023-10-25 23:24:03 +02:00
Sara ecbe0b317a modified order of points in a tile collision shape 2023-10-25 23:23:51 +02:00