|
4bea9618b2
|
Added min and max size support for the world generator addon.
|
2022-08-04 22:35:22 +02:00 |
|
|
ffe566b0ac
|
Removed parent_positions from WorldGenBaseResources, and also removed the setup() method. I'ts better this way, as they are resources, and now they can be reused (even though the gui itself doesn't support it). Spawning code is also simpler.
|
2022-08-04 20:05:19 +02:00 |
|
|
0ae9d239a4
|
Reworked how spawn positions work in the world_generator addon. Now all resources have ovverridable methods, and all of them are collected based on those. Also now the spawner works in local space.
|
2022-08-04 19:40:21 +02:00 |
|
|
99b786e5a5
|
add_slot in ResourcePropertyList.gd will now return the expected index.
|
2022-03-09 18:31:54 +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 |
|
|
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 |
|
|
d252a2e977
|
Set up a base ocean layer for the world.
|
2022-03-08 18:21:59 +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 |
|
|
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 |
|
|
926922572f
|
Moved the world_generator folder under scripts.
|
2022-02-12 20:06:13 +01:00 |
|
|
232aae5726
|
Updated the modules to the latest. I changed the Terra and Terraman class prefixes to Terrain.
|
2022-02-08 14:44:37 +01:00 |
|
|
c3a51582c4
|
Don't let world editor's property list's refresh get called muliple times in a frame.
|
2022-01-22 00:22:01 +01:00 |
|
|
42c91d88d9
|
Implement undo redo for world editor's property list checkboxes aswell.
|
2022-01-22 00:16:21 +01:00 |
|
|
994d9447f3
|
Added undo redo support for world generator's property list aswell.
|
2022-01-22 00:08:07 +01:00 |
|
|
f3c9129171
|
Implemented undo redo support for world generator's DataList.
|
2022-01-21 23:57:37 +01:00 |
|
|
be14831b47
|
Undo redo support for world generator's RectView.
|
2022-01-21 23:24:55 +01:00 |
|
|
181189f515
|
Now the world generator's editor plugin distributes the plugin itself to every class that will need it.
|
2022-01-21 22:58:14 +01:00 |
|
|
31ad20843f
|
Remove a hseparator.
|
2021-12-27 22:26:08 +01:00 |
|
|
ef03b30dfe
|
Now HSeparators can also be added to the property inspector.
|
2021-12-27 22:25:37 +01:00 |
|
|
cae4735ae2
|
Added separators to the property inspector. Also moved the content up above the new properties.
|
2021-12-27 22:22:07 +01:00 |
|
|
e13be6f3f5
|
Added a class and script property by default to the property inspector.
|
2021-12-27 22:20:09 +01:00 |
|
|
f9662ed967
|
Added a resource property.
|
2021-12-27 22:05:57 +01:00 |
|
|
1dd6aa25f4
|
Add the locked property to the property inspector.
|
2021-12-27 22:05:08 +01:00 |
|
|
e0cb83ffe2
|
Fix signal already connected errors.
|
2021-12-27 18:00:10 +01:00 |
|
|
ff2579bd04
|
Now RectView will also change / zoom the margins.
|
2021-12-27 17:58:33 +01:00 |
|
|
b45e197d69
|
Now RectView's zoom will resize everything, instead of just setting rect_scale.
|
2021-12-27 17:56:44 +01:00 |
|
|
1cb11ca32a
|
Fix hit stack calculation.
|
2021-12-27 14:27:33 +01:00 |
|
|
82435d4c59
|
Added parent pos setup to the world generator resources.
|
2021-12-27 03:48:55 +01:00 |
|
|
808c8e97d3
|
Now terra chunks are actually properly generated by placing chunks on the world generator's grid.
|
2021-12-27 02:38:05 +01:00 |
|
|
0cbf540e30
|
RectViewNodes now convert between yup and ydown coordinate systems to store rect.position.ys.
|
2021-12-27 02:36:52 +01:00 |
|
|
0c96328005
|
Ported the current world generator to the new addon. Now the world in-game uses the new world generator's resource to generate the terrain.
|
2021-12-26 21:14:41 +01:00 |
|
|
3adfad40a2
|
Added a seed parameter to the world generation methods.
|
2021-12-26 19:08:45 +01:00 |
|
|
47c49b56ab
|
Added the needed methods for terrain generation.
|
2021-12-26 19:05:48 +01:00 |
|
|
8453518e8b
|
Added a class selector to the world editor on add.
|
2021-12-26 18:52:23 +01:00 |
|
|
4ff14380a1
|
Added a new WorldGeneratorSettings resource which can store and load in world generator related classes from folders.
|
2021-12-26 18:51:46 +01:00 |
|
|
9cac983ff5
|
Added a new get_editor_class to the WoirldGeneratorBaseResource, and now the RectViewNode will also render it if it's not an empty string.
|
2021-12-26 18:50:09 +01:00 |
|
|
f739cca1f4
|
Now the added resource's rect gets recalculated on add_content() instead in create_content()
|
2021-12-26 18:48:29 +01:00 |
|
|
0a0f4ee865
|
The RectEditor now will only set a margin of max 50.
|
2021-12-26 13:10:15 +01:00 |
|
|
193ed69fef
|
Also made the delete and duplicate buttons work for the zones editor and continent editor.
|
2021-12-26 00:28:32 +01:00 |
|
|
cc6669bb12
|
Implemented delete and duplicate buttons in world. Also made sure that the inspectors update properly after the edited resources change.
|
2021-12-26 00:25:30 +01:00 |
|
|
829b01b72f
|
Set up proper drawing for RectViewNode. it grabs the required parameters from new methods in WorldGenBaseResource.
|
2021-12-26 00:03:17 +01:00 |
|
|
61b66b4109
|
Reduce the scale border's size to 5.
|
2021-12-25 23:41:50 +01:00 |
|
|
7b4f044f43
|
Fixed keeping zoom in RectView.
|
2021-12-25 23:34:33 +01:00 |
|
|
11aa1e1b6a
|
Set up the rect property to expand horizontally.
|
2021-12-25 23:20:40 +01:00 |
|
|
a8dfb9a156
|
Fix label.
|
2021-12-25 23:14:51 +01:00 |
|
|
10ee9bb44a
|
Similar cleanups to the SubZone editor.
|
2021-12-25 23:14:02 +01:00 |
|
|
1fa6903106
|
Cleaned up the methods in the Zone editor. Also fixed a few smaller usability issues.
|
2021-12-25 23:09:56 +01:00 |
|
|
900f402370
|
Set up the subzone editor.
|
2021-12-25 12:31:36 +01:00 |
|
|
0b74e33fc8
|
Set up the zone editor.
|
2021-12-25 12:18:59 +01:00 |
|
|
200a030882
|
Zero the positions of the created contents.
|
2021-12-25 11:30:22 +01:00 |
|