Commit Graph

1148 Commits

Author SHA1 Message Date
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
c21970b82f Also add the initial rect size setup code to Continent and Zone. 2021-12-25 03:26:33 +01:00
b7b36d47ab Set the selected continent into the widgets. 2021-12-25 03:25:42 +01:00
b30016bc28 Set up continent select dropdown. 2021-12-25 02:52:21 +01:00
65562c6523 Set the world into the continent editor. 2021-12-25 02:33:43 +01:00
c34b629b26 Move World's setup to the World class. 2021-12-25 02:32:00 +01:00
ba1c85b729 Set up the Continent editor's base ui. 2021-12-25 02:29:30 +01:00
13428b9a33 The world tab is now it's own scene. 2021-12-25 02:18:20 +01:00
87e4318e06 Implemented editing the names of resources in the DataList widget. 2021-12-25 02:15:17 +01:00
4cc9baf23b When adding a continent the world will set up a base size now. 2021-12-25 01:55:52 +01:00
6c438c97f4 Set the edited resource's rect after drag. 2021-12-25 01:51:35 +01:00
d07f9c4949 Fix RectViewNode's _draw(). 2021-12-25 01:48:56 +01:00
a4367ee257 Fix dragging. 2021-12-24 22:32:45 +01:00
9641d29001 Fix cursor switching on the borders in RectViewNode. 2021-12-24 22:25:56 +01:00
1a3a95809a Ported drag and resize code from godot's window dialog as a base for RectViewNode. 2021-12-24 22:20:30 +01:00
9aa18a9278 Implement zoom for RectView. 2021-12-23 18:08:13 +01:00
dd7024c0ed Basic RectView functionality. Renamed RectEditorNode to RectViewNode. 2021-12-23 17:45:36 +01:00
6b388b3c1b Removed stray print. 2021-12-23 16:51:59 +01:00
9c4c30b821 RectView basic setup. 2021-12-23 16:46:54 +01:00
c2e75ef147 Added a rect2 property. And started working on the rect editor. 2021-12-23 00:45:32 +01:00
3f7f5c0e07 Implement basic data list node. Also fix error spam. 2021-12-22 16:52:06 +01:00
afc929350b Work on the world editor. Also added a property editor similar to mat_maker_gd's nodes. 2021-12-22 16:15:39 +01:00
e44d367c0e Now world generator's resources inherit from a new base resource. 2021-12-22 16:14:26 +01:00
3524c3bf7f Ported EditorZoomWidget from godot4. 2021-12-22 11:27:15 +01:00
855b1120ab Add some exports to world generator's resources. 2021-12-22 10:03:55 +01:00
bbcd340cff Add a space to the text of the button that appears on the bottom. 2021-12-22 10:02:55 +01:00
e3f73103af Fix error. 2021-12-21 21:57:15 +01:00
5723a11825 Initial class and plugin setup. 2021-12-21 21:50:22 +01:00
c3093be0d4 Added a new world generator addon. 2021-12-21 21:25:35 +01:00
a643072963 Fixed missing VoxelWorld class error. 2021-12-19 14:20:47 +01:00
18b9a02e31 Updated the engine. 2021-12-19 13:19:12 +01:00
56866e65ba Updated mat_maker_gd. 2021-12-18 20:44:28 +01:00
991f327682 Fix 2 errors in mesh_data_resource_editor when a mesh data resource is empty. 2021-11-17 15:31:04 +01:00
19820f1522 Updated the engine to the latest. 2021-11-17 14:06:29 +01:00
baf4c89ce1 Small cleanups to transforms.gd. 2021-11-12 01:04:39 +01:00
0cb0559118 Color tiler node for mat_maker_gd. 2021-11-06 11:50:39 +01:00
1b9450cc74 Tiler node for mat_maker_gd. 2021-11-05 22:15:30 +01:00