1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00
Commit Graph

10323 Commits

Author SHA1 Message Date
mechalynx
acf351fa6a Update PackedVector4Array description to include explanation shared by PackedArray classes 2024-11-22 07:12:56 +02:00
mechalynx
133cf62d26 Correct PackedInt64Array comparison in description
All Packed classes that have the same paragraph will compare the currently viewed Packed array type with the equivalent typed Array but here the comparison was with the Int32 version instead of the Int64 version
2024-11-22 06:23:06 +02:00
Thaddeus Crews
f952bfe998 Merge pull request #98972 from dbnicholson/standardize-add-defaults
Expose `TranslationServer::standardize_locale` `add_default` param publicly
2024-11-21 17:57:01 -06:00
Thaddeus Crews
0d8352bd96 Merge pull request #99511 from Mickeon/documentation-audio-stream-typo
Fix typo in AudioStream's documentation
2024-11-21 17:57:00 -06:00
Thaddeus Crews
d967befc42 Merge pull request #99465 from aaronfranke/arch-bit-has-feature
Suggest using OS.has_feature instead of the engine architecture name for bitness
2024-11-21 17:56:49 -06:00
Thaddeus Crews
0eca686191 Merge pull request #99270 from Sauermann/fix-svc-drop-config
Introduce a `SubViewportContainer` config for drag-and-drop target locations
2024-11-21 17:56:48 -06:00
Thaddeus Crews
1117d91704 Merge pull request #99200 from KingTheFifth/master
Document `AudioStreamPlayer.get_playback_position()` intentionally aways returning `0.0` when using `AudioStreamInteractive`
2024-11-21 17:56:43 -06:00
Dan Nicholson
6f4fadf65d Expose standardize_locale add_default param publicly
Comparing locales can have surprising outcomes since it standardizes
locales with defaults. For example, zh and zh_CN result in an exact
match since the defaults change them both to zh_Hans_CN. Expose the
add_default parameter publicly with a default of false so the fully
standardized locale can be inspected.
2024-11-21 16:50:31 -07:00
Micky
429ea1c8e3 Fix typo in AudioStream's documentation 2024-11-21 21:33:55 +01:00
Aaron Franke
f4c1f89add Suggest using OS.has_feature instead of the engine architecture name for bitness 2024-11-20 06:33:28 -08:00
Silc Lizard (Tokage) Renew
9ab94df772 Add explicit_elapse option to NodeSeek to handle some processes 2024-11-20 22:51:27 +09:00
Hugo Locurcio
0cf99cf95d Add a Viewport method to get automatically computed 2D stretch transform
`Viewport.get_stretch_transform()` returns the automatically computed
2D stretch transform. Combined with `Transform2D.get_scale()`, this is
useful when using the `canvas_items` stretch mode in a project.

There are many situations where knowing this factor is useful:

- Divide Camera2D zoom to keep the size of the 2D game world identical
  regardless of the 2D scale factor (so that UI elements can still be scaled).
- Make certain controls always drawn at 1:1 scale
  (e.g. for the crosshair in a FPS). This is done by dividing the Control
  node's scale by the scale factor.
2024-11-19 23:11:13 +01:00
Markus Sauermann
117158d271 Introduce a SubViewportContainer config for drag-and-drop targets
With the drag-and-drop rewrite, `SubViewportContainer` nodes were no
longer available as drop-locations.

This PR introduces a configuration option, that allows
`SubViewportContainer` to be considered as drop-location, but disables the
`Control` nodes inside its `SubViewport` children as drop-location.
2024-11-19 23:06:41 +01:00
Johannes Kung
3ab88c2e6a Document AudioStreamPlayer.get_playback_position() intentionally always returning 0.0 when using AudioStreamInteractive 2024-11-19 22:21:30 +01:00
Thaddeus Crews
e4dbba94d9 Merge pull request #99324 from TokageItLab/fix-fpe-spinner
Fix spinner in AnimationTrackEdit in FPS mode
2024-11-19 15:20:10 -06:00
ntlblpm
086d1ea2ac Update FileAccess.xml 2024-11-19 03:45:03 -05:00
Silc Lizard (Tokage) Renew
755bcf4737 Add root_motion_local option to AnimationMixer 2024-11-19 08:25:31 +09:00
Thaddeus Crews
fd4c29a189 Merge pull request #98683 from clayjohn/wireframe
Ensure shadow material and mesh are not used with wireframe mode
2024-11-18 09:23:54 -06:00
Thaddeus Crews
cf541f0997 Merge pull request #97656 from kitbdev/doc-textedit-improve
Improve TextEdit and CodeEdit documentation
2024-11-18 09:23:53 -06:00
Thaddeus Crews
0a50cef751 Merge pull request #98788 from Bonkahe/master
Add `multimesh_get_buffer_rd_rid` method to `RenderingServer`.
2024-11-18 09:23:46 -06:00
Thaddeus Crews
8e324c4589 Merge pull request #86195 from GreenCrowDev/curve3d_close
Add `closed` property to `Curve3D`
2024-11-18 09:23:38 -06:00
Thaddeus Crews
d72112ba0a Merge pull request #98816 from arkology/to-infinity-and-beyond
Improve `TextureProgressBar.set_radial_initial_angle()` by removing loops
2024-11-18 09:23:28 -06:00
Silc Lizard (Tokage) Renew
f5b49af99f Add RetargetModifier3D for realtime retarget to keep original rest 2024-11-18 22:44:55 +09:00
clayjohn
90b4b48b5a Ensure shadow material and mesh are not used with wireframe mode
And in the Compatibility renderer actually use the wireframe render mode
2024-11-16 22:25:00 -08:00
Silc Lizard (Tokage) Renew
e283fdfb59 Fix spinner in AnimationTrackEdit in FPS mode 2024-11-17 01:54:06 +09:00
matricola787
790efbb783 Implement closed path for Curve3d 2024-11-16 12:59:08 +01:00
Thaddeus Crews
e9ce3932b3 Merge pull request #98099 from dalexeev/pot-gen-add-comment-support
POT Generator: Add support for `TRANSLATORS:` and `NO_TRANSLATE` comments
2024-11-15 10:42:45 -06:00
Thaddeus Crews
1d5c589e71 Merge pull request #99212 from CW-Jesse/patch-1
Describe edge cases for `DisplayServer.get_screen_from_rect()`
2024-11-15 10:42:40 -06:00
Hugo Locurcio
d683ea4772 Update Z Index property location in Node2D class reference
The Z Index property is in CanvasItem since Godot 4.0, so it's shared among
Node2D and Control.
2024-11-15 15:02:10 +01:00
Jesse
121097db0a [DisplayServer] [docs] Improve readability of get_screen_from_rect()
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
2024-11-14 16:28:51 -08:00
kit
d467b3acb5 Improve TextEdit and CodeEdit documentation 2024-11-14 17:09:00 -05:00
David House
6e9d31f602 Implemented multimesh_get_buffer_rd_rid function into RenderingServer.
Fixed style error.

Updated dummy mesh_storage to move from cpp to h the return of a blank Rid on _multimesh_get_buffer_rd_rid.
2024-11-14 15:52:08 -06:00
Thaddeus Crews
673f396677 Merge pull request #99132 from BrianBHuynh/master
Add notes on `DirAccess` documentation
2024-11-14 14:52:04 -06:00
Thaddeus Crews
36fac3df7a Merge pull request #75164 from Calinou/visualinstance3d-lightmap-scale-float
Allow more flexible adjustments of VisualInstance3D Lightmap Scale
2024-11-14 14:52:00 -06:00
Thaddeus Crews
0b2a75b995 Merge pull request #99185 from Mickeon/documentation-damn-it
Fix `format` description being different between String and StringName
2024-11-14 14:51:55 -06:00
arkology
d692b7bdde Improve set_radial_initial_angle by removing loops
Replace two while loops with fposmodp.
Document radial_initial_angle wrapping.
Add testcases for set_radial_initial_angle()
2024-11-14 20:20:20 +03:00
Hugo Locurcio
1e5f0a86ca Allow more flexible adjustments of VisualInstance3D Lightmap Scale
Any floating-point value greater than 0.01 can now be used.
Prior to this change, only factors of 1×, 2× and 4× and 8× could be used.
2024-11-14 17:28:05 +01:00
bruvzg
b329b4ab06 [Label] Handle text as multiple independent paragraphs. 2024-11-14 11:29:46 +02:00
Jesse
4ba533d0b5 [DisplayServer] [docs] Describe edge cases for get_screen_from_rect()
Describes output when multiple screens intersect with rectangle or rectangle has no area.
2024-11-13 22:02:42 -08:00
Hugo Locurcio
af76a896ef Improve documentation on @GlobalScope.PROPERTY_USAGE_SCRIPT_VARIABLE 2024-11-14 00:05:06 +01:00
Micky
2d855f2955 Fix format description being different between String and StringName 2024-11-13 18:26:16 +01:00
Thaddeus Crews
1627912d11 Merge pull request #98918 from bruvzg/pck_enc_iv
Allow setting custom initialization vector for FileAccessEncrypted. Add export setting to set static seed for PCK encryption initialization vectors.
2024-11-13 08:34:31 -06:00
Thaddeus Crews
5d152713bb Merge pull request #99146 from noidexe/patch-3
Clarify effect of setting "page" parameter in ScrollBar nodes
2024-11-13 08:34:19 -06:00
Thaddeus Crews
606f0eb02c Merge pull request #98621 from tetrapod00/improve-project-settings-links
Docs: Add links to project settings
2024-11-13 08:34:05 -06:00
Thaddeus Crews
07d7d9bca5 Merge pull request #94372 from TokageItLab/advance-on-start
Add `advance_on_start` option to `NodeAnimation` to handle `advance(0)` for each `NodeAnimation`
2024-11-13 08:33:57 -06:00
Thaddeus Crews
64ce03f261 Merge pull request #93440 from Calinou/import-size-limit-downsample-if-necessary
Downsample textures on import if necessary for technical reasons
2024-11-13 08:33:40 -06:00
bruvzg
45593d45b3 Allow setting custom initialization vector for FileAccessEncrypted. Add export setting to set static seed for PCK encryption initialization vectors. 2024-11-13 08:16:12 +02:00
Lisandro Lorea
21673336e6 Update doc/classes/Range.xml
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
2024-11-12 20:29:04 -03:00
Lisandro Lorea
0175074bc7 Clarify effect of setting "page" parameter
Setting `page` affect the ScrollBar's _grabber_ length, not the ScrollBar node itself.
2024-11-12 18:22:03 -03:00
Brian Huynh
06bed7a8f2 Added notes on DirAccess
Some notes are ported from FileAccess (for example file_exist)
Other notes were added when needed (for example when included on the non static version but not on the static version)
Other entirely new notes were added as well when required for example when getting a list of directories or if a directory exist or not

Clarified note at the top and made it more in line with the one found in file access

Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
2024-11-12 14:29:01 -05:00