Commit Graph

57 Commits

Author SHA1 Message Date
Alexandre e0c873989d added linear platforms and creative/survival mode (G) 2025-02-09 21:24:01 +01:00
Alexandre 2f07c81f4f added draw_string function + addeed dps when clipping inside block 2025-02-09 20:51:03 +01:00
Alexandre 30717e9c1f switched norm to ||.||infinite that fixed collisions (yay) 2025-02-09 12:34:21 +01:00
Alexandre cf9e278068 working on text display 2025-02-08 18:02:15 +01:00
Alexandre e161db3807 switched distance calculation to ||.||_2 2025-02-07 20:36:13 +01:00
Alexandre 1fe7b14d86 fixed corners (hopefully) 2025-02-07 19:16:57 +01:00
Alexandre 8e9d3fe513 physics v1.2 (need to fix angles) 2025-02-07 17:59:12 +01:00
Alexandre 1859c47de2 preparing for buttons n menus 2025-02-06 20:19:02 +01:00
Alexandre 65c009e3af physics v1.1 2025-02-06 20:02:49 +01:00
Alexandre 7b79815188 physics 2025-02-06 19:28:20 +01:00
Alexandre 541596e8c0 added jumping and moving platforms 2025-02-06 15:57:27 +01:00
Alexandre 381348a420 changed type in room + fixed some segFaults 2025-02-06 14:36:33 +01:00
Alexandre dec1124c43 added various displays (coords, triangles count) + added 1 culling function 2025-02-05 21:46:15 +01:00
Alexandre 9585169fec added digit display 2025-02-05 18:03:14 +01:00
Alexandre 58a9a8cbf9 damit john 2025-02-05 14:01:08 +01:00
Alexandre f2c45b45cd added face culling 2025-02-02 11:50:42 +01:00
Alexandre 38ac44b448 removed unnecessary for() loop 2025-02-02 11:21:49 +01:00
Alexandre 8bd13e158c improved FPS by ~5x 2025-02-01 22:28:01 +01:00
Alexandre 576e83feeb major reworks + added colors + added z testing 2025-01-31 17:50:43 +01:00
Alexandre af20c1084e fixed spinning cubes 2025-01-31 13:53:23 +01:00
Alexandre 0cf97eb7b5 IM FREEEEEEEEE 2025-01-30 21:45:46 +01:00
Alexandre 5d3504ca53 preparing to switch to openGL 2025-01-26 19:32:46 +01:00
Alexandre 335a00a909 ... 2025-01-26 19:26:24 +01:00
Alexandre 5e3ff72046 added shooting mines 2025-01-25 22:08:42 +01:00
Alexandre 286d4ecbce adde projectiles 2025-01-24 21:00:32 +01:00
Alexandre 1578d6682d added all free() functions to (?) prevent SDL from crashing sometimes 2025-01-23 23:01:11 +01:00
Alexandre 6c8b04de69 fixed mines having seizures when moving 2025-01-23 18:04:34 +01:00
Alexandre e265292843 mines 2025-01-23 18:00:26 +01:00
Alexandre 0c3e582cd2 #2# 2025-01-22 19:55:03 +01:00
Alexandre 7091c822f6 working-ish depth detection 2025-01-22 19:50:43 +01:00
Alexandre 9eb127bdcd raw fix 2025-01-22 14:00:39 +01:00
Alexandre 7ddf2c5067 ... 2025-01-21 18:02:56 +01:00
Alexandre d962951880 experimenting with z buffering 2025-01-20 22:40:00 +01:00
Alexandre fc1c266b49 save #2 2025-01-20 19:38:06 +01:00
Alexandre 7ae206b6c4 save 2025-01-20 13:09:48 +01:00
Alexandre 727d097f45 depth detection maybe 2025-01-18 22:46:21 +01:00
Alexandre db60e9a707 ugh 2025-01-18 17:57:47 +01:00
Alexandre 16cf96d8ac Reversing 3 commits 2025-01-18 17:15:00 +01:00
Alexandre 0595f9fb52 depth detection v3 (still broken) 2025-01-17 22:23:36 +01:00
Alexandre ca33183a17 depth detection v2 (almost) 2025-01-17 17:59:40 +01:00
Alexandre e035493ce4 raw depth detection 2025-01-15 18:24:52 +01:00
Alexandre b289564ed0 working on new drawing method 2025-01-15 09:01:19 +01:00
Alexandre 333083d164 experimenting with drawOrder 2025-01-13 22:35:22 +01:00
Alexandre 15cace6833 reworked coins 2025-01-12 18:36:57 +01:00
Alexandre 639449b4ae added money 2025-01-11 22:10:26 +01:00
Alexandre f3abc7266e added spinning entities + fixed segFault on sort entities 2025-01-11 18:05:33 +01:00
Alexandre 5814dc5b05 added structs for entities 2025-01-05 17:03:18 +01:00
Alexandre 2997f77c40 somehow got this to work at >1000 FPS 2025-01-05 12:00:07 +01:00
Alexandre 4049af7b4b fixed parse_float having trouble when ent = 0 + added FPS display 2025-01-01 21:33:19 +01:00
Alexandre 1e98634274 added random room generation with pools + set drawing priorities 2025-01-01 12:13:11 +01:00