Age | Commit message (Collapse) | Author |
|
Scripts can now evaluate the following cases:
- (quat * real) and (quat / real)
- (quat + quat) and (quat - quat)
|
|
Negative indexing is a useful feature in Python, especially when combined
with array slicing. Array slicing will hopefully be implemented later, but
negative indexing is useful in its own right.
A negative index is indexing from the end of an array,
"array[-1] == array[array.size()-1]", using a negative index
larger/smaller than the length of the array is still an error.
While primarily useful for arrays and strings, support is also added to
"array like" structures like Vector3 and Color. This is done just
to be consistent; vector3[2] is much clearer than vector3[-1], but disallowing
it while allowing it for an array with 3 elements seems confusing.
|
|
In preparation for the following "allow negative indexing" commit,
replace the repetitive array "set index" and "get index" code with
macros.
no functional changes were made, the resulting machine code is unchanged.
|
|
According to the class doc, these should be int.
Also fixed a little bug: the setter for 'r8' changed the green value
|
|
This might break some animations that use int tracks in continuous mode, but it should provide a more uniform interpolation for things like sprite frames.
|
|
|
|
|
|
Variant:
- zero() sets a Variant to the appropriate type of zero value
- blend() blends part of one Variant on top of another.
|
|
|
|
|
|
Color, to deal with colors in the 0-255 range. Closes #2345
|
|
|
|
Thanks to @bojidar-bg for localising the issue.
|
|
Fix String content test
|
|
|
|
|
|
please test
|
|
|
|
Makes xml format work better with version control systems.
|
|
|
|
|
|
shared. Fixes #1646
|
|
Fix sprintf errors
|
|
Added support for 2D shadow casters.
*DANGER* Shaders in CanvasItem CHANGED, if you are using shader in a
CanvasItem and pull this, you will lose them. Shaders now work through a
2D material system similar to 3D. If you don't want to lose the 2D
shader code, save the shader as a .shd, then create a material in
CanvasItem and re-assign the shader.
|
|
|
|
|
|
Add action_press/action_release method bind
|
|
|
|
|
|
|
|
-=-=-=-=-=-=-=-=-=-=-=-=-=
-New Vehicle (Based on Bullet's RaycastVehicle) - Vehiclebody/VehicleWheel. Demo will come soon, old vehicle (CarBody) will go away soon too.
-A lot of fixes to the 3D physics engine
-Added KinematicBody with demo
-Fixed the space query API for 2D (demo will come soon). 3D is WIP.
-Fixed long-standing bug with body_enter/body_exit for Area and Area2D
-Performance variables now includes physics (active bodies, collision pairs and islands)
-Ability to see what's inside of instanced scenes!
-Fixed Blend Shapes (no bs+skeleton yet)
-Added an Android JavaClassWrapper singleton for using Android native classes directly from GDScript. This is very Alpha!
|
|
-=-=-=-=-
Another gift for those who make 2D games:
-Edit polygons, concave or convex, color them, texture them and uv-map them
-Corresponding editor
-Can have a custom pivot, so they are compatible with bones and IK
|
|
-=-=-=-=-=-=
-Support for lightmap baker, have fun figuring out how it works before tutorial is published.
|
|
|
|
-fix bug in doc where touchscreen events were not documented
|
|
-add search docs dialog that returns places string was found
-added flash
|
|
|