summaryrefslogtreecommitdiffstats
path: root/scene/2d/sprite.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-28/+28
| | | | | | 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-131-14/+14
| | | | This saves typing and is a step towards fixing #56
* Style: Fix whole-line commented codeRémi Verschelde2017-01-141-4/+8
| | | | | 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.
* Created new Engine singleton, and moved engine related OS functions to it.Juan Linietsky2017-01-131-1/+1
|
* removed unnecesary modulate funtions, which were superseded by self_modulateJuan Linietsky2017-01-081-18/+1
|
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-30/+30
| | | | | | | | 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()
* Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-021-1/+2
|\ | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * Begining of GLES3 renderer:Juan Linietsky2016-10-031-1/+2
| | | | | | | | | | | | | | | | -Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
* | 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!
* | Sprite: Fix inspector not showing changes on "frame" property.Andreas Haas2016-10-111-0/+1
|/ | | | Fixes #6562
* Fix the +1 button to insert keyframes in Sprite and Sprite3D, closes #5422Juan Linietsky2016-07-061-0/+11
|
* Modify margins with mouse inputMarianoGNU2016-06-201-0/+2
|
* i18n: Proofreading of all stringsRémi Verschelde2016-05-211-1/+1
| | | | | | Done to ensure that no important identifiers are translatable, to fix compound strings using the new vformat() function, and some general English proofreading here and there.
* -Added configuration warning system for nodesJuan Linietsky2016-05-171-0/+19
| | | | | -Added a new "add" and "instance" buttons for scene tree -Added a vformat() function to ease translation work
* Fix Sprite doesn't updating region_rect value in certain conditionsFranklin Sobrinho2016-03-051-5/+7
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* -A little More control about pixel snapping in 2DJuan Linietsky2015-10-131-0/+7
|
* Add SpriteRegionEditor and update Polygon2DUVEditorMarianoGNU2015-09-281-0/+1
| | | | Both with snap and grid support
* -added hints to sprite v/hframes, fixes truncation problemJuan Linietsky2015-08-291-2/+2
| | | | -removed an error being printed often unnecesarly about missing child
* Several performance improvements, mainly in loading and instancing scenes ↵Juan Linietsky2015-06-291-15/+19
| | | | | | | | and resources. A general speedup should be apparent, with even more peformance increase when compiling optimized. WARNING: Tested and it seems to work, but if something breaks, please report.
* made changing pivot simpler in 2D nodes (just press v with mouse over position)Juan Linietsky2015-06-121-5/+5
|
* improved animation editorJuan Linietsky2015-05-251-1/+1
| | | | | | | | | -same-value link keys -new layout -forward, backwards playback -integrated curve/property editor -auto increment sprite frame after insert -copy & paste animation resoucres
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* Batch of BugfixesJuan Linietsky2014-12-071-0/+6
| | | | | | | | | | | | | | | | | | | | | | -=-=-=-=-=-=-=-=- -Fixed Export UV XForm (should work now). #923 -Fixed enforcement of limits in property editor. #919 -Fixed long-standing bug of export editings in script inheritance. #914, #859, #756 -Fixed horrible error reporting in shader language. #912 -Added kinematic collision with plane (please test well). #911 -Fixed double animation track insert when using 2D rigs. #904 -VKey updates offset parameter in sprite edition. #901 -Do not allow anymore a script to preload itself. (does not fix #899, but narrows it down) -Avoid connection editor from overriding selected text. #897 -Fixed timer autostart. #876 -Fixed collision layers in 3D physics. #872 -Improved operators in shader #857 -Fixed ambient lighting bug #834 -Avoid editor from processing gamepad input #813 -Added not keyword #752 Please test!
* SceneMainLoop -> SceneTreeJuan Linietsky2014-11-051-3/+3
| | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-=- *YOUR SOURCE MIGHT NOT WORK* For mor information on fix: https://github.com/okamstudio/godot/wiki/devel_scene_tree Other stuff: -Shower of bullets demo -Fixes all around
* Modified sprite's draw notification call to use floats instead of integers ↵romulox_x2014-10-091-7/+7
| | | | so that the texture coordinates used to draw a frame from the sprite sheet don't have to snap to pixels
* -Fixed a few bugs in ViewportJuan Linietsky2014-04-101-0/+201
| | | | | -Made a few demos using Viewport to show it's true power! -Fixed some start-up error messages.
* -improved physics ccdJuan Linietsky2014-02-191-1/+1
| | | | | | -html5 exporter works again -disable repeat on image loader by default -can change shape offset en tileset, texture offset was broken
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+337