summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2023-01-22Merge pull request #71855 from reduz/audio-stream-polyphonicRémi Verschelde
Add AudioStreamPolyphonic to simplify sound playback from code
2023-01-22Add AudioStreamPolyphonic to make it easier to play polyphonic sound from codeJuan Linietsky
* This new audio stream allows to play multiple sounds and control them over time from code. * It greatly simplifies tasks such as generative music (music generated from code) or audio. This new type of stream was added with the goal of fixing audio blending in AnimationPlayer and AnimationTree, but can be used by others for their regular audio needs. Does not fix anything currently, but should help implement #69758 properly. Some demo code of how to use this: ```GDScript var player = $SomeNode as AudioStreamPlayer player.stream = AudioStreamPolyphonic.new() var playback = player.get_stream_playback() as AudioStreamPlaybackPolyphonic var id = playback.play_stream(preload("res://Clip1.ogg")) await get_tree().create_timer(1).timeout playback.set_stream_volume(id,-12) # Set volume to half after one second await get_tree().create_timer(2).timeout var id2 = playback.play_stream(preload("res://Clip2.ogg")) # 2 seconds later, start another clip await get_tree().create_timer(1).timeout playback.stop_stream(id) # 1 second later, kill the first clip playback.set_stream_pitch_scale(id2,1.5) # Make the second clip go 50% faster ```
2023-01-22Merge pull request #71663 from bruvzg/init_pos_xRémi Verschelde
Reorganize main and sub-window initial position properties.
2023-01-22Merge pull request #71839 from TokageItLab/expose-fading-from-statemachineRémi Verschelde
Expose `fading_from` from StateMachine
2023-01-22Merge pull request #71770 from KoBeWi/better_editing_or_somethingRémi Verschelde
Rework EditorPlugin editing logic
2023-01-22Expose fading_from_node from StateMachineSilc Renew
2023-01-22Rework EditorPlugin editing logickobewi
2023-01-21Merge pull request #68489 from KoBeWi/open_in_extraterrestrial_programRémi Verschelde
Add "Open in External Program" option
2023-01-21Add "Open in External Program" optionkobewi
2023-01-21Merge pull request #65726 from KoBeWi/celllessRémi Verschelde
Don't print error in `get_cell_tile_data()`
2023-01-21Merge pull request #71687 from reduz/support-script-class-name-in-efsRémi Verschelde
Support script global resource name in EditorFileSystem
2023-01-21Merge pull request #71797 from reduz/cleanup-shader-parameter-remapRémi Verschelde
Clean up shader parameter remap
2023-01-21Support script global resource name in EditorFileSystemJuan Linietsky
* Works for binary and text files. * Makes EditorQuickOpen work with custom resources again. * Information is cached and easily accessible. Properly fixes #66179. Supersedes #66215 and supersedes #62417 **WARNING**: This required breaking backwards binary compatibility (.res and .scn files). Files saved after this PR is merged will no longer open in any earlier versions of Godot.
2023-01-21Clean up shader parameter remapJuan Linietsky
This PR is a follow up to #64092, which fixed important issues but it was implemented in an overly complex and inefficient way (because it forced the default code path to always go through string operations). This cleans up all the shader parameter code. This fixes #54336. Also fixes #56219 because, as the new code never queries the RenderingServer on load, potential deadlocks are avoided. **NOTE**: materials saved between #62972 and #64092 will no longer work and will need to be resaved in an earlier version.
2023-01-21Merge pull request #71390 from reduz/fix-json-as-resourceRémi Verschelde
Fixes to JSON as resource
2023-01-20Merge pull request #71709 from clayjohn/decals-lights-sortingRémi Verschelde
Sort decals and lights based on camera origin
2023-01-20Sort decals and lights based on camera originclayjohn
Also implement sort_offset for decals Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-01-20i18n: Sync classref translations with Weblate (3.5 branch)Rémi Verschelde
(cherry picked from commit c9ae52f32e66af1b42a9ddce570d80a9f83ccbb3)
2023-01-20Merge pull request #71718 from Calinou/doc-custom-mouse-cursor-max-size-webRémi Verschelde
Document image size restrictions for custom mouse cursors in HTML5
2023-01-20Merge pull request #71717 from Chaosus/vs_refactor_texture_get_codeYuri Rubinsky
2023-01-20Some refactoring for visual shader texture functionsYuri Rubinsky
2023-01-20Document image size restrictions for custom mouse cursors in HTML5Hugo Locurcio
2023-01-20Merge pull request #71679 from kleonc/draw_polyline_line_stripRémi Verschelde
`CanvasItem::draw_polyline` Support thin polylines drawn using line strip
2023-01-19Merge pull request #71418 from TokageItLab/restart-anim-treeRémi Verschelde
Allow AnimationStateMachine / AnimationNode to restart when transitioning to the same state
2023-01-19Merge pull request #71264 from TokageItLab/improve-statemachineRémi Verschelde
Add next/reset function to `AnimationStateMachine`
2023-01-19CanvasItem::draw_polyline Support thin polylines drawn using line stripkleonc
2023-01-19Merge pull request #71598 from bruvzg/gdscript_bidi_overrideRémi Verschelde
Implement BiDi override mode for GDScript source.
2023-01-19Merge pull request #71649 from raulsntos/array-indexerRémi Verschelde
Add property usage to array indexer
2023-01-19Merge pull request #71565 from RedworkDE/doc-arraymesh-add-surfaceRémi Verschelde
Fix LOD sort order; checks in add_surface; and document all parameters of `ArrayMesh::add_surface_from_arrays`
2023-01-19Add property usage to array indexerRaul Santos
This makes the `Array` indexer show as returning `Variant` instead of `void` in the documentation.
2023-01-19Merge pull request #71443 from TechnoPorg/fix-resource-conversion-pluginsRémi Verschelde
Make EditorResourceConversionPlugin usable.
2023-01-19Reorganize main and sub-window initial position properties.bruvzg
2023-01-19Fix LOD sort order; checks in add_surface; and document all parameters of ↵RedworkDE
`ArrayMesh::add_surface_from_arrays` Also clarify some related documentation and expose the misssing `ArrayFormat::ARRAY_FLAG_USES_EMPTY_VERTEX_ARRAY`
2023-01-19Merge pull request #71628 from reduz/fixup-editor-file-system-script-parsingRémi Verschelde
Clean up EditorFileSystem script parsing
2023-01-18Remove SCREEN_TEXTURE, DEPTH_TEXTURE, and NORMAL_ROUGHNESS_TEXTUREclayjohn
in favour of texture hints
2023-01-18Merge pull request #71619 from TokageItLab/add-keep-state-to-anim-stopRémi Verschelde
Add `p_keep_state` to `AnimationPlayer::stop()`
2023-01-18Merge pull request #71638 from raulsntos/dotnet/export-pluginRémi Verschelde
C#: Implement `ExportPlugin::_get_name` and move `GLOBAL_DEF` to CSharpLanguage
2023-01-18Merge pull request #71623 from kleonc/draw_arc_clamp_to_single_circleRémi Verschelde
`CanvasItem::draw_arc` Clamp angle difference so arc won't overlap itself
2023-01-18Merge pull request #60904 from KoBeWi/👻👻👻Rémi Verschelde
Allow unindent without selection
2023-01-18C#: Move `GLOBAL_DEF`s to CSharpLanguage ctorRaul Santos
Also documents the .NET project settings.
2023-01-18Clean up EditorFileSystem script parsingJuan Linietsky
* Optimize only update modified/added/removed files. * Clean up documentation parsing.
2023-01-19Allow AnimationNodes to restart when transitioning to the same stateSilc Renew
2023-01-19Add next/reset function to AnimationStateMachineSilc Renew
2023-01-18Implement BiDi override mode for GDScript source.bruvzg
2023-01-18Merge pull request #71473 from TigranExe/patch-2Rémi Verschelde
Added property descriptions to and clarified description of SkeletonProfile
2023-01-18Merge pull request #71615 from groud/bring_back_get_cells_by_idRémi Verschelde
Bring back TileMap::get_cells_by_id
2023-01-19Add p_keep_state to AnimationPlayer::stop()Silc Renew
2023-01-18Allow unindent without selectionkobewi
2023-01-18Bring back TileMap::get_cells_by_idGilles Roudière
2023-01-18Updated SkeletonProfile's main and property descriptionsTigran
Updated SkeletonProfile's main and property descriptions -Description now has note about read only quality -"bone_size" and "group_size" property descriptions have been added and clarified. -Property descriptions refer to BoneMap page instead of [code]bone_map[/code] from [Retargeting 3d skeletons](https://docs.godotengine.org/en/latest/tutorials/assets_pipeline/retargeting_3d_skeletons.html#bone-map). -all property descriptions now do not have any Notes to split them -TokageItLab clarifies property descriptions to highlight their use Co-Authored-By: Silc 'Tokage' Renew <tokage.it.lab@gmail.com>