Commit Graph

247 Commits

Author SHA1 Message Date
46167340be WIP: add a circle to the end of the line 2025-12-26 16:40:44 -08:00
b836b1f92b WIP: draw normal lines 2025-12-26 15:13:44 -08:00
b8df14625c WIP: position touching on collision 2025-12-26 12:03:41 -08:00
c9b7c62365 WIP: don't overlap wall on collision 2025-12-26 11:20:29 -08:00
d75c8f1b0f WIP: position after a collision 2025-12-25 20:37:59 -08:00
d13392fef6 WIP: altitude foot point coords 2025-12-25 19:16:01 -08:00
722e8172ab Land 2025-12-25 16:57:10 -08:00
d732fe0bf1 WIP: landing 2025-12-25 10:01:48 -08:00
63e9c45490 WIP: landing 2025-12-25 08:59:53 -08:00
be61acb030 Light up bg on collision 2025-12-24 09:17:41 -08:00
803402beef Update todos 2025-12-24 09:11:02 -08:00
1fd87f8351 Add inverse walls 2025-12-23 17:34:37 -08:00
b6bc696823 Inverse? 2025-12-23 16:41:50 -08:00
d65e5c2b34 Add R key to restart 2025-12-22 15:05:14 -08:00
f7984595cc Add a 3-wall map 2025-12-21 16:55:33 -08:00
32c1d0e56d Pull collection out of function 2025-12-21 16:30:35 -08:00
d0369ca229 Rename some function params for clarity 2025-12-21 16:21:31 -08:00
19a7a26f1b Don't check corners if edge collision, and vise versa 2025-12-21 16:08:53 -08:00
962e1e4094 Refactor 2025-12-21 15:56:09 -08:00
1a7d6233d8 Fix corner collision detection 2025-12-21 15:21:02 -08:00
60ac7f137b Add additional maps 2025-12-21 14:06:07 -08:00
5b594d369b Add additional walls 2025-12-21 13:42:00 -08:00
5868ef2b24 WIP: multiple walls 2025-12-21 12:54:01 -08:00
2c2226d09f Add pointermove event to print pointer coordinates 2025-12-21 10:30:05 -08:00
1c2f35c87b Clean up 2025-12-21 09:15:24 -08:00
a6fde9e567 Fix cannon rotation 2025-12-21 08:47:38 -08:00
eb9c805786 Simplify collision triangle update function 2025-12-20 15:35:20 -08:00
8f963ab98c Remove unneeded variable 2025-12-20 15:23:44 -08:00
5089a30a3b Add missing call to update collision triangles 2025-12-20 15:19:30 -08:00
e7f098dedf Rename variable 2025-12-20 15:13:12 -08:00
273ed43a51 Refactor 2025-12-20 15:06:16 -08:00
f6974d43f4 Refactor long line 2025-12-20 14:29:13 -08:00
95c45ac7c6 Refactor to find starting edges dynamically 2025-12-20 14:20:34 -08:00
6d7669ac10 Stop reading keys after collisions until a keyup event 2025-12-20 13:12:56 -08:00
5d02620b55 Add a toggle for drawing collision lines 2025-12-20 12:58:57 -08:00
a8f9cce90e Restart after crashing with a keydown event 2025-12-20 12:54:13 -08:00
50a20982a4 Move collision detection code into its own function 2025-12-20 08:40:41 -08:00
1f782f75aa Clean up some code 2025-12-20 08:25:02 -08:00
f9a191048a Stop when all edges have been mapped 2025-12-19 19:27:59 -08:00
fc5a1155dd Remove viewed edges 2025-12-19 18:18:10 -08:00
f3a702cce0 Draw edges 2025-12-19 17:24:16 -08:00
598ecde00e Restart if ship touches wall 2025-12-19 16:48:41 -08:00
fcbae33d51 Only render acute triangles 2025-12-19 14:50:09 -08:00
7b63f0524c Stop bullets when they hit a wall 2025-12-19 13:20:49 -08:00
5a5b4e9272 Modify terrain and remove buttons 2025-12-19 13:05:58 -08:00
8705b5779d Add side collision detection 2025-12-19 12:28:48 -08:00
8b89673b6f Detect corner collisions 2025-12-18 18:08:53 -08:00
29588b36d4 Simplify code 2025-12-18 15:43:41 -08:00
7ad55c07ae Use a class instead of changing direct styles 2025-12-18 15:32:27 -08:00
c3bd622841 Find determinant 2025-12-18 14:45:45 -08:00