Age | Commit message (Collapse) | Author |
|
|
|
Add native window/taskbar icon support for Windows and macOS.
|
|
|
|
|
|
GLES2: Allow Viewports to render directly to screen
|
|
[DOCS] Add descriptions to AnimationNodeStateMachine[Playback]
|
|
Expose 2D Delaunay triangulation in Geometry singleton
|
|
Co-authored-by: Markus Törnqvist <mjt@nysv.org>
|
|
|
|
Change "Return" to "Returns" where necessary in XML documentation
|
|
Can be used via scripting as `Geometry.triangulate_delaunay_2d(points)`
The interface is the same as in `Triangulate` library, returning indices
into triangulated points.
|
|
In many of the XML files it had been noted that when the documentation
refers to a return value, both "Return" and "Returns" are used. This
has now been fixed to only say "Returns".
Fixes #28867
|
|
|
|
Clipper 6.4.2 is used internally to perform polypaths clipping, as well
as inflating/deflating polypaths. The following methods were added:
```
Geometry.merge_polygons_2d(poly_a, poly_b) # union
Geometry.clip_polygons_2d(poly_a, poly_b) # difference
Geometry.intersect_polygons_2d(poly_a, poly_b) # intersection
Geometry.exclude_polygons_2d(poly_a, poly_b) # xor
Geometry.clip_polyline_with_polygon_2d(poly_a, poly_b)
Geometry.intersect_polyline_with_polygon_2d(poly_a, poly_b)
Geometry.offset_polygon_2d(polygon, delta) # inflate/deflate
Geometry.offset_polyline_2d(polyline, delta) # returns polygons
// This one helps to implement CSG-like behaviour:
Geometry.transform_points_2d(points, transform)
```
All the methods return an array of polygons/polylines. The resulting
polygons could possibly be holes which could be checked with
`Geometry.is_polygon_clockwise()` which was exposed to scripting as well.
|
|
Add some extra functions to EditorResourcePreviewGenerator
|
|
|
|
Allow overriding how scripted objects are converted to strings
|
|
Clarify auto_advance.
|
|
Supersedes #28971.
Co-authored-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
generate_small_preview_automatically()
Added can_generate_small_preview() so the generator uses generate() or generate_from_path() if it returns true
Added can_generate_small_preview() and generate_small_preview_automatically() to the scripting languages
|
|
Make the docs more clear about how you can use auto_advance. Calling it
a "variable" is vague, so I updated the docs to clearly state that it
becomes a boolean parameter on the AnimationTree.
Fixes godotengine/godot-docs#2439.
|
|
Using codespell 1.15.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
doubleclick
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
|
|
Add feature to show spaces in code editor
|
|
Add description for EditorPlugin.update_overlays
|
|
|
|
Add "String Formatting" tutorial link to the 'String' doc
|
|
|
|
Implement Lanczos image filter
|
|
Fixes #28904
|
|
|
|
|
|
This makes it clear that line width and antialiasing in
`draw_multiline()` aren't implemented yet (see #16448).
|
|
|
|
Center shape according to logic Bullet applies
|
|
same common seed at every runtime, thus being reproducible in general
|
|
|
|
|
|
|
|
|
|
Added set_as_bulk_array, fixed transform2D saving and documentation
|
|
|
|
Update of RigidBody2D class description
|
|
|
|
solves #26796
- ADD `String to_string()` method to Object which can be overriden by `String _to_string()` in scripts
- ADD `String to_string(r_valid)` method to ScriptInstance to allow langauges to control how scripted objects are converted to strings
- IMPLEMENT to_string for GDScriptInstance, VisualScriptInstance, and NativeScriptInstance
- ADD Documentation about `Object.to_string` and `Object._to_string`
- Changed `Variant::operator String` to use `obj->to_string()`
|
|
Added a hint in the RigidBody2D class description regarding the transformation issue mentioned in https://github.com/godotengine/godot/issues/5734
|
|
Remove unused panelf and panelnc styles
|
|
Fixes godotengine/godot-docs#2426
|
|
Documents CollisionObject2D mouse_entered, mouse_exited and input_event requiring at least one collision_layer to be set.
|
|
Small documentation improvements
|
|
|