Commit Graph

63 Commits

Author SHA1 Message Date
f86697aad8 skycraft: smoother ship controls 2022-11-10 14:09:52 -08:00
c709b1308e skycraft: moar refactor 2022-11-09 17:39:11 -08:00
925550308f skycraft: refactor & move to TS 2022-11-09 17:28:11 -08:00
7354dcb929 skycraft: sexier spaceship
now with wavefront .obj format support
2022-11-09 00:44:48 -08:00
b6cc6ca35b skycraft: specular lighting 2022-11-08 14:28:08 -08:00
e27151b796 skycraft: optimize mesh generation 2022-11-08 12:04:51 -08:00
b0a39bb1ce skycraft: now with sunlight! 2022-11-08 09:26:36 -08:00
216ef470c5 skycraft: orbit computatino still borken
But we got ourselves a spaceship!
Improved the camera a bit. Now we can see the ship's orbit.
2022-11-08 00:33:51 -08:00
2fccb1fb7c skycraft: now with celestial bodies 2022-10-18 14:45:17 -07:00
3e9bad8929 skycraft: slightly better orbit calculation 2022-10-18 14:43:22 -07:00
4e2d522602 Skycraft: add some alpha to orbits 2022-10-18 14:22:40 -07:00
70f42391f1 Skycraft: no fog 2022-10-18 14:21:46 -07:00
ef88325fc8 geometry: sample pixels from their centers 2022-10-18 14:01:02 -07:00
60a2e8f19e se3: fix inverse 2022-10-18 13:49:35 -07:00
5fefa04891 Ignore output file 2022-10-18 13:48:47 -07:00
d118a99c29 Add skycraft gitignore 2022-10-18 13:48:28 -07:00
282d91468e skycraft: a space stuff PoC
- kepler-based elliptical orbits
- with visualization
- and some sort of user controls
- based on wmc
2022-08-29 21:40:51 +02:00
Paul Mathieu
0b45bfe1eb Fix physics depending on fps 2021-12-30 03:47:57 -08:00
Paul Mathieu
e8e4ccb9ad Update todo 2021-12-29 10:37:35 -08:00
Paul Mathieu
19fb285d18 Caves!! 2021-12-28 08:45:47 -08:00
Paul Mathieu
d0f1749ef2 Fluffier trees 2021-12-26 13:29:28 -08:00
Paul Mathieu
6a219e7e45 Minor cleanup 2021-12-26 12:41:34 -08:00
Paul Mathieu
61d3d67df0 Small refactor in face creation 2021-12-26 11:00:32 -08:00
Paul Mathieu
c5370bf057 Minor performance refactor
- turns out the old makeFaceList was probably a bit faster
2021-12-26 05:00:18 -08:00
Paul Mathieu
a38c7f7a76 Rename our bounding box 2021-12-25 08:36:45 -08:00
Paul Mathieu
8c3fb4377f Remove try/catch block for timesup 2021-12-25 08:25:01 -08:00
Paul Mathieu
b70ce12ec9 Adjust gravity and jump force 2021-12-25 08:22:39 -08:00
Paul Mathieu
0c381e26d3 Small fixes 2021-12-25 02:28:06 -08:00
Paul Mathieu
86a65fc39c Add a few trees 2021-12-24 05:50:13 -08:00
Paul Mathieu
10b5109e21 Fullscreen 2021-12-22 02:50:12 -08:00
Paul Mathieu
a1d117595f Fix distance fog on water 2021-12-22 02:32:32 -08:00
Paul Mathieu
6f66e4f131 Faster loading & geometry fixes 2021-12-22 02:32:08 -08:00
Paul Mathieu
eec60fcc91 Double jump! 2021-12-22 02:31:28 -08:00
Paul Mathieu
8939a90307 Placing blocks. Also better terrain. And still water.
Just a few things.
2021-12-20 01:25:40 -08:00
Paul Mathieu
4d0f406669 Split code out of index.js into game.js and world.js 2021-12-18 09:57:00 -08:00
Paul Mathieu
c792b01308 Update README 2021-12-18 09:18:49 -08:00
Paul Mathieu
a20d203bae Grr typo 2021-12-17 15:51:20 -08:00
Paul Mathieu
4be09f8d45 Add destroying blocks 2021-12-17 15:33:33 -08:00
Paul Mathieu
200efb3a3c Remove verbose log 2021-12-17 15:32:50 -08:00
Paul Mathieu
eacd6a6ab0 Allow a few skipped frames when needed 2021-12-17 15:31:21 -08:00
Paul Mathieu
d43d888194 Mark out-of-bound blocks as UNDEFINED 2021-12-17 15:31:00 -08:00
Paul Mathieu
0739abbaf2 Fix bad tagging 2021-12-17 15:27:32 -08:00
Paul Mathieu
2fc6e91ee2 Remove some dead code 2021-12-17 15:27:08 -08:00
Paul Mathieu
f045a8fff1 Make max block select ditance a param 2021-12-17 15:26:29 -08:00
Paul Mathieu
fff1fe89a2 Block tagging 2021-12-17 06:16:57 -08:00
Paul Mathieu
612f8a223e Minor fixes 2021-12-17 06:15:07 -08:00
Paul Mathieu
ed43c9ea5c Clamp camera rotx and fix motion 2021-12-17 06:14:16 -08:00
Paul Mathieu
7503922451 Remove dead code 2021-12-17 06:13:07 -08:00
Paul Mathieu
963568bec1 perf: call blockLokup() less often 2021-12-16 14:10:57 -08:00
Paul Mathieu
6cf6306b96 Tweak jumping 2021-12-16 14:10:23 -08:00