Commit Graph

1783 Commits

Author SHA1 Message Date
59a4fcfc70 Allow setting abase color per map for vertex light 2ds. Also added VertexLight2DEnvironment Node so it can be changed easily using the SceneTree. 2024-03-26 16:29:02 +01:00
b353267679 Use blending for now with vertex lights in Layered Tile Maps. 2024-03-26 14:10:41 +01:00
af243a1111 Fix issues with vertex lights. 2024-03-26 14:10:14 +01:00
6e8073bbb6 Initialize layer_range properly. 2024-03-26 14:09:31 +01:00
f3d4f20344 Fix small issues with VertexLight2D. 2024-03-26 14:09:16 +01:00
6762e597e6 Properly initialize the quadrant size of maps. 2024-03-26 13:24:46 +01:00
fa68cf6872 Set up vertex lights 2d support for Layered Tile Maps. 2024-03-26 13:07:57 +01:00
645eba011b Small tweak. 2024-03-26 12:14:45 +01:00
862ab3c5ca Added a map changed signal to the VertexLights2DServer. 2024-03-26 12:11:00 +01:00
d2ed14cf26 Implemented vertex light 2d sampling. 2024-03-26 06:47:28 +01:00
42171f1fa2 Added attenuation and range properties to vertex light 2ds. 2024-03-25 21:55:27 +01:00
d08718051d Fix windows build. 2024-03-25 08:10:36 +01:00
8a567fdfa5 Added an icon for VertexLight2D. 2024-03-24 22:19:18 +01:00
3fc75ad15f Set up VertexLight2D maps. 2024-03-24 22:14:26 +01:00
02fe45b08a Added enabled property for VertexLight2Ds. 2024-03-24 22:05:00 +01:00
9df448113d Set up transform notification for VertexLight2D. 2024-03-24 21:55:18 +01:00
9ce6ebc1b5 Also set VErtexLight Properties in the server. 2024-03-24 21:50:34 +01:00
1bc9424bc8 Initialize color to white. 2024-03-24 21:46:54 +01:00
26ca3d7235 Added VertexLight2D Node. 2024-03-24 21:45:06 +01:00
e6fcd72b66 Renamed VertexLights2D to VertexLights2DServer. 2024-03-24 21:19:33 +01:00
66a2d798b3 Implemented api and data storage for the VertexLights2D singleton. 2024-03-24 20:57:35 +01:00
e3c63958d7 VertexLights2D singleton better data setup. 2024-03-24 18:02:13 +01:00
fb032a2f20 VertexLights2D Singleton initial setup. 2024-03-24 17:11:10 +01:00
0d23e04aff Disabled the new module. It still needs more thinking. 2024-03-24 12:19:09 +01:00
fb90408570 Added VertexLightData3D class. 2024-03-20 20:27:56 +01:00
8375f17c42 Created a new VertexLights3D module. 2024-03-20 17:54:39 +01:00
f270c67ca1 Improved Light setup in PropInstance. 2024-03-18 09:12:02 +01:00
a52a68afb7 Added more properties to PropDataLight and other light helper classes. 2024-03-18 08:38:27 +01:00
e63a88836c Added Material and merger support for PropDataMergeGroup. 2024-03-17 23:45:53 +01:00
5ae8d147f0 Added Material support for PropDataProp. 2024-03-17 23:42:39 +01:00
f3745546c1 Re-extracted class docs. 2024-03-17 22:48:15 +01:00
018f59305e Added a new PropDataMergeGroup Node for props. 2024-03-17 22:48:05 +01:00
5e4b6182f1 Enable and fix LayeredTileMap2DNavigationGeometryParser2D. 2024-03-17 14:39:34 +01:00
d395657ee1 Now CharacterSkeleton2D inherits from YSort. It disables sorting by default, so the default behaviour won't change. 2024-03-17 14:15:52 +01:00
5b18493589 Small tweaks. 2024-03-17 14:06:44 +01:00
db7f5c8bec Don't free the editor's UndoRedo. 2024-03-17 10:40:34 +01:00
d088565d3f Fix typo. 2024-03-17 10:35:40 +01:00
9a6e66b711 Fix the name of the rao_noise property. 2024-03-17 08:27:58 +01:00
4f072898a6 Added missing icons. 2024-03-13 17:18:28 +01:00
24dba4063e Added missing icon. 2024-03-13 16:50:11 +01:00
e34e374e38 Fix the positioning of the help text in LayeredTileSetAtlasSourceEditor. 2024-03-13 08:35:26 +01:00
7f48c0055a Fix positioning of the Center View buttons in the GenericTilePolygonEditor. 2024-03-13 08:27:32 +01:00
ab43d163ba Fix positioning of the Center View buttons. 2024-03-13 08:23:59 +01:00
7b72d180a5 Fix popup menu position. 2024-03-13 07:35:13 +01:00
2f87cf8230 Remove test print. 2024-03-13 07:07:20 +01:00
502f13a3f6 Fixed alternative tiles add icon sizing. 2024-03-13 07:06:14 +01:00
29ab4bf2c8 Use control instead of metakey as intended in the layered tilemap editors. 2024-03-12 23:26:04 +01:00
7789b60b2b Fix painting LayeredTileMap peering bits. 2024-03-12 23:21:43 +01:00
053b283c47 Reworked RendetingServer's canvas_item_add_texture_rect_animation's last parameter. Now instead of bool randomize_start_time it's real start_time. This should make it more versatile. 2024-03-12 17:52:12 +01:00
be686f5db4 Update the tiles properly when a rao setting changes. 2024-03-12 06:07:44 +01:00
16699e7b5f Implemented RAO for LayeredTileMaps. 2024-03-12 00:51:00 +01:00
ea3317d12e Make use of the new randomize_start_time parameter of RenderingServer::canvas_item_add_texture_rect_animation() in LayeredTileMap. 2024-03-11 20:53:45 +01:00
8cc6506c27 Reimplement animations for LayeredTileMaps. 2024-03-11 18:21:31 +01:00
d38e9256b6 Fix position of popups in LayeredTileSetAtlasSourceEditor. 2024-03-11 15:40:43 +01:00
fd5ed33a7b Set up EditorInspectors for LayeredTileMaps properly. 2024-03-11 15:35:32 +01:00
93d90fb69d Fix LayeredTileSetAtlasSourceEditor's dropdown property selector. 2024-03-11 14:13:09 +01:00
850b5b03ef Fix the sizing of LayeredTileSourceInspectorPlugin's show_id_edit_dialog. 2024-03-11 13:24:19 +01:00
ee7140fe51 Bind method. 2024-03-11 13:18:33 +01:00
5435987237 Fix the sizing of the LayeredTileSetScenesCollectionSourceEditor. 2024-03-11 13:16:22 +01:00
fb99db4585 Re-extracted class docs. 2024-03-10 10:36:13 +01:00
0e32e11ea1 Small LayeredTileMap doc fixes. 2024-03-10 10:34:27 +01:00
b376573e8a Fix arguments of the _use_tile_data_runtime_update() vmethod. 2024-03-10 10:34:14 +01:00
f54b3c8a45 Updates to the LayeredTileMap modules's docs. 2024-03-10 10:29:38 +01:00
b3a5b516f7 Proper docs for WebServerSimple. 2024-03-10 10:24:16 +01:00
6f81a15fc0 Various doc fixes. 2024-03-10 10:10:02 +01:00
3f4cc73caa Updated docs for FileCache. 2024-03-10 10:09:19 +01:00
74c46ccfda Fix uninitialized variable. 2024-03-10 10:04:23 +01:00
aaf744aad0 Improve multipart filename handling a bit. 2024-03-10 09:32:01 +01:00
75e8f68a24 Use String::length(), even though in this case size() works too. 2024-03-10 09:16:43 +01:00
27d97cf766 Added optional force parameter to WebServerRequest::move_file(). Also various fixes and improvements to the new upload temp file system. 2024-03-10 09:07:13 +01:00
6addb02bbb Added new wwwroot_get_simplified_abs_path() helper to FileCache. Also improved the other path helper methods. 2024-03-10 08:21:24 +01:00
b96205f05f Use the sotred path when cleanin up temp files. 2024-03-10 07:07:38 +01:00
2f950e87d6 Only count request size when not writing to a file. 2024-03-10 07:05:25 +01:00
a993a5460c Make sure temp files directory exists when starting WebServerSimple. 2024-03-10 07:01:05 +01:00
f86c6440fb - Now WebServerSimple can also use temporary files for uploads.
- Added move_file() and is_file_moved()  helper methods to WebServerRequest.
- get_file_length() in WebServerRequest now returns uint64_t.
- Removed parse_files() from WebServerRequest. It's doesn't work well with how the http protocol works.
2024-03-09 23:39:33 +01:00
432478cb70 Fix index error. 2024-03-09 16:42:24 +01:00
3be690da76 Properly lock image. 2024-03-09 16:40:10 +01:00
c67d45375b Fix LayeredTileMapPattern::get_used_cells(). 2024-03-09 16:27:43 +01:00
fe901f22bd Fix tile selection indicator graphic. 2024-03-09 11:21:59 +01:00
de33138e87 Fix creating polygons in GenericTilePolygonEditor. 2024-03-09 10:33:18 +01:00
5359053613 Fix expand in GenericTilePolygonEditor. 2024-03-09 08:35:49 +01:00
bfaf5a6b75 Don't free the Editor's UndoRedo. 2024-03-09 08:17:36 +01:00
87be638698 Lock and unlock images in LayeredTileSetAtlasSource::_create_padded_image_texture. 2024-03-09 08:13:52 +01:00
068c83f71d Keep source flags when creating padded texture. 2024-03-09 08:11:08 +01:00
bfbe04e78c Fix method name. 2024-03-09 08:03:18 +01:00
3c79d3fd50 Bind method. 2024-03-09 08:00:37 +01:00
6ee714aab7 Updated all drop_data_fw method signatures. 2024-03-09 07:25:02 +01:00
626998dc26 Fixed panning in the LayeredTileMap editor. 2024-03-09 06:56:11 +01:00
3c6f55cf3f Added the center view icon from godot4. 2024-03-09 06:42:50 +01:00
dbcb0ac6d9 Fix binding a method twice. 2024-03-08 10:59:25 +01:00
5356c1a7ea Fix typo. 2024-03-08 07:04:29 +01:00
9116814193 ItemLists does not support negative indexing. 2024-03-08 07:01:04 +01:00
a94f302003 Call the proper method. 2024-03-07 23:33:19 +01:00
66dcbb02b0 Fix calling method from signal. 2024-03-07 23:27:50 +01:00
7dc0eda074 Added missing icon. 2024-03-07 23:22:26 +01:00
f4d728b08e Use better popup() method. 2024-03-07 23:20:20 +01:00
ce1200e5ea Add missing icons for the layered tile map editor. 2024-03-07 23:15:46 +01:00
2702aa5d65 Fix theme changed notifications for the layered tile map's editor. 2024-03-07 22:56:23 +01:00
564469a118 Add missing GDClass macro. 2024-03-07 22:55:46 +01:00
ffb4c9eef7 Use clip tabs. 2024-03-07 21:58:09 +01:00