summaryrefslogtreecommitdiffstats
path: root/scene/2d/animated_sprite.h
Commit message (Collapse)AuthorAgeFilesLines
* Renamed 2D and 3D nodes to make their types explicitJuan Linietsky2020-03-271-231/+0
| | | | Fixes #30736.
* Style: Set clang-format Standard to Cpp11Rémi Verschelde2020-03-171-1/+1
| | | | | | | | | | For us, it practically only changes the fact that `A<A<int>>` is now used instead of the C++03 compatible `A<A<int> >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`.
* Normalmapping and Specularmapping working in 2D engineJuan Linietsky2020-02-111-2/+26
| | | | Added support for Sprite, AnimatedSprite and Polygon2D (should add for tileset eventually).
* Texture refactorJuan Linietsky2020-02-111-11/+11
| | | | | | | | -Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
* Don't compile editor-only function when tools=noGilles Roudière2020-01-091-0/+2
|
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Added some obvious errors explanationsqarmin2019-09-251-3/+3
|
* Make AnimatedSprite able to play backwardsMichael Alexsander Silva Dias2019-03-171-1/+2
|
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Fixes AnimatedSprite2D animation_finished signal triggering too earlygroud2018-10-041-0/+1
|
* Revert "Drop deprecated compatibility methods from AnimatedSprite"Rémi Verschelde2018-09-131-0/+6
|
* Drop deprecated compatibility methods from AnimatedSpriteRémi Verschelde2018-09-091-6/+0
| | | | | | | They were deprecated in 2.1, but never properly identified as such and thus never removed. Fixes #21765.
* Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam2018-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
* Merge pull request #19087 from danvalho/masterMax Hilbrunner2018-07-171-0/+1
|\ | | | | SpriteFrames: expose method to get array containing animation names
| * SpriteFrames: expose method to get array containing animation namesdanvalho2018-06-051-0/+1
| |
* | Fixes the bad calculation of margin & anchors when child of Node2Dgroud2018-06-071-0/+3
|/
* Updates frame timeout when changing speed scalegroud2018-05-131-0/+1
|
* Adds a speed factor to AnimatedSpritegroud2018-05-071-0/+4
|
* Remove the selection rect for nodes that do not require itGilles Roudiere2018-04-031-0/+1
|
* 2D editor GUI input rework. Changes are:Gilles Roudiere2018-02-161-2/+4
| | | | | | | | | | - The input handling is done into several distinct functions, and the code is more consistent. - The actions' history is more precise ("Edited CanvasItem" is now "Rotated CanvasItem","Moved CanvasItem",etc...) - Fixed a little bug about input key events not forwarded correctly to plugins - IK is followed by default when you move a bone node, the alt-key allow you to move it normally
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Rework the canvas_item API for further improves to the canvas item editorGilles Roudiere2017-11-191-4/+4
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Add null-check to get_normal_frameBenjamin Dahse2017-06-201-1/+1
|
* Added normalmap support to stylebox and animated sprite.Juan Linietsky2017-06-181-0/+16
|
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-48/+38
| | | | | | | | | | | | | | | | | | | | | | | | 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
* removed unnecesary modulate funtions, which were superseded by self_modulateJuan Linietsky2017-01-081-1/+0
|
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-2/+2
| | | | | | | | 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-011-1/+1
| | | | | | | | 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!
* -Added configuration warning system for nodesJuan Linietsky2016-05-171-1/+1
| | | | | -Added a new "add" and "instance" buttons for scene tree -Added a vformat() function to ease translation work
* New reworked AnimatedSprite!Juan Linietsky2016-05-141-7/+72
| | | | | | | | | -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.
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+119