Commit Graph

199 Commits

Author SHA1 Message Date
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
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
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
075097904c Cleanup 2025-06-16 20:18:05 -07:00
8ed0e4f2dd Update moonscript syntax highlight colors 2025-06-16 20:18:05 -07:00
5bf9a45007 Highlight unlabeled blocks 2025-06-16 20:18:05 -07:00
58af575386 Make code highlight sample page 2025-06-16 20:18:05 -07:00
46aa6c829f WIP: Syntax highlight colors 2025-06-16 20:18:05 -07:00
f15f3f5011 Clean up 2025-06-16 20:18:05 -07:00
18581b3ea4 Remove dates from html filenames and links 2025-06-16 20:18:05 -07:00
cd574a06a3 Add a transparent favicon 2025-06-16 20:18:05 -07:00
2e5cdac3e3 Add images 2025-06-16 20:18:04 -07:00
023c7caabc Update .gitignore files 2025-06-16 20:18:04 -07:00
b453dfffc1 Set output dir to 'html/'; build css 2025-06-16 20:18:04 -07:00
c87a2314c5 WIP: add css from stasis 2025-06-16 20:18:04 -07:00