Age | Commit message (Collapse) | Author |
|
Add support for Python-like negative indexing
|
|
|
|
Ping @reduz.
|
|
Adds invert() method DVector
|
|
fixed interactive_loader() not returning a cached scene
|
|
Expose extra methods and constants to scripts
|
|
Enhanced Patch9Frame
|
|
Added Dictionary.values()
|
|
|
|
should help properly implement #5058
|
|
|
|
-works on windows
-may not work on X11, if so please fix
-OSX does not seem to support disabling vsync
|
|
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.
|
|
`input/` is the category for these in globals ^^
fixes #5050
|
|
|
|
|
|
-editor settings now save to .tres instead of .xml
-buttons can now hold a shortcut
|
|
Added InputMap.get_actions()
|
|
change invalid characters when get user data dir on Windows & Unix
|
|
|
|
|
|
get_actions() lists all actions in the InputMap.
|
|
|
|
|
|
|
|
Can't create user data folder when project name has ``\ / : * ? " < > |`` characters on OS_Windows & OS_Unix.
So, change it to ``-`` to be able to make folder.
fixes #4928 and it's altanative to #4986.
|
|
|
|
|
|
|
|
|
|
|
|
According to the class doc, these should be int.
Also fixed a little bug: the setter for 'r8' changed the green value
|
|
-Implemented HiDPI detection and support for Godot Editor!
|
|
|
|
Windows only for now.
Many builds may break (older visual studio, mingw32)
|
|
Add magnetometer sensor support for Android
|
|
-DynamicFont uses Freetype by default
-Editor fonts are now scalable thanks to this
-Cleaned up documentation browser and added fonts for this
|
|
included is a French translation!
|
|
|
|
-Rearrange favorites in fs dock with drag and drop
-Removed import -> sub-scene, moved to scenetree contextual menu
-Removed import -> re-import , moved and integrated to FS dock
-Added ability in FS dock to re-import more than one resource
simultaneously
-Added ability to drag from native filesystem explorer to Godot, only
works on Windows though
-Removed scene reimport merge options, never worked well. Eventually
merging materials should be re-added
-Added ability to set custom root node type when importing scenes
-Re-Import is now automatic, can be configured back to manual in editor
settings
-Added resource previews in property list for many resource types
|
|
|
|
|
|
|
|
It is now possible to profile GDScript as well as some parts of Godot
internals.
|
|
|
|
-Added a new "add" and "instance" buttons for scene tree
-Added a vformat() function to ease translation work
|
|
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.
|
|
This effectively allows invert() to be used on the following types:
ByteArray, IntArray, RealArray, StringArray, Vector2Array, Vector3Array, ColorArray
|
|
-New SpriteFrames editor, with support for drag&drop, multiple animation
sets, animation speed and loop.
-New AnimatedSprite, with support for all the new features!
AnimatedSprite3D has not been updated yet.
-Added support for drag&drop to other editors, such as resourcepreload,
sample library, etc.
|