Age | Commit message (Collapse) | Author |
|
|
|
Move cursor to edge of selection when moving caret left/right
|
|
Also changed CapsuleMesh to make settings consistent between render and
physics.
|
|
Triple click in text editor now uses last mouse position for validity
|
|
Previously, you would be able to double click a word, followed by
single-clicking another word on the same line, which would select the
entire line. Now, it will only select the whole line if the mouse
position has remained the same after the double click. This mimicks the
behavior in most third party text editors.
Fixes #51312.
|
|
|
|
|
|
|
|
|
|
This is to mimic the behavior of many third party text editors. The
reason it's not doing it when moving by word is due to that behavior
being mostly the same on other editors.
|
|
|
|
Use key enum instead of plain integers for input code
|
|
Rename `iterations_per_second` to `physics_ticks_per_second`
|
|
Remove infinite inertia and ray shapes from CharacterBody
|
|
Various text layout improvements (TextLine, TextParagraph, Label, TextServer)
|
|
StyleBox fake AA improvements (make anti aliasing size a float property)
|
|
This makes it clearer that this property is only about physics FPS,
not rendering FPS.
The `physics_fps` project setting was also renamed to
`physics_ticks_per_second` for consistency.
|
|
|
|
|
|
|
|
Node Auto Arrangement in GraphEdit/VisualScript/VisualShader
|
|
This PR and commit adds the functionality to arrange nodes in VisualScript/VisualShader editor. The layout generated by this
feature is compact, with minimum crossings between connections
& uniform horizontal & vertical gaps between the nodes.
This work has been sponsored by GSoC '21.
Full list of additions/changes:
• Added arrange_nodes() method in GraphEdit module.
• This method computes new positions for all the selected
nodes by forming blocks and compressing them.
The nodes are moved to these new positions.
• Adding this method to GraphEdit makes it available for
use in VisualScript/VisualShaders editors and its other
subclasses.
• Button with an icon has been added to call arrange_nodes() in GraphEdit.
• This button is inherited by VisualScript/VisualShaders editors
to invoke the method.
• Undo/redo is functional with this method.
• By using signals in arrange_nodes(), position changes are registered
in undo/redo stack of the subclass that is using the method.
• Metadata of the method has been updated in ClassDB
• Method description has been added to class reference of GraphEdit
|
|
Infinite inertia:
Not needed anymore, since it's now possible to set one-directional
collision layers in order for characters to ignore rigid bodies, while
rigid bodies still collide with characters.
Ray shapes:
They were introduced as a work around to allow constant speed on slopes,
which is now possible with the new property in CharacterBody instead.
|
|
Add properties to CharacterBody for more move_and_slide options
|
|
Command Palette For Godot
|
|
|
|
|
|
Fix 3D moving platform logic
|
|
Move code for looking_at to Basis
|
|
Enclose deprecated components with `DISABLE_DEPRECATED` in Mesh
|
|
Assign embedded text resource path earlier to prevent error on embedded scripts
|
|
Some work on double-precision support
|
|
|
|
|
|
Same thing that was already done in 2D, applies moving platform motion
by using a call to move_and_collide that excludes the platform itself,
instead of making it part of the body motion.
Helps with handling walls and slopes correctly when the character walks
on the moving platform.
Also made some minor adjustments to the 2D version and documentation.
Co-authored-by: fabriceci <fabricecipolla@gmail.com>
|
|
|
|
|
|
Fix applied rotation from moving platforms in move_and_slide
|
|
When synchronizing CharacterBody motion with moving the platform using
direct body state, only the linear velocity was taken into account.
This change exposes velocity at local point in direct body state and
uses it in move_and_slide to get the proper velocity that includes
rotations.
|
|
|
|
|
|
Use real_t in 3D nodes
|
|
[Net] MultiplayerAPI remote scene spawning/despawning.
|
|
Fix Gradient and Color Picker checkerboard, Fix tile parameter for CanvasItem.draw_texture_rect
|
|
`PackedScene`s can be configured to be spawnable via a new
`MultiplayerAPI.spawnable_config` method.
They can be configured either to be spawned automatically when coming
from the server or to always require verification.
Another method, `MultiplayerAPI.send_spawn` lets you request a spawn on
the remote peers.
When a peer receive a spawn request:
- If it comes from the server and the scene is configured as
`SPAWN_MODE_SERVER`:
- Spawn the scene (instantiate it, add it to tree).
- Emit signal `network_spawn`.
- Else:
- Emit signal `network_spawn_request`.
In a similar way, `despawn`s are handled automatically in
`SPAWN_MODE_SERVER`.
In `SPAWN_MODE_SERVER`, when a new client connects it will also receive,
from the server all the spawned (and not yet despawned) instances.
|
|
|
|
Fix a default shader specular render mode to `SCHLICK_GGX`
|
|
|
|
|
|
`playback_speed_scale`
|