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
2b6fadab29
Remove lines, add polygons
2025-12-18 14:27:05 -08:00
4a44a21395
Rename tank to ship
2025-12-18 11:07:48 -08:00
660bfba1b9
Refactor updateBullets function to simplify
2025-12-18 11:05:51 -08:00
0282a0b721
Move bullets and lines updates to separate functions
2025-12-18 10:47:46 -08:00
a0c804823c
Change terrain shape; clean up some
2025-12-18 10:31:38 -08:00
235ea57e81
Draw lines from corners
2025-12-17 18:32:19 -08:00
9e8987fcc0
WIP: collision detection
2025-12-17 17:52:47 -08:00
0b841d8873
Limit ship max speed
2025-12-17 16:59:48 -08:00
9730ff85fb
Add debug info
2025-12-17 16:28:36 -08:00
bf807f9e29
Rename file
2025-12-17 15:56:57 -08:00
264cb1dc81
Add key events for arrow and angle bracket keys
2025-12-17 15:51:56 -08:00
5b3710ac4a
Add key events for W, A, S, D, Q, E and Space
2025-12-17 13:50:57 -08:00
138a2122e0
Remove comments
2025-12-17 12:53:23 -08:00
b1fd38196e
Make bullets originate from end of cannon
2025-12-17 12:51:01 -08:00
60836c9028
Fire bullets in direction of cannon
2025-12-17 12:37:40 -08:00
43f5fccebf
WIP: fire bullets
2025-12-17 12:23:52 -08:00
c33c9ec4bc
WIP: bullet
2025-12-15 11:24:13 -08:00
b358c2c0c5
Relable buttons
2025-12-14 22:13:07 -08:00
58952cfa88
Add rotating gun
2025-12-14 21:58:14 -08:00
d4e1bf5b9e
Add friction
2025-12-13 22:50:42 -08:00
6418c10415
Re-lable buttons
2025-12-13 22:03:47 -08:00
d2163d060b
Float around
2025-12-13 22:02:11 -08:00
1baf76d901
Fix velocity by making a vector
2025-12-13 19:42:01 -08:00
88241ad705
Add velocity
2025-12-13 19:10:56 -08:00
37f683e9a5
Output fps
2025-12-13 14:12:37 -08:00
b735a6e124
Update README.md
2025-11-25 16:10:46 -08:00
5c74ee4cbe
Update base container image from "bookworm" to "trixie" (Debian 13) ( #4 )
...
These changes:
- Update base container image from Bookworm to Trixie Debian
- Update Pandoc version
- Add a `make shell` command
Caveats:
- Uses the "bookworm" version of OpenResty until "trixie" is released
Reviewed-on: #4
2025-11-25 23:56:19 +00:00
c0b54ad843
Publish post 'Test nginx Configuration Directives' ( #3 )
...
Sitegen had some problems rendering `$host$request_uri` and `$$ct` so I had to make some changes to the Markdown renderer.
Reviewed-on: #3
2025-06-30 22:49:28 +00:00
95e9be6e60
Fix spelling in blurb
2025-06-22 10:34:25 -07:00
aa33976fc8
Add deploy command to Makefile
2025-06-22 10:29:40 -07:00
2ecd7d2d9f
Publish post 'Add a Pygments Lexer to Chroma' ( #2 )
...
Reviewed-on: #2
2025-06-22 16:56:45 +00:00
7839e30c28
Remove file that doesn't exist
2025-06-21 18:50:52 -07:00