8920ab0fbf
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. |
||
---|---|---|
bin | ||
core | ||
demos | ||
doc | ||
drivers | ||
main | ||
modules | ||
platform | ||
scene | ||
servers | ||
tools | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
CONTRIBUTING.md | ||
icon.png | ||
icon.svg | ||
ISSUE_TEMPLATE | ||
LICENSE.md | ||
logo.png | ||
logo.svg | ||
LOGO_LICENSE.md | ||
methods.py | ||
README.md | ||
SConstruct | ||
version.py |
The Engine
Godot is a fully featured, open source, MIT licensed, game engine. It focuses on having great tools, and a visual oriented workflow that can export to PC, Mobile and Web platforms with no hassle. The editor, language and APIs are feature rich, yet simple to learn, allowing you to become productive in a matter of hours.
About
Godot has been developed by Juan Linietsky and Ariel Manzur for several years, and was born as an in-house engine, used to publish several work-for-hire titles. Godot is a member project of the Software Freedom Conservancy
Documentation
Documentation has been moved to ReadTheDocs.
Binary Downloads, Community, etc.
Binary downloads, community, etc. can be found in Godot homepage:
Compiling from Source
Compilation instructions for every platform can be found in the Wiki: http://docs.godotengine.org/en/latest/reference/_compiling.html