Commit graph

  • a11d69eee2 Make use of egui_inspect crumblingstatue 2023-04-07 00:36:34 +02:00
  • 85ebea1fca Divide render texture size by scale crumblingstatue 2023-04-06 23:04:34 +02:00
  • e2a38e80d7 Make viewport the same size as the window crumblingstatue 2023-04-06 23:02:45 +02:00
  • 4fb622989b Fix mouse position crumblingstatue 2023-04-06 22:50:43 +02:00
  • c54af3ee67 Properly center screen crumblingstatue 2023-04-06 22:39:25 +02:00
  • a3cb228799 Clear RenderWindow screen crumblingstatue 2023-04-06 22:14:50 +02:00
  • ae380bb635 Add scaling crumblingstatue 2023-04-06 20:44:18 +02:00
  • b2ccd962c9 Credit where credit is due, fix alpha issue with light shader crumblingstatue 2023-04-06 19:29:00 +02:00
  • 45af69faa0 Shamelessly stolen light code crumblingstatue 2023-04-06 19:21:20 +02:00
  • d1df7cd472 Add basic lighting crumblingstatue 2023-04-06 18:40:34 +02:00
  • 45acd4c1ac Add note about supported platforms in design.md crumblingstatue 2023-04-06 17:41:45 +02:00
  • 26521fa880 Clippy crumblingstatue 2023-04-05 15:12:17 +02:00
  • 930f7aac47 Add very crude proof-of-concept worldgen crumblingstatue 2023-04-05 15:09:19 +02:00
  • 314d2eafa0 Add biome ideas to design document crumblingstatue 2023-04-05 01:45:27 +02:00
  • f18bb2e2cb Adjust music to new underground height crumblingstatue 2023-04-05 01:31:23 +02:00
  • c72b16a889 Adjust surface to generate above... surface level crumblingstatue 2023-04-05 01:00:13 +02:00
  • 462eede90f Adjust code to new 100,000 block limit crumblingstatue 2023-04-05 00:53:08 +02:00
  • 30dbddeaff Update world size in design doc crumblingstatue 2023-04-05 00:21:17 +02:00
  • c18fc3a265 Update design with new scaling. New goal at 35 kms deep. crumblingstatue 2023-04-05 00:16:09 +02:00
  • 608cd2ce23 Remove unused import crumblingstatue 2023-04-04 23:30:06 +02:00
  • 6c99beb47d Redesign the scaling of the game for depth to feel more meaningful crumblingstatue 2023-04-04 23:29:32 +02:00
  • d6f3eb07f2 Lower default player hspeed to 3.0 crumblingstatue 2023-04-04 20:30:28 +02:00
  • 05c516e210 Display player speed in km/h crumblingstatue 2023-04-04 20:18:27 +02:00
  • 9b4d0c8cf7 Design: Add note about multiplayer crumblingstatue 2023-04-04 19:29:49 +02:00
  • 7745437642 Add hspeed meter crumblingstatue 2023-04-04 19:19:57 +02:00
  • 0f34f18bc0 Precalculate tile collision entities for increased coll check perf crumblingstatue 2023-04-04 19:16:12 +02:00
  • ffcd4e3418 Add notes about map size crumblingstatue 2023-04-04 18:35:34 +02:00
  • 36ea9ed75d Make camera controls WASD too crumblingstatue 2023-04-04 17:49:32 +02:00
  • ff6dcca482 Fix some clippy warnings crumblingstatue 2023-04-04 17:19:16 +02:00
  • c94beea85e Update cave music crumblingstatue 2023-04-04 16:32:38 +02:00
  • 9e9f44b5e5 Add cave music crumblingstatue 2023-04-04 01:04:16 +02:00
  • 0a345aae5e Make surface and cave generation make more sense crumblingstatue 2023-04-04 00:19:10 +02:00
  • 134e03db7e MakMake music loop and make volume adjustable crumblingstatue 2023-04-03 23:45:37 +02:00
  • 69b022ea02 Add music crumblingstatue 2023-04-03 23:36:45 +02:00
  • 20409e3ee2 Add tile placement crumblingstatue 2023-04-03 22:21:36 +02:00
  • be1bc9ca9e Fix infinite jumps crumblingstatue 2023-04-03 22:11:07 +02:00
  • 6df84ed6e3 Make player placeable in freecam mode with P button crumblingstatue 2023-04-03 21:58:52 +02:00
  • ccdacbfa45 Add background and foreground tile layers crumblingstatue 2023-04-03 21:44:08 +02:00
  • 1f0cd8050c Change to WASD movement crumblingstatue 2023-04-03 18:59:55 +02:00
  • 4c9fe26ec9 Tweak gravity crumblingstatue 2023-04-03 18:46:40 +02:00
  • 413875909e Make collision work horizontally crumblingstatue 2023-04-03 18:33:11 +02:00
  • f07bd9c713 Add basic block selection with mouse crumblingstatue 2023-04-03 18:12:36 +02:00
  • 98965a8c86 Allow changing player position in debug panel, add terminal velocity limiter crumblingstatue 2023-04-03 17:52:32 +02:00
  • beabf269e5 Add basic player physics crumblingstatue 2023-04-03 17:39:49 +02:00
  • 5a6fe33e1e Add player entity crumblingstatue 2023-04-03 15:37:14 +02:00
  • 6ca737f36c Add unbreakanium layer at bottom crumblingstatue 2023-04-03 14:34:31 +02:00
  • 312e9959ab Add ideas scratchpad crumblingstatue 2023-04-03 14:34:18 +02:00
  • 165577e516 Raise stone layer up a bit crumblingstatue 2023-04-03 12:43:59 +02:00
  • bb25d62561 Add a surface/underground divide crumblingstatue 2023-04-03 12:41:27 +02:00
  • 6f1c351b5f Use saturating arithmetic for keyboard camera movement crumblingstatue 2023-04-03 12:29:31 +02:00
  • 91cd644b8c Add keyboard input for camera movement crumblingstatue 2023-04-03 12:24:43 +02:00
  • 0aa2781c25 Display horizontal offset from center crumblingstatue 2023-04-03 12:08:57 +02:00
  • d41032dbcc Scale back coordinate types for new 50 km limit crumblingstatue 2023-04-03 12:01:59 +02:00
  • 64735c7455 Scale back depth of game. crumblingstatue 2023-04-03 11:53:18 +02:00
  • 045977f800 Adjust surface to be higher up crumblingstatue 2023-04-03 11:21:22 +02:00
  • 7918b54520 Display depth of camera offset crumblingstatue 2023-04-03 11:19:29 +02:00
  • 6e2ab5837b Make chunk coordinate type 32 bits crumblingstatue 2023-04-03 11:01:12 +02:00
  • becc441955 Make chunk pos scalar unsigned crumblingstatue 2023-04-03 10:52:04 +02:00
  • 2480c48cbf Define world center crumblingstatue 2023-04-03 10:50:07 +02:00
  • f69d05bed0 Rename for_each_tile to for_each_tile_on_screen crumblingstatue 2023-04-03 10:37:36 +02:00
  • cc7a0d8b9b Fix screen offset calculation when drawing tiles crumblingstatue 2023-04-03 10:37:02 +02:00
  • 2a2c8f721c Eliminate negative coordinates crumblingstatue 2023-04-03 10:32:20 +02:00
  • 67b2098ffb Remove unused commented out code crumblingstatue 2023-04-02 17:17:31 +02:00
  • 7dba1b22e3 Fix world pos to tile pos calculation for negative values crumblingstatue 2023-04-02 12:10:11 +02:00
  • 62bd6b2c7c Fix local tile offset calculation for large coordinates crumblingstatue 2023-04-02 11:53:54 +02:00
  • 38699c9d09 Take into account negative coords in chunk offset calculations crumblingstatue 2023-04-02 10:21:57 +02:00
  • 49c47ac718 Super basic map rendering crumblingstatue 2023-04-02 00:30:03 +02:00
  • 5e539d668f Render some tiles crumblingstatue 2023-04-01 23:43:46 +02:00
  • 7a3018c2b1 Use the world "tile" instead of "block" crumblingstatue 2023-04-01 21:03:09 +02:00
  • fbc7e35f9e Add tile graphic crumblingstatue 2023-04-01 21:01:14 +02:00
  • d78726eb5b Add some world defs crumblingstatue 2023-04-01 20:12:09 +02:00
  • 608f8f9f9f design: Remove width limit crumblingstatue 2023-04-01 19:38:19 +02:00
  • c382ad21bf design: Add some details crumblingstatue 2023-04-01 17:55:53 +02:00
  • ebf45e3c15 Add some clarifications to premise crumblingstatue 2023-04-01 17:33:59 +02:00
  • 1011009d46 Add design doc crumblingstatue 2023-04-01 17:33:25 +02:00
  • 98d3634455 Center window on startup crumblingstatue 2023-04-01 15:07:58 +02:00
  • d5c9e24201 Initial commit crumblingstatue 2023-04-01 14:51:52 +02:00