summaryrefslogtreecommitdiff
path: root/scene/2d/canvas_item.h
AgeCommit message (Collapse)Author
2016-07-10Conversion function for screen coords to local Canvas coordsKyle Luce
- Useful if you need to Convert screen coords to the coordinate space of a CanvasItem, but don't have an associated InputEvent to use in #make_event_local. For example, if you have a particular point on the screen you'd like to project into World Space, for various reasons, you would use this function on the root of the scene. This is analogous to ray casting from screen space in 3D.
2016-06-26Ability to set draw transform as a matrix, closes #5428Juan Linietsky
2016-06-20Remove unused connection. ShaderEditor should'nt handle ShaderGraphs.MarianoGNU
Fixes #4678 && #4745
2016-06-13added a function CanvasItem.get_item_and_children_rect() , fixes #4738Juan Linietsky
2016-01-24-Take in consideration canvas layers for GUI inputJuan Linietsky
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-29-Make tilemap able to change light mask, fixes #2557reduz
2015-12-14-implement arrows on tabs, when too many tabs are present, fixes #2806Juan Linietsky
2015-11-26Added set_hidden method to Spatial and CanvasItemromulox_x
2015-09-15Ability to keep collisionshapes and collisionpolygons when running the game.reduz
Works for 2D and 3D These are still just helpers in case you want to animate them or access them directly. Modifying the real shapes is still done via CollisionObject and CollisionObject2D APIs But an API was added so you can query which shapes from CollisionObject correspond to which CollisionShape. Have Fun!
2015-05-01-Fixed android export options (screen sizes, orientation should work)Juan Linietsky
-added functions to get mouse position in CanvasItem
2015-04-18Updated copyright year in all headersJuan Linietsky
2015-04-03Changes to LightJuan Linietsky
-=-=-=-=-=-=-=-= -Changed material unshaded property for an enum, which supports light-only shading -Added a "Mix" shading mode, useful for using lights as masks -Added energy parameter to Light2D
2015-03-22input events on Area2D is now supportedJuan Linietsky
also added a demo showing how this works
2015-03-02support for 2D shadow castersJuan Linietsky
Added support for 2D shadow casters. *DANGER* Shaders in CanvasItem CHANGED, if you are using shader in a CanvasItem and pull this, you will lose them. Shaders now work through a 2D material system similar to 3D. If you don't want to lose the 2D shader code, save the shader as a .shd, then create a material in CanvasItem and re-assign the shader.
2015-02-21Merge pull request #1369 from not-surt/tile_rotationJuan Linietsky
Tile Rotation
2015-02-18support for light and normal mapping in 2DJuan Linietsky
2015-02-11Merge branch 'master' of https://github.com/okamstudio/godotCarl Olsson
Conflicts: demos/2d/polygon_path_finder_demo/.fscache
2015-02-11added missing set_shader_param functionsJuan Linietsky
also added code completion hint for shader params
2015-02-02Working TileMap tile transpose transform.Carl Olsson
2015-01-12-fixed issue with shader not being reset on layers, closes #1199Juan Linietsky
-ability for shader to use parent shader and params, closes #1198
2015-01-11-Initial (untested) implementation of 2D shaders. Probably broken, will be ↵Juan Linietsky
fixed later. -fixed issue of opacity not working
2014-11-05SceneMainLoop -> SceneTreeJuan Linietsky
-=-=-=-=-=-=-=-=-=-=-=-=-=- *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
2014-05-24Making Godot Easier to Use..Juan Linietsky
-=-=-=-=-=-=-=-=-=-=-=-=-=-= -Auto indenter in code editor, this makes it much easier to paste external code. -Zoom in 2D viewport now uses the mouse pointer as reference. -Obscure hack to see where code/line of GDScript in C++ backtrace. -Fixed a bug where keys would get stuck on X11 if pressed simultaneously -Added Api on IP singleton to request local IPs. -Premultiplied alpha support when importing texture, editing PNGs and as a blend mode.
2014-04-14-Added google play services (needed for some stuff)Juan Linietsky
-Added new screen resizing options, stretch_2d is removed, new much more flexible ones. -Fixed bug in viewport (can create more instances in 3d-in-2d demo now) -Can set android permissions and screen sizes manually in the export settings -Changed export templates extension to .tpz (too many people unzipped the manually..) -File dialog now ensures that the proper extension is used (will not allow to save without it) -Fixed bug that made collision exceptions not work in 2D
2014-04-10-Fixed a few bugs in ViewportJuan Linietsky
-Made a few demos using Viewport to show it's true power! -Fixed some start-up error messages.
2014-04-05-Support for changing fontsJuan Linietsky
-Detect when free() might crash the project and throw error -fixed 2D Bounce in physics (3d still broken) -renamed “on_top” property to “behind_parent”, which makes more sense, old on_top remains there for compatibility but is invisible. -large amount of fixes
2014-02-09GODOT IS OPEN SOURCEJuan Linietsky