aboutsummaryrefslogtreecommitdiff
path: root/scene/animation (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #12284 from bojidar-bg/allow-subproperty-setRémi Verschelde2017-11-218-145/+165
|\ | | | | Allow for getting/setting "dotted" properties of objects
| * Allow for getting/setting indexed properties of objects using get/set_indexedBojidar Marinov2017-11-218-147/+163
| | | | | | | | Performance is around the same as using pure set() through GDScript.
| * Make Tween::interpolate_property's able to get() the initial valueBojidar Marinov2017-11-131-0/+4
| | | | | | | | To use this behavior, pass `null` in place of the initial_value parameter.
* | Rename Rect3 to AABB.Ferenc Arn2017-11-171-8/+8
| | | | | | | | Fixes #12973.
* | Change AnimationPlayer looping logicPedro J. Estébanez2017-11-131-1/+8
|/ | | | | | | | So now it can seek to the actual values at time=length when instructed to seek to time=N*length. That is, formerly in the editor you had no way of seeing the actual state at time=length other than temporarily disabling looping. Now you can preview both endpoints. As a side effect, the values at anim time 0 will only be applied when actually seeking to 0, instead of at every time=N*length, as formerly. No issue.
* Fixed AnimationPlayer.get_autoplay() returning empty stringRasmus Ketelsen2017-11-021-1/+0
|
* Refactor Fixed to PhysicsPoommetee Ketson2017-10-213-3/+3
|
* Merge pull request #12107 from RandomShaper/fix-anim-before-first-keyRémi Verschelde2017-10-201-0/+4
|\ | | | | Fix animation before first key
| * Fix animation before first keyPedro J. Estébanez2017-10-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this, the value assumed for the interval between the start of the track and the first frame would be the one of the first key if - *seeking/playing a continuous track*; - *seeking a discrete track*. And the first key would be ignored until reached -thus not modifying the target property/transform- in the remaining case; namely, *playing a discrete track*. In other words, the inner workings of the animation system considered the unreached first key for interpolation but not for a query of every key inside a time range. With this changes, the first key is only considered is the animation is looped and ignored otherwise. That way, in order to have a start value, you'll need an explicit key at the very beginning of the track, while having the flexibility of the animation player not touching the target value until the first key is reached. This corresponds to the point 1) of #10752.
* | Fix animation not stopping after seeking to the endPedro J. Estébanez2017-10-141-2/+2
|/
* Added a name/path description when there is an error in the Animation TrackMarcelo Fernandez2017-10-071-8/+8
|
* Renamed fixed_process to physics_processAndreaCatania2017-09-306-21/+21
|
* Rename pos to position in user facing methods and variablesletheed2017-09-204-15/+15
| | | | | | | | | | | Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
* Fix enums bindingsMaxim Sheronov2017-09-131-0/+3
| | | | | Add missed bindings for enums Move some enums to class to have correct output of api.json
* Many fixes to visual script, changed virtuals override for a proper selector.Juan Linietsky2017-09-121-0/+1
|
* Fix AnimationTreePlayer bogus argument nameRémi Verschelde2017-09-011-1/+1
| | | | Regression from 6fa6149517b974fccd97e41f6b0a6466c83473fc.
* Fix some argument ordering, closes #10010Juan Linietsky2017-09-012-2/+2
|
* Cleaned up logic in Tween::_tween_process(), fixes #9187cryptonaut2017-08-291-14/+10
|
* Dead code tells no talesRémi Verschelde2017-08-271-16/+0
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-279-9/+9
|
* Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-243-12/+12
| | | | | | | | | | | | Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
* Merge pull request #10351 from neikeq/enums-are-for-the-weakJuan Linietsky2017-08-213-29/+29
|\ | | | | ClassDB: Provide the enum name of integer constants
| * ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry2017-08-203-29/+29
| |
* | Merge pull request #10319 from neikeq/pr-engine-editor-hintJuan Linietsky2017-08-201-3/+4
|\ \ | |/ |/| Adds Engine::is_editor_hint() method
| * Removes editor_hint from SceneTreeIgnacio Etcheverry2017-08-191-3/+4
| |
* | Synchronize parameter names in definition and declarationTwistedTwigleg2017-08-163-16/+16
|/ | | | Fixes #10244.
* Removes type information from method bindsIgnacio Etcheverry2017-08-102-5/+5
|
* Makes all Godot API's methods Lower CaseIndah Sylvia2017-08-073-14/+14
|
* Fixed some string names and animation playback options, closes #9446Juan Linietsky2017-08-061-1/+1
|
* BuildSystem: generated files have .gen.extensionPoommetee Ketson2017-06-251-1/+1
|
* renamed all Rect3.pos to Rect3.positionalexholly2017-06-091-4/+4
|
* Fix autoplay animation starts from last editor state #8976Poommetee Ketson2017-05-311-0/+1
|
* Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei2017-04-101-1/+1
| | | | | | | | Control set_pos -> set_position Control set_global_pos -> set_global_position [gs]et_mouse_pos -> [gs]et_mouse_position [gs]et_global_mouse_pos -> [gs]et_global_mouse_position fixes #8005
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-089-0/+9
|
* Honor the Tween's final valuesShin-NiL2017-03-301-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-059-2621/+2063
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Inf and NaN support added to GDScript.Saracen2017-02-281-1/+1
|
* Merge pull request #6462 from RandomShaper/fix-improve-anim-blendRémi Verschelde2017-02-271-17/+8
|\ | | | | Fix/improve AnimationPlayer blending logic
| * Fix/improve AnimationPlayer blending logicPedro J. Estébanez2016-09-121-17/+8
| |
* | Tween: Fix undefined behavior found by static code analyzer.Andreas Haas2017-02-221-1/+2
| | | | | | | | Adresses the issue mentioned in https://software.intel.com/en-us/articles/the-ultimate-question-of-programming-refactoring-and-everything
* | Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-134-135/+135
| | | | | | | | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* | Remove use of _SCS from ADD_METHODHein-Pieter van Braam2017-02-133-5/+5
| | | | | | | | This saves typing and is a step towards fixing #56
* | Fix tween Transform2D typosanikoyes2017-02-071-3/+3
| |
* | Merge pull request #7002 from RandomShaper/vcs-friendlinessJuan Linietsky2017-01-252-9/+12
|\ \ | | | | | | Greater VCS friendliness
| * | Improve .tscn VCSPedro J. Estébanez2017-01-162-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Serialize dictionaries adding newlines between key-value pairs Serialize group lists also with newlines in between Serialize string properties escaping only " and \ (needed for a good diff experience with built-in scripts and shaders) Bonus: Make AnimationPlayer serialize its blend times always sorted so their order is predictable in the .tscn file. This PR is back-compat; won't break the load of existing files.
* | | Overloaded basic math funcs (double and float variants). Use real_t rather ↵Ferenc Arn2017-01-161-2/+2
| | | | | | | | | | | | | | | | | | than float or double in generic functions (core/math) whenever possible. Also inlined some more math functions.
* | | Style: Fix statements ending with ';;'Rémi Verschelde2017-01-163-3/+3
| | |
* | | removed duplicated functions in class hierarchy that were bound more than onceJuan Linietsky2017-01-142-10/+10
| | | | | | | | | | | | added a check to detect this case in the future
* | | Style: Fix whole-line commented codeRémi Verschelde2017-01-142-8/+10
| | | | | | | | | | | | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* | | renamed tween animationplayer scale functions to speed_scaleJuan Linietsky2017-01-134-14/+14
| | |