Commit Graph

1827 Commits

Author SHA1 Message Date
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
f10ade5b57 re-generate normals for the character meshes. 2022-02-14 14:20:12 +01:00
05ff25e41a Fix normal generation for mdr ed. 2022-02-14 14:19:37 +01:00
9e2504834b Updated the modules. I fixed a few bugs. 2022-02-14 13:41:24 +01:00
d23be2b1f0 Updated the modules. I only improved the readme in 3 of them. 2022-02-13 20:32:58 +01:00
b9a67218cd Increase the size of the floating particles a bit. 2022-02-13 18:22:29 +01:00
f4c05de692 Increase the minimum size of the smoothed terrain below the teleporter by one. 2022-02-13 18:20:33 +01:00
e773393ce9 Added a new floating magic particle effect to the dungeon teleporters. 2022-02-13 18:16:45 +01:00
04ec4d2ad9 Moved the current textures under a world folder in the textures folder. 2022-02-13 17:57:29 +01:00
3e88eaaa11 Fixed dungeon spawner spawn locations both in the test dungeon and in the world. Also now in the world the generator creates a little plateau for them. 2022-02-13 17:52:33 +01:00
11912f0a85 The dungeon teleporter is now a super simple obelisk. 2022-02-13 17:05:17 +01:00
c2b76ea2f4 Re-enable the changed event before returning early in uv_unwrap(). 2022-02-13 16:42:53 +01:00
cf5dcf4512 Fix the undo redo action's name for unmark seam. 2022-02-13 16:39:42 +01:00
fa1a945319 Fix face deletion in mdr'es when more that one face is selected. 2022-02-13 16:14:34 +01:00