Commit Graph

1790 Commits

Author SHA1 Message Date
0382f45cc2 Small tweaks. 2022-03-09 19:45:03 +01:00
2e8926a465 Small change to the test world. 2022-03-09 19:14:07 +01:00
5407ec44ce Fill the liquid isolevel channel with the water isolevel. 2022-03-09 19:13:38 +01:00
b649b10fba Also commit the test world generator resource. 2022-03-09 19:11:01 +01:00
194d611f27 Cleaned up the test continent. 2022-03-09 19:10:42 +01:00
b0dbbe94dd Make the zone transition a bit smoother. 2022-03-09 19:09:06 +01:00
c5f1ec4384 Now the forest is generated by the test zone. 2022-03-09 19:03:37 +01:00
3fc2096b27 Fix typo. 2022-03-09 18:50:44 +01:00
ec0ab8fe02 Added a h separator to the test continent's properties. 2022-03-09 18:50:11 +01:00
99b786e5a5 add_slot in ResourcePropertyList.gd will now return the expected index. 2022-03-09 18:31:54 +01:00
2923ee154a The test continent won't set surface types anymore. 2022-03-09 18:17:20 +01:00
67addb8e9d Now the default surface's id is customizable in the ocean base world. 2022-03-09 18:16:05 +01:00
c6fbc8cf9b The int properties for the world editor's ui now also use a HBoxContainer. 2022-03-09 18:10:03 +01:00
d7e133e446 Managed to figure out a way to make the new continent code work. Also made it the default. 2022-03-09 18:08:23 +01:00
953be13a66 Now the world generator addon's float properties use a hbox container, and their label is set to expand fill. 2022-03-09 18:06:21 +01:00
c8d6747e8c Added a new editor chunk spawn range property to the world. 2022-03-09 17:28:24 +01:00
1c8b0cf5ed Removed unneeded parameter. 2022-03-09 17:26:36 +01:00
45f5631763 Restored the old world generation algorithm. Also committing some experiments. 2022-03-09 10:36:11 +01:00
62990d5c9c Fix the ocean appearing even when the terrain height is greater than the water level. 2022-03-09 10:35:39 +01:00
5e907a9267 Cleanups to the test continent, and disabled the current generation algorithm in it. It will be moved around. 2022-03-08 21:00:11 +01:00
d252a2e977 Set up a base ocean layer for the world. 2022-03-08 18:21:59 +01:00
a3f4ddd852 Increase raycast height more, just in case. 2022-03-08 18:19:14 +01:00
3d7c70041f Raycast from higher up when placing entities. 2022-03-08 18:18:45 +01:00
ecdfb65aa7 Implement selecting the edited resource on clicking it's button in the world generator addon's EditorResourceWidget. 2022-03-08 18:12:11 +01:00
c2e2fe2a5f Updated terraman. Now the PCM library generates a liquid material, and also found / fixed a few race conditions. 2022-03-08 15:53:05 +01:00
b9fefd5c12 Created a new water tile. 2022-03-08 12:33:17 +01:00
45bb1ae8fa Also added undo redo support for the gradient editor when adding and removing colors. 2022-03-08 12:28:07 +01:00
7157df772c Also fixed the gradient editor popup thing. 2022-03-08 12:20:49 +01:00
48f5fbfcbb Also added undo redo support fro the gradient editor's interpolation type dropdown. 2022-03-08 12:12:14 +01:00
b17b7bb583 Added undo redo support form mat maker gd's gradient editor. This also fixes seamless color editing with it. 2022-03-08 12:08:30 +01:00
0ac7e7a2b6 Updated Terraman. Fixen a typo (transform_uv_scaled used the x coordinate in place of y) This makes the terrain's texture look seamless. 2022-02-26 23:40:06 +01:00
a4b8c913e5 Updated the modules. I fixed a few threading issues when spawning and despawning chunks extremely fast. This happens in the editor when the camera can go around really fast. 2022-02-19 22:57:31 +01:00
e6413c01f1 Reworked the in editor world generation logic. Now when the generate in editor property is set, the world generate chunks around the editor's camera. 2022-02-19 12:34:30 +01:00
8c5ea6e9fc Udpated Terraman. I added a helper method to the world to get the editor's camera. 2022-02-19 11:19:39 +01:00
6d4f0fe089 Added tool keyword to the dungeon teleporters, so they can be spawned in to the editor without errors. 2022-02-19 10:51:59 +01:00
64c39c4444 Added a new WorldGenRaycast class, and now world generator will use this instead of a stack and stack index to make the data available to the generation methods. Also added local uv to it. 2022-02-19 10:41:33 +01:00
230baeda0e Set up a liquid material. 2022-02-19 09:16:33 +01:00
bf695a310b Also set the liquid mesher. 2022-02-19 00:24:48 +01:00
52d51c477b Updated Terraman to the latest, liquids should work now. 2022-02-18 23:51:37 +01:00
99064a639a Updated terraman. I renamed voxel_surface methods/properties to terra_surface. 2022-02-18 21:31:15 +01:00
53a06817f5 Link to a live version on github.io now that the techical uv issues have been fixed. 2022-02-18 10:31:57 +01:00
fd21452ce7 Updated the modules. This fixes the uv mapping issues on the html5 backend. Also a few smaller logic fixes. 2022-02-16 21:10:41 +01:00
250f37c53d Import the weapons and armor pack's textures as packer image resources. This fixes their issues with uvs on the html backend. 2022-02-16 21:09:30 +01:00
e341267bb7 Fix material cache initialization logic for the CharacterSkeletonMeshJob. 2022-02-16 20:52:50 +01:00
96ff1b6d5d Created a uv debugger tool. 2022-02-16 20:51:35 +01:00
3b0c2d3d23 Connect to the deserialized signal in SpellBookWindow. 2022-02-15 00:26:59 +01:00
da3ed4df70 Added the world node to the save group. This fixes saving the character on exiting. 2022-02-15 00:26:26 +01:00
efd7168c94 Re-generate the normals for the teleporter. 2022-02-14 14:50:54 +01:00
0fc1da3def Added warning message when a normal ends up being zero to mdr ed's generate normal. Also set a proper default in this case. 2022-02-14 14:50:33 +01:00
ea1bf7020c Also re generate normals for the dungeon teleporter. 2022-02-14 14:21:12 +01:00