Commit Graph

123 Commits

Author SHA1 Message Date
Ulysse Cura 3548ef456f Working event bus, and implemented in interact component. 2026-08-10 12:38:55 +02:00
Ulysse Cura 06d2d6f8ad Implemented event bus. 2026-08-10 00:47:31 +02:00
Ulysse Cura f084d3b406 Renamed inputs structs. 2026-08-10 00:11:39 +02:00
Ulysse Cura ba3eaf999e Working interaction from player. 2026-08-09 14:11:56 +02:00
Ulysse Cura 5bf66ddd7b Fixing some values and error handling. 2026-08-09 14:10:57 +02:00
Ulysse Cura f27eff9731 Starting to add interact component. 2026-08-08 21:06:09 +02:00
Ulysse Cura a636553e39 Removed useless comments and moved includes in right place. 2026-08-08 20:49:29 +02:00
Ulysse Cura 880c139359 Updated todo. 2026-08-08 20:23:53 +02:00
Ulysse Cura c1e09fb450 Fixed self hitbox deactivation. 2026-08-08 20:19:01 +02:00
Ulysse Cura 260c092a69 Generalized assets data. 2026-08-08 20:15:32 +02:00
Ulysse Cura 1a36cccebc Done working on asset corruption. It was an error of bit masking rgb888 colors to rgb565 when writing the asset file. 2026-08-08 19:12:08 +02:00
Ulysse Cura 66bd64d7dc Testing asset loading. 2026-08-08 13:49:59 +02:00
Ulysse Cura 66d26c0dc3 Bug that corrupt assets. 2026-08-08 12:43:55 +02:00
Ulysse Cura 6c77f2155e Added lever and door entities. 2026-08-08 12:37:32 +02:00
Ulysse Cura 544e623e25 Typos and loading tileset in sprite. 2026-08-08 12:16:10 +02:00
Ulysse Cura 2e03f91596 Corrected possible segmentatino fault in component querying in components initialisation. 2026-08-06 13:52:30 +02:00
Ulysse Cura 98dd1bbdcb Adding const identifiers. 2026-08-06 13:51:42 +02:00
Ulysse Cura 7362545493 Hided hitbox and triggers layer. 2026-08-05 23:59:32 +02:00
Ulysse Cura 46682c00e2 Reorganised headers to match design choices and component creation order for correct update order. 2026-08-05 23:53:25 +02:00
Ulysse Cura ce8c50f96c Corrected app metadata. 2026-08-04 23:41:32 +02:00
Ulysse Cura 78cfb78a5a Renamed collision function. 2026-08-04 23:37:21 +02:00
Ulysse Cura edbedae703 Hitboxes between entities are handled by the physics component. 2026-08-04 21:53:37 +02:00
Ulysse Cura 56cede5015 Remove excesive explicity. 2026-08-04 20:34:46 +02:00
Ulysse Cura e177798bd7 Adding physics system lerp function. 2026-08-04 19:49:21 +02:00
Ulysse Cura f13c278bd2 Changing texture display dst rect to frect. 2026-08-04 19:49:03 +02:00
Ulysse Cura 0fb48ff6a6 Updated TODO.md. 2026-08-04 14:58:26 +02:00
Ulysse Cura 6202a20f72 Moved movement to new physics component. 2026-08-04 01:57:26 +02:00
Ulysse Cura 85c2777b90 Fixed some typos, set components functions to inline and added "hitbox activated" param to hitbox component. 2026-08-04 01:57:01 +02:00
Ulysse Cura 357839cc71 Adding hitbox component and test entity. 2026-08-04 01:35:31 +02:00
Ulysse Cura d4da072f48 Made dummy sheet half transparent. 2026-08-04 01:35:09 +02:00
Ulysse Cura 84458ac7f9 Activating adaptative vsync to limit rare frames stutter. 2026-08-04 01:22:00 +02:00
Ulysse Cura 598784c249 Disabled display resizability and typos. 2026-08-03 23:42:59 +02:00
Ulysse Cura a5e9046632 Adding blend mode to renderer. 2026-08-03 23:34:42 +02:00
Ulysse Cura ee137abf63 Moved display functions to display.h/.c. 2026-08-03 23:29:42 +02:00
Ulysse Cura 02b8c4aa06 Added more debug options. 2026-08-03 20:46:02 +02:00
Ulysse Cura 9d56e73896 Fixed launch.json. 2026-08-03 20:45:06 +02:00
Ulysse Cura e370ea5b31 Added a linked list exit function for reserved elements and documented unsafe functions. 2026-08-03 19:20:09 +02:00
Ulysse Cura 4bc76dfb30 Fixing core. 2026-08-03 19:00:45 +02:00
Ulysse Cura 771aa18f80 Moving initialisation values where they should be. 2026-08-03 18:40:40 +02:00
Ulysse Cura 24bc80482e Testing for triggers on map. 2026-08-02 21:16:19 +02:00
Ulysse Cura b257c4f312 Documented image format in asset builder. 2026-08-02 21:16:04 +02:00
Ulysse Cura d99c1102bd Changing asset file location. 2026-08-02 21:15:33 +02:00
Ulysse Cura c7d6d843f6 Updated tilemaps. 2026-08-01 16:00:39 +02:00
Ulysse Cura e4e07ac11c Changing tiled extension to supported javascript. 2026-08-01 16:00:30 +02:00
Ulysse Cura 4959a01ac6 Added error handling for sprite component set texture. 2026-08-01 16:00:04 +02:00
Ulysse Cura 12dc97bc82 Cleaned some vars. 2026-07-30 19:44:51 +02:00
Ulysse Cura b9805aaeb1 Added a reserve function to linked lists. This came along an allocator function and better memory management. Elements and error handling has exploded everywere, that's why there is so much changes. 2026-07-30 18:02:46 +02:00
Ulysse Cura 0092f9cbe3 Added a dummy sheet for sprite components default value. 2026-07-30 18:02:16 +02:00
Ulysse Cura cf366ee21a Linked lists error handling and consequences 💀 2026-07-26 14:37:58 +02:00
Ulysse Cura d3f3ec21e0 Added running animation for player. 2026-07-26 14:00:55 +02:00