aboutsummaryrefslogtreecommitdiff
path: root/scene/animation (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | 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
| | |
* | | Tween: Rename times_in_sec (sic) param to durationRémi Verschelde2017-01-132-58/+58
| | |
* | | Renamed most signals so they refer to:Juan Linietsky2017-01-123-8/+8
| | | | | | | | | | | | | | | -An action being requested to the user in present tense: (ie, draw, gui_input, etc) -A notification that an action happened, in past tense (ie, area_entered, modal_closed, etc).
* | | Type renames:Juan Linietsky2017-01-112-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* | | - _ready() callback only happens once now, if you want to receive it again, ↵Juan Linietsky2017-01-103-16/+16
| | | | | | | | | | | | | | | | | | | | | use request_ready() - C++ Nodes mostly do an internal process callback, so it does not conflict with users willing to use their own process callbacks - callbacks such as _input, _process, _fixed_process _unhandled_input, _unhandled_key_input do not requiere calling a function to enable them. They are enabled automatically if found on the script.
* | | Renamed finished to animation_finished, also passes the animation name when ↵Juan Linietsky2017-01-081-2/+2
| | | | | | | | | | | | finished
* | | Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-073-5/+5
| | | | | | | | | | | | renamed to PoolVector
* | | -Conversion of most properties to a simpler syntax, easier to use by scriptJuan Linietsky2017-01-043-9/+11
| | | | | | | | | | | | | | | | | | -Modified help to display properties GDScript can still not make use of them, though.
* | | ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-028-139/+139
| | | | | | | | | | | | | | | | | | | | | | | | Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
* | | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-019-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* | | Merge pull request #7000 from m4nu3lf/masterRémi Verschelde2016-11-022-17/+4
|\ \ \ | | | | | | | | Fixed Mix nodes in Animation Tree Player
| * | | Fixed Mix nodes in Animation Tree Playerm4nu3lf2016-10-312-17/+4
| |/ /
* / / style: Fix PEP8 whitespace issues in Python filesRémi Verschelde2016-11-011-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done with `autopep8 --select=E2,W2`, fixes: - E201 - Remove extraneous whitespace. - E202 - Remove extraneous whitespace. - E203 - Remove extraneous whitespace. - E211 - Remove extraneous whitespace. - E221 - Fix extraneous whitespace around keywords. - E222 - Fix extraneous whitespace around keywords. - E223 - Fix extraneous whitespace around keywords. - E224 - Remove extraneous whitespace around operator. - E225 - Fix missing whitespace around operator. - E226 - Fix missing whitespace around operator. - E227 - Fix missing whitespace around operator. - E228 - Fix missing whitespace around operator. - E231 - Add missing whitespace. - E231 - Fix various deprecated code (via lib2to3). - E241 - Fix extraneous whitespace around keywords. - E242 - Remove extraneous whitespace around operator. - E251 - Remove whitespace around parameter '=' sign. - E261 - Fix spacing after comment hash. - E262 - Fix spacing after comment hash. - E265 - Format block comments. - E271 - Fix extraneous whitespace around keywords. - E272 - Fix extraneous whitespace around keywords. - E273 - Fix extraneous whitespace around keywords. - E274 - Fix extraneous whitespace around keywords. - W291 - Remove trailing whitespace. - W293 - Remove trailing whitespace.
* | Fix regression #6864 caused by #6613Pawel Kowal2016-10-262-5/+14
| |
* | SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde2016-10-171-0/+2
| | | | | | | | Also switch existing shebangs to "better" /usr/bin/env python.
* | Tween reset/stop/resume/remove for all object properties at oncePawel Kowal2016-09-251-10/+13
| |
* | Tween: fix non-repeat interpolate_callback does not delete after call triggeredsanikoyes2016-08-311-0/+2
|/
* Merge pull request #5352 from m4nu3lf/masterJuan Linietsky2016-07-102-51/+124
|\ | | | | AnimationTreePlayer filters improved
| * AnimationTreePlayer filters improvedm4nu3lf2016-06-222-51/+124
| | | | | | | | | | | | | | Now the AnimationTreePlayer filters for Blend2 and OneShot nodes behave as expected, that is the main animation is not affected by the secondary animation if the track is filterd out for arbitarily complex trees.
* | Revert "Added toggle for loop interpolation based on adolson's code"Rémi Verschelde2016-06-261-13/+1
|/ | | | | | | | | | | | | | | This reverts commits 8884b8f51963553dd1ecc0bc4accf64deb4f645f bd5c8f2aa086c2cacc704dfef249c124760ab569 and 5cb31f6d5b667a551092b699de6f4786e0bb5b6d. <reduz> Akien, I understand the need for the second loop mode, but I think the current UI is pretty confusing. I think this should be changed for an enum, both there and in the animation.. otherwise we should revert it [...] <reduz> alternatively this could be added per track, which I think should make it a little less confusing Reopens #959..
* Replace 'or'/'and' keywordsGeorge Marques2016-06-191-1/+1
| | | | Some compilers do not like this.
* Merge pull request #4724 from Cybolic/optional-loop-interpolationRémi Verschelde2016-06-191-1/+13
|\ | | | | Added toggle for loop interpolation based on adolson's code
| * Added toggle for loop interpolation based on adolson's codeChristian Dannie Storgaard2016-05-201-1/+13
| |
* | -Added trigger mode to tracks, useful for properties that work as triggers, ↵Juan Linietsky2016-06-193-7/+9
| | | | | | | | | | | | such as playing a sample, an animation, etc. -Better interpolation of discrete tracks, fixes #4417
* | Drop empty files that are not used anywhereRémi Verschelde2016-06-184-104/+0
| | | | | | | | Part of #5272
* | Add missing license headers in our source files (#5255)Rémi Verschelde2016-06-181-1/+1
| | | | | | Also removes a couple wrong Godot headers from third-party source files.
* | TimeSeek node in AnimationTreePlayer now propagates filtersm4nu3lf2016-06-101-1/+1
| |
* | remove trailing whitespaceHubert Jarosz2016-05-211-1/+1
|/
* Fixed animation player auto-queue duplication and undo/redoPaulb232016-05-071-0/+3
|
* AnimationTree: add filters to Animation nodes.Josh Grams2016-04-262-20/+65
|
* AnimationTree: set value track property per frame, not per track.Josh Grams2016-04-241-10/+5
|
* animation_started signal to AnimationPlayerJakub Grzesik2016-04-141-0/+3
|
* Merge pull request #4308 from JoshuaGrams/atp-resourcesRémi Verschelde2016-04-142-6/+7
|\ | | | | AnimationTreePlayer: fix discrete value tracks.
| * AnimationTreePlayer: fix discrete value tracks.Josh Grams2016-04-122-6/+7
| | | | | | | | | | | | Discrete value tracks don't update every frame (only when a new key is reached). So we can't use the actual property value as an accumulator: it will end up being zero most of the time.
* | Merge pull request #4286 from JoshuaGrams/atp-resourcesRémi Verschelde2016-04-122-10/+11
|\| | | | | AnimationTreePlayer: allow animating resource properties.
| * AnimationTreePlayer: allow animating resource properties.Josh Grams2016-04-112-10/+11
| | | | | | | | e.g. Particles2D config and param values.
* | Merge pull request #4284 from JoshuaGrams/atp-process-modeRémi Verschelde2016-04-121-1/+0
|\ \ | |/ |/| AnimationTreePlayer: constructor now sets processing mode.
| * AnimationTreePlayer: constructor now sets processing mode.Josh Grams2016-04-111-1/+0
| |
* | Merge pull request #4155 from JoshuaGrams/anim_tree_switchedRémi Verschelde2016-04-112-71/+67
|\ \ | |/ |/| AnimationTreePlayer: Various processing improvements
| * AnimationTreePlayer (transition_node_set_current): fix by removing ↵Josh Grams2016-04-062-19/+16
| | | | | | | | copy-paste duplication.
| * AnimationTreePlayer (set_active, reset, constructor): seek all animations to ↵Josh Grams2016-04-061-2/+3
| | | | | | | | start.
| * AnimationTreePlayer (_process_node): more robust oneshot termination condition.Josh Grams2016-04-061-2/+2
| |
| * AnimationTreePlayer (_process_node:TIMESEEK): allow auto-advance with 0 xfade.Josh Grams2016-03-311-1/+1
| |
| * AnimationTreePlayer (_process_node:TIMESEEK): give p_seek precedence over ↵Josh Grams2016-03-311-6/+6
| | | | | | | | tsn->seek_pos.
| * * AnimationTreePlayer (_process_node): remove `switched` argument.Josh Grams2016-03-272-43/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The _process_node function (which recurses through the blend tree generating blend values and the active animation list) had an argument named `switched` which would loop an animation back to the beginning if it had reached the end (regardless of whether or not it was supposed to be a looping animation). This argument was only used in four places: two of them were overridden by a seek-to-zero, and I believe the other two are bugs. In OneShot, it was used to reset the oneshot animation to the beginning when fired. But this would fail if the oneshot node was fired before it had completed its previous run. While this *could* be a valid way for oneshot to work (firing does nothing if it's already running), the code currently resets the fade-in, so I believe that it is intended to reset. I replaced this usage with seek-to-0. In Transition, it was used on the previous (fading out) animation when seeking the Transition node, which I believe is incorrect: why would you want to loop a non-looping animation instead of simply fading out from the end? Also it will never happen unless you seek the Transition node twice during one cross-fade. The other two uses are in Transition and _process_animation, where it is used along with a seek-to-zero which overrides it.
* | Fix crash when tween control object previous freedsanikoyes2016-04-071-0/+13
|/