Commit Graph

152 Commits

Author SHA1 Message Date
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
Ulysse Cura 12749672a3 More error handling and code cleanup 2026-07-26 12:29:24 +02:00
Ulysse Cura 85444cbf6f Removed memory leak due to nvidia drivers... 2026-07-26 01:46:20 +02:00
Ulysse Cura 70513b0b15 Updating core to SDL3. 2026-07-26 01:45:08 +02:00
Ulysse Cura d1bbf0050e Removed C99 iso warning. 2026-07-25 00:40:06 +02:00
Ulysse Cura 75ff9bec77 Moved the time update function into core main. 2026-07-24 16:42:27 +02:00
Ulysse Cura e9ea370c5e Added submodule file. 2026-07-24 12:51:37 +02:00
Ulysse Cura 011e960cfc Moved ecs.c into core and added much better error and debug handling. 2026-07-24 03:23:53 +02:00
Ulysse Cura 50abbec84b Even better error management in asset builder. 2026-07-23 12:05:29 +02:00
Ulysse Cura 067a3ec2c9 Added RELEASE var and task. 2026-07-22 18:18:24 +02:00
Ulysse Cura 64e356bb83 Fixed debug issues. 2026-07-22 18:04:47 +02:00
Ulysse Cura cd7a4912af White background. 2026-07-22 16:10:55 +02:00
Ulysse Cura cb922ac762 Debugging working. 2026-07-22 16:10:03 +02:00
Ulysse Cura 15a9ebd9a6 Set renderer scale. 2026-07-22 15:43:13 +02:00
Ulysse Cura a82fe93679 Working on SDL2 Core. 2026-07-22 15:38:11 +02:00
Ulysse Cura 9e56720122 Simpler event handling in src side. 2026-07-22 15:36:40 +02:00
Ulysse Cura ac796e911d Adding cores as submodules and configured Makefile to use SDL_Core by default. 2026-07-22 13:42:56 +02:00
Ulysse Cura 6ecde5192e Rearanged animation system change animation function. 2026-07-22 13:41:39 +02:00
Ulysse Cura 3060f2910c Adjust player idle animation frame time. 2026-07-22 13:22:49 +02:00
Ulysse Cura 145ea71bd9 Better lisibility for animation system update func. 2026-07-22 13:22:30 +02:00
Ulysse Cura d214571ef9 Time passes correctly now. 2026-07-22 13:00:45 +02:00
Ulysse Cura dfd1811009 Corrected walk animation name and frames. 2026-07-22 13:00:33 +02:00