summaryrefslogtreecommitdiff
path: root/scene/resources/sprite_frames.h
AgeCommit message (Collapse)Author
2023-01-26Make AnimatedSprite's playback API consistent with AnimationPlayerSilc Renew
2023-01-05Merge pull request #65609 from dalexeev/animated-spriteRémi Verschelde
`AnimatedSprite{2D,3D}` improvements
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05`AnimatedSprite{2D,3D}` improvementsDanil Alexeev
* Add support for individual frame duration to `SpriteFrames`. * Various minor improvements.
2022-07-13SpriteFrames: Sort animations alphabeticallyRémi Verschelde
And finally remove the 'frames' property which was added for compatibility with 2.1 in bed3efb17ede58a2bfc177b47cb3a49091aea30a. Fixes #21765. The 'animations' property on the other hand is needed, contrarily to what its comment said (copy-paste mistake probably). Also removes unused '_get_animation_list'.
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-08-09Use doubles for time in many other placesAaron Franke
2021-03-16Move SpriteFrames to its own file in the resources folderAaron Franke