summaryrefslogtreecommitdiffstats
path: root/scene/2d/canvas_item.h
Commit message (Collapse)AuthorAgeFilesLines
* Don't compile editor-only function when tools=noGilles Roudière2020-01-091-1/+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.
* Merge pull request #32934 from ajweeks/fix-scale-originRémi Verschelde2019-10-301-0/+2
|\ | | | | Fix 2D scale gizmo placement
| * Fix canvas scale gizmo placementAJ Weeks2019-10-221-0/+2
| |
* | Add arcs to indicate angle being measured by rulerAJ Weeks2019-10-191-0/+1
|/
* Add `width` and `antialiased` parameters to CanvasItem `draw_rect()`Hugo Locurcio2019-07-091-1/+1
| | | | | This also removes some duplicated editor code which is now obsoleted by the new parameters in `draw_rect()`.
* Some code changed with Clang-Tidyqarmin2019-06-261-1/+1
|
* Made use of semicolons more consitent, fixed formattingJohnJLight2019-06-191-1/+1
|
* Added ability for multiple images to be imported as an atlasJuan Linietsky2019-04-191-1/+1
| | | | | This adds support for groups in the import system, which point to a single file. Add property hint for saving files in file field
* Ability to get the current canvas item being drawn from stylebox.Juan Linietsky2019-01-241-0/+4
|
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Moved dirty material lists from static to lifetime controlled by main.Ibrahn Sahir2018-11-211-1/+1
| | | | | | As with 7d82bed4f4cac8f5227d935c0496290e24eb48c8, The list is now destroyed before the OS object, so can print errors if there are unfreed materials.
* Merge pull request #21386 from RandomShaper/fix-picking-in-canvas-layersJuan Linietsky2018-11-071-0/+1
|\ | | | | Fix picking in CanvasLayer
| * Fix picking in CanvasLayerPedro J. Estébanez2018-08-251-0/+1
| | | | | | | | New APIs in 2D physics allow intersection queries filtered by CanvasLayer object instance id. Viewport keep an inventory of its descendant CanvasLayers and takes advantage of all that to test picking with the mouse/touch position correctly transformed for each CanvasLayer.
* | Remove animation loop from ParticlesMaterial + improvements to CPUParticles2DJFonS2018-11-041-0/+26
| | | | | | | | | | | | | | | | Remove animation loop from ParticlesMaterial and move it to SpatialMaterial for 3D particles and Particles2D for the 2D case. Added animation to CPUParticles2D as well as the "Convert to CPUParticles2D" to the PAarticles2D menu.
* | Misc. typosluz.paz2018-09-121-1/+1
| | | | | | Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
* | Add a function to force transform update, fixes #17628Juan Linietsky2018-09-061-0/+2
|/
* Revert "Take CanvasLayer transform into account for 2D physics"Rémi Verschelde2018-08-231-2/+0
| | | | | | This reverts commit 4839e5f6d9ed1c0afee933009ab44b9913310d27. Fixes #21289.
* Take CanvasLayer transform into account for 2D physicsPedro J. Estébanez2018-08-211-0/+2
| | | | Fixes #18073.
* Fixes the bad calculation of margin & anchors when child of Node2Dgroud2018-06-071-24/+15
|
* Add no-blend canvas item render_modeBastiaan Olij2018-05-071-2/+4
|
* Remove the selection rect for nodes that do not require itGilles Roudiere2018-04-031-14/+32
|
* 2D Skeletons WORK IN PROGRESSJuan Linietsky2018-02-211-1/+1
|
* Add base support for 2D meshes in Godot, including Sprite -> Mesh2D conversion.Juan Linietsky2018-02-211-0/+4
|
* 2D editor GUI input rework. Changes are:Gilles Roudiere2018-02-161-1/+1
| | | | | | | | | | - 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.
* Merge pull request #15093 from poke1024/canvas-editor-selectRémi Verschelde2018-01-031-0/+1
|\ | | | | More exact picking for canvas editor
| * More exact picking for canvas editorBernhard Liebl2017-12-271-0/+1
| |
* | Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
|/ | | | Happy new year to the wonderful Godot community!
* -Ability to and unwrap lightmap coordinates on importJuan Linietsky2017-12-091-0/+2
| | | | | | | | -Added unwrap functionality to Mesh -Ability to display and debug mesh UVs -Added multiline draw, so it's easier and faster to draw UVs -Many fixes to SurfaceTool -Fixes to Thekla Unwrap, but it's a piece of ass and it keeps crashing. Will have to go away
* -Fix particles with size==0, closes #13931Juan Linietsky2017-12-061-0/+2
| | | | -Fixed material previews (dont show sphere unless for spatial)
* Rework the canvas_item API for further improves to the canvas item editorGilles Roudiere2017-11-191-8/+25
|
* Finalized ability to convert from CanvasItem/Spatial/Particles materials to ↵Juan Linietsky2017-11-141-0/+2
| | | | ShaderMaterial, closes #10242
* Disabled filter clip by default and made it optional, fixes #12368, likely ↵Juan Linietsky2017-11-101-1/+1
| | | | others too
* Rename pos to position in user facing methods and variablesletheed2017-09-201-2/+2
| | | | | | | | | | | Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
* Merge pull request #10361 from RandomShaper/tilemap-global-mtlRémi Verschelde2017-08-301-2/+2
|\ | | | | Let TileMap apply its material
| * Let TileMap apply its materialPedro J. Estébanez2017-08-151-2/+2
| | | | | | | | | | | | | | | | So when a material is set, every tile will be rendered with that. Quadrants will not be recreated, so a `CanvasItem` will exist per material per quadrant regardless a global material is set. This makes also __Use parent material__ work for `TileMap`s. Closes #9996.
* | Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
| |
* | Added polygon antialiasing, but it does not work on nvidia. Will have to try ↵Juan Linietsky2017-08-191-2/+2
| | | | | | | | something else..
* | Synchronize parameter names in definition and declarationTwistedTwigleg2017-08-161-1/+1
|/ | | | Fixes #10244.
* -Many fixes to VisualScript, fixed property names, etc.Juan Linietsky2017-06-301-0/+2
| | | | | | -Added ability to set/get a field in GetSet, as well as assignment ops -Added a Select node -Fixed update bugs related to variable list and exported properties, closes #9458
* -Fixed SCREEN_TEXTURE and other related 2D shader parameters.Juan Linietsky2017-06-261-1/+1
| | | | -Fixded BackBuffercopy object
* Small fixes required to get platformer to work.Juan Linietsky2017-06-231-3/+89
| | | | Added back CanvasItemMaterial
* 2D GPU Particles working..Juan Linietsky2017-06-211-1/+1
|
* Texture rect_region drawing now clamps UV to avoid bleeding. This avoids ↵Juan Linietsky2017-06-181-1/+1
| | | | scenarios like single-texture tilemap tiles leaking pixels to the next tile when filter is enabled on it.
* Add normalmap support for drawing in all low level primitives. Only added ↵Juan Linietsky2017-06-171-6/+6
| | | | support in Sprite so far.
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-201-1/+1
| | | | this might cause bugs I haven't found yet..
* Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei2017-04-101-1/+1
| | | | | | | | Control set_pos -> set_position Control set_global_pos -> set_global_position [gs]et_mouse_pos -> [gs]et_mouse_position [gs]et_global_mouse_pos -> [gs]et_global_mouse_position fixes #8005
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* New particle system, mostly working, some small features missing.Juan Linietsky2017-04-061-35/+3
|