Commit Graph

1403 Commits

Author SHA1 Message Date
c7900bf439 Updated the engine. I fixed the new errors in the console during editor startup. 2022-03-22 09:41:55 +01:00
f0b6dfa434 Updated the engine. I added Vector2i, Vector3i, Rect2i, PoolVector2i, PoolVector3i, and StringName support for variants. Also smaller improvements, and backports. 2022-03-22 02:14:33 +01:00
dbcb202914 Updated the engine. I removed TMeshInstance. 2022-03-20 14:16:46 +01:00
9414a841a1 Updated the engine. 2022-03-16 03:09:59 +01:00
c923ce1918 Moved the spawner a bit. 2022-03-11 12:57:08 +01:00
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
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
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
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
99064a639a Updated terraman. I renamed voxel_surface methods/properties to terra_surface. 2022-02-18 21:31:15 +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
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
df071af39c Now the dungeon teleporters switch between 2 materials for hover / normal states. This way only the hovered one will light up, instead of all. Also reworked them to use mesh data resources. 2022-02-13 15:52:19 +01:00
4a907a37c5 Categorize the textures using folders. 2022-02-13 15:32:36 +01:00
e39afd1ebd Make the dungeon teleporters inherited fomr a newly added scene. They are still the same for now. 2022-02-13 15:30:22 +01:00
7aee50c2ea Also moved the vman dungeon script. 2022-02-13 15:12:27 +01:00
eeff6412d9 Moved the dungeon teleporter scripts. 2022-02-13 15:12:00 +01:00
94f322cbd2 Moved the dungeon script from under world to scripts. 2022-02-13 15:11:22 +01:00
b131b94211 Rename the dungeon script in scripts. 2022-02-13 15:10:46 +01:00
8602e29571 Moved the textures from under world to the root of the project. 2022-02-13 15:08:32 +01:00
baf7f9f2ca Moved the low poly rpg item collections under models. 2022-02-13 15:07:17 +01:00
24d0e671ef Implemented rotation for the uv editor. 2022-02-13 13:45:33 +01:00
1ff20f8238 Fixed the character's head's uv mapping. 2022-02-13 12:57:37 +01:00
05f1c2c365 Implemented horizontal and vertical mirroring for the uv editor. 2022-02-13 12:57:18 +01:00
8ae0b5b236 Set up events for the new buttons. 2022-02-13 00:34:45 +01:00
a0a090ace9 Implement uv rect selection for mdr ed. 2022-02-12 23:37:19 +01:00
e729a31803 Added mirror and rotation buttons to the uv editor. They are not yet implemented. 2022-02-12 22:59:36 +01:00
e44e4c1366 Fixed godoxel's save file dialog. 2022-02-12 22:22:40 +01:00
8b3d15d69c Fix paths for the world generator. 2022-02-12 20:32:20 +01:00
23f25572d8 Rename the default bus layout. 2022-02-12 20:31:57 +01:00
1594425e98 Moved the input map editor scene. 2022-02-12 20:26:38 +01:00
a6ca21be99 Keep the modules folder around in git. 2022-02-12 20:23:44 +01:00
fbbb5cf410 Moved the core folder out from modules too. 2022-02-12 20:22:15 +01:00
df781c9d2f Moved the debug camera. 2022-02-12 20:19:00 +01:00
f9ef137d17 Moved the texture tools under a new tools directory. 2022-02-12 20:18:02 +01:00
82f012dd22 Also moved the menu folder under scenes. 2022-02-12 20:09:30 +01:00
926922572f Moved the world_generator folder under scripts. 2022-02-12 20:06:13 +01:00
e93dbcaeb0 Moved the world scene and it's dependencies under scenes/world. 2022-02-12 20:03:17 +01:00
afb1ad62d4 Moved the ingame menu and interface settings to a different folder. 2022-02-12 19:59:26 +01:00
f98be58531 Moved the login and register menu. 2022-02-12 19:57:54 +01:00
4d304f61c3 Moved the about, keybind, and options window to a new folder. 2022-02-12 19:56:40 +01:00
a35d3152ba Move the nameplates and world numbers. 2022-02-12 19:53:45 +01:00
17b0381bf5 Move the ImageButton for the player ui. 2022-02-12 19:52:07 +01:00
be23612409 Move the keyboard tab container script. 2022-02-12 19:50:30 +01:00
1f89520312 Move it to a better folder. 2022-02-12 19:49:56 +01:00
cb57dafa07 Also move the window script. 2022-02-12 19:49:14 +01:00
04b43919bb Moved the ingame basic player ui elements into a new subfolder. 2022-02-12 19:45:36 +01:00
ae3558d270 Moved the entity classes folder. 2022-02-12 19:26:05 +01:00
287ce1e3d6 Moved the planets folder. 2022-02-12 19:15:36 +01:00
8d36457310 Moved the spell effects folder. 2022-02-12 19:10:23 +01:00
2a56e51324 Moved the shaders to a new folder. 2022-02-12 19:07:45 +01:00
0e5e1e2c0f Moved the icons. 2022-02-12 18:52:10 +01:00
02cc46c350 Moved the human model. 2022-02-12 18:50:03 +01:00
a5cd083be4 Moved the test things. 2022-02-12 18:47:23 +01:00
73e37907e6 Moved the materials to a new folder. 2022-02-12 18:46:03 +01:00
e9b0e5629c Moved the crypt entrace test assets. 2022-02-12 18:43:01 +01:00
4a4f1ea3db Also moved the core models folder. 2022-02-12 18:38:01 +01:00
9fd777a546 Moved the test weapons folder into a new models/weapon s folder, and renamed it properly. 2022-02-12 18:36:58 +01:00
309027d440 Reorganized the test weapons folder. Also turned the meshes to native mesh data resources. 2022-02-12 17:52:14 +01:00
39d97244e4 Fix typo. 2022-02-12 16:52:19 +01:00
c31098cad8 Check whether the current mesh data instance is still ok, and unset if it gets freed in mdr ed's plugin. This can happen in the editor while messing around with scenes. 2022-02-12 14:35:56 +01:00
5f23fbef45 Removed the original armature source files. 2022-02-12 00:10:43 +01:00
62391b0178 Move the character's armature into a new native godot scene, and switched to inheriting from that. 2022-02-12 00:07:12 +01:00
43987d8406 Removed the tree's gltf file. 2022-02-11 23:44:59 +01:00
7c379a5e15 Same the tree as a straight mesh data resource. Also replace the tree's gltf with the new tres. 2022-02-11 23:41:34 +01:00
f62aedfeab Rename the imported tree mesh's derived stuff. 2022-02-11 23:39:26 +01:00
34b3586063 Removed the blender, and gltf files of the character's bodyparts. 2022-02-11 22:19:30 +01:00
cc4597ff45 Replaced all links to the character's parts with the new tres version. 2022-02-11 22:16:51 +01:00
6801d14b89 Transfer the seams from the blender projects. I did change some of the a little. Also apparently I will need to implement uv island mirroring, and rotation for mdr ed, so the current character will look a bit worse than usual for probably a few days. 2022-02-11 22:12:31 +01:00
d7c64334dc Re generate normals. 2022-02-11 19:25:36 +01:00
0707a9fa84 Fix normal (re)generation in mdr ed. 2022-02-11 19:25:27 +01:00
2d38189554 Add the seams, and unwrap / optimize calf left again. 2022-02-11 19:22:59 +01:00
0b94071aa1 Flip the incorrect faces in calf left. 2022-02-11 19:19:06 +01:00
1156387c58 Also save the character's bodyparts as tres. 2022-02-11 19:16:30 +01:00
0bae2dcf7c Remove the original files. 2022-02-11 19:13:04 +01:00
ba0191a6ec Found more references. 2022-02-11 19:12:53 +01:00
2b7ebebfcc Save the core models also as tres, and replace every instance of them to the tres variant. 2022-02-11 19:09:08 +01:00
7e05bda987 Added a flip face action to mdr ed. 2022-02-11 17:29:37 +01:00
bcebec81d4 Set the AuraFrame's mouse filter to ignore. This fixes the unclickable area at the top left of the screen. Hovering over individual auras will still work. 2022-02-11 16:23:49 +01:00
f85ad88081 Implement show_keybind_text and show_cooldown_text options. 2022-02-11 16:14:01 +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
467145d994 Disabled the plugin refresher addon. 2022-01-31 15:14:11 +01:00
3e4038a8ee Set clip content to true for godoxel's canvas's container again. I probably forgot to commit this the last time. 2022-01-31 14:40:42 +01:00
f14995f175 Increment version number. 2022-01-29 21:14:14 +01:00
0d4a4347f4 Added the module root to the data manager as a selectable fodler. 2022-01-28 18:42:33 +01:00
61cfc92beb Fix created face's orientation when only 3 verts are selected. 2022-01-28 13:58:17 +01:00
f080b6041e Fix typo. 2022-01-28 13:23:26 +01:00
fd0486ff7e Now pivot points also work for scaling. 2022-01-28 13:16:17 +01:00
15404a82d9 Now pivot points work for rotation. 2022-01-28 13:14:24 +01:00
aa70306e6b Improved mdr'eds tranlate action by a lot. Also work on pivot point support. 2022-01-28 13:12:10 +01:00
410d48d0fa Remove unused code, and added a helper method. 2022-01-28 11:01:03 +01:00
f1a8188dfa Proper rotation implementation. 2022-01-28 10:57:43 +01:00
43b70b854e Lots of improvements to translate and scale. Initial (bad for now) rotation implementation. 2022-01-28 10:25:47 +01:00
d2beb36e2c Make sure to only apply a drag operation to a vertex only once. 2022-01-28 10:08:05 +01:00
ce1c408bc2 Implemented the clean mesh action. 2022-01-27 20:34:49 +01:00
38f6c15f36 Now the new edges are automatically selected after an extrude. 2022-01-27 19:32:43 +01:00
53f01ae370 Use the new delaunay triangulation for the add face action in case more than 3 verts are selected. 2022-01-27 19:26:47 +01:00
bb8eebfc0b Remove stray print. 2022-01-27 17:34:24 +01:00
b2c3f6c4e7 Handles can be dragged properly again without them sticking to the mouse pointer. 2022-01-27 17:25:42 +01:00
1c6c2a6931 Hide the vertex split operation for now as it's not implemented. 2022-01-27 17:12:34 +01:00
7622f36b44 Decreased them by a little. 2022-01-27 17:09:33 +01:00
dca6a0c960 Now mdr ed's handle markers have a fixed size. 2022-01-27 17:08:46 +01:00
e75b44089c Fix typo. 2022-01-27 17:04:04 +01:00
20276b77c7 Now every normal calculation in the mdred_mesh_utils.gd is done via hand instead of via the surface tool. This actually fixed the extrude algorithm. 2022-01-27 17:01:40 +01:00
0cd86b089c Added back the extrude button to mdr ed's sidebar, and implemented an extrude algorithm. I have high hopes for it, however it does not work at the moment, because SurfaceTool messes up the order of the triangles in the mesh after a normal generation, which I will fix soon. 2022-01-27 16:39:23 +01:00
fb044323a3 Made Godoxel's plugin return Paint as plugin name instead of Godoxel, as it looks better as a window tab name at the top of the editor. 2022-01-26 22:25:37 +01:00
78f97c94ea Now the history tab will try to fall back to use the resource name property if the text name property cannot be found. 2022-01-26 22:17:19 +01:00
da9b6703c9 Fix the resource pane. now it will properly show the folder entries. 2022-01-26 22:12:41 +01:00
9f1d06c7f8 Now clicking the fodler entries will again pass the relevant informations to the resource panel. 2022-01-26 22:09:47 +01:00
1ee8220992 Check whether the confirmed signal is already connected in the add folder dialog. 2022-01-26 21:14:30 +01:00
8b486e156b Now in data manager;s fodler tab each selected module will have an add folder button. Also implemented it. 2022-01-26 21:13:08 +01:00
d8f93baeba Now when a module is toggled on in the data manager, it will add entries to to folder tab, based on what folders are available in it. 2022-01-26 20:38:09 +01:00
33ea23e3c3 Added a modules tab to the data manager's main panel. Also made it collect all the modules in the project. 2022-01-26 20:21:35 +01:00
58d707c695 Check whether the the on_visibility changes signal is connected before attempting to connect it in data manager's main panel. 2022-01-26 19:40:36 +01:00
cdd8d73686 Now the data manager plugin's main scene uses the new settings class instead of the old json. It should work, but It's not yet setup correctly for the current directory / project structure though. 2022-01-26 19:37:46 +01:00
d4220bbbbb Mostly ported the old settings json for the data manager. 2022-01-26 19:17:59 +01:00
77111d0ee0 Implement a folders array for the data managers's settings resource similar to how the json used to be. 2022-01-26 18:58:49 +01:00
357900e87e Create the settings file with the .tres extension so it's not saved as binary. 2022-01-26 18:57:16 +01:00
965ecd5f18 Added a new settings resource class to the data manager addon, and made the plugin load and save it to a central folder. 2022-01-26 18:17:09 +01:00
3db96fec68 Brought in code from the DataManager singleton (which maybe should be renamed) to the data manager addon. Also disabled the addon's panel's _ready() for now, and enabled it. 2022-01-26 18:04:30 +01:00
1a509a9751 Added a description and a dependencies property to game module. 2022-01-26 17:46:44 +01:00
1ab2e6bd62 Also change it's name in it's cfg file. 2022-01-26 17:29:50 +01:00
0c096227e0 Change the data manager plugin's name to "Data". 2022-01-26 17:29:17 +01:00
9afecbc546 Fix paths. 2022-01-26 17:23:27 +01:00
644d5f22dc Renamed the module manager addon to data manager. 2022-01-26 17:20:44 +01:00
a9c36ff8b6 Only zoom with the scroll wheen when over the canvas. 2022-01-25 19:18:36 +01:00
f6de6a0a8a The tools should not be extended vertically. 2022-01-25 19:16:52 +01:00
2174b218d5 Changed Godoxel's middle section's root node's type to HBoxContainer and changed the left and right panel's type to PanelContainer. 2022-01-25 19:13:58 +01:00
20029bfec2 Changed the "NoBCViewportsnotworking26181" node in Godoxel to HBoxcontainer. This makes the the ui slimmer and more responsive. 2022-01-25 19:10:46 +01:00
bbde564348 Godoxel's navbar is now a HBoxcontainer instead of a normal container. 2022-01-25 19:07:52 +01:00
625f36b4b8 Now in godoxel you won't be able to draw behind other controls. 2022-01-25 19:02:14 +01:00
c8337cc505 Fix typo. 2022-01-25 18:15:38 +01:00
f465df60ee Added a HSeparator under the select all button. 2022-01-25 18:15:03 +01:00
72fec658ac Fix handle selection types when the mesh data instance is not at origin. 2022-01-25 18:11:52 +01:00
06f1785695 Implemented handle selection types. 2022-01-25 18:01:55 +01:00
0cf7be7fc7 Removed handle normals. 2022-01-25 15:53:59 +01:00
78993c214f Implemented handle normal calculation, and facing checks based on them for clicking. This doesn't work well, so it will be removed, but committing it because the normal calculations might come in handy later,. 2022-01-25 15:52:51 +01:00
a5cb7ab767 More setup and smaller fixes. 2022-01-25 15:21:20 +01:00
af604f845e Added handle selection types to mdi ed's sidebar, and set up events for them. 2022-01-25 14:47:18 +01:00
0d45bd0f97 Moved the selection codes to their own methods. 2022-01-25 14:34:53 +01:00
f71d65be85 Also make rect based selection work when dragging from right to left adn/or from down to up. 2022-01-25 14:24:14 +01:00
85a4fc8fd3 Implement rect based selection. Now alt also work as an unselect option, as while holding down ctrl, the selection rect won't show up in the editor. 2022-01-25 14:17:15 +01:00
44f3ab6c5e Rework mdr ed's gizmo so it's able to handle rect style selection later. 2022-01-25 13:32:03 +01:00
6f8525a44b Added a select all button to mdr ed's sidebar, and implemented it. 2022-01-25 12:55:42 +01:00
c950762d77 Reworked handle selection. Now you can only select one by default, and deselect with clicking far away from handles (when nothing is held down). Holding down shift will always append, and holding down control deselects one by one. 2022-01-23 23:03:02 +01:00
3ea93cf42c Actually implemented the visual indicator toggles. 2022-01-23 22:46:15 +01:00
1d9d5fba7c Add toggles for visual indicators to mdr ed's sidebar. 2022-01-23 22:26:08 +01:00
e54a90af07 Fix an another 2 typos. 2022-01-23 22:07:42 +01:00
6c02392f11 Fix a typo and copy pase error. 2022-01-23 22:05:28 +01:00
692a4feab6 Lock the Popup root node in mde ed's gui, so widgets can be selected in the editor again with clicking on them. 2022-01-23 22:04:08 +01:00
f05fea0924 Moved the pivot setting to the scroll container part of mdi ed's sidebar. 2022-01-23 22:01:30 +01:00
45a1f42e51 Transfer the current editing state from the active gizmo when a new mesh data instance is selected. Also smaller cleanups. 2022-01-23 01:58:43 +01:00
4ef0a39fa2 Only send events to the active MeshDataInstance gizmo from mdr ed's plugin. 2022-01-23 01:47:16 +01:00