summaryrefslogtreecommitdiff
path: root/scene/2d
AgeCommit message (Collapse)Author
2016-12-03Particles2D: Fix initial size randomness property having no effect.Andreas Haas
It was just a little typo :p
2016-11-24TileMap now honors blending mode.Ovnuniarchos
2016-11-01style: Fix PEP8 whitespace issues in Python filesRémi Verschelde
Done with `autopep8 --select=E2,W2`, fixes: - E201 - Remove extraneous whitespace. - E202 - Remove extraneous whitespace. - E203 - Remove extraneous whitespace. - E211 - Remove extraneous whitespace. - E221 - Fix extraneous whitespace around keywords. - E222 - Fix extraneous whitespace around keywords. - E223 - Fix extraneous whitespace around keywords. - E224 - Remove extraneous whitespace around operator. - E225 - Fix missing whitespace around operator. - E226 - Fix missing whitespace around operator. - E227 - Fix missing whitespace around operator. - E228 - Fix missing whitespace around operator. - E231 - Add missing whitespace. - E231 - Fix various deprecated code (via lib2to3). - E241 - Fix extraneous whitespace around keywords. - E242 - Remove extraneous whitespace around operator. - E251 - Remove whitespace around parameter '=' sign. - E261 - Fix spacing after comment hash. - E262 - Fix spacing after comment hash. - E265 - Format block comments. - E271 - Fix extraneous whitespace around keywords. - E272 - Fix extraneous whitespace around keywords. - E273 - Fix extraneous whitespace around keywords. - E274 - Fix extraneous whitespace around keywords. - W291 - Remove trailing whitespace. - W293 - Remove trailing whitespace.
2016-10-22Merge pull request #6090 from WalasPrime/raytrace_forceRémi Verschelde
Added force_raycast_update GDScript method for RayCast[2D]
2016-10-17SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-11Sprite: Fix inspector not showing changes on "frame" property.Andreas Haas
Fixes #6562
2016-10-04Add editor_only param to Light2DPedro J. Estébanez
2016-10-03Added force_raycast_update GDScript method for RayCast[2D]Karol Walasek
2016-09-29Fix #6480, area duplicated paramPawel Kowal
2016-09-19Fix for #6158. Converting Vector2 to Size2 for scaling functions.anneomcl
2016-09-15Center camera2D with the proper viewport sizeJuan Linietsky
2016-09-14Added a few functions to make 2D split screen easier.Juan Linietsky
2016-09-01-Fixed issue in Kinematicbody2DJuan Linietsky
2016-08-31More improvements to visual script..Juan Linietsky
fixed a bug of not saving when sub-nodes changed.
2016-08-31draw_line: Properly bind antialiased argumentRémi Verschelde
2016-08-30More visual script improvementsJuan Linietsky
-Added anti-aliasing on lines -Improved draw performance enormously -Removed sequence ports for most nodes, current visual scripts will likely be broken now. Sorry!
2016-08-30Merge pull request #5670 from timoschwarzer/feature/camera2d_limit_smoothingRémi Verschelde
Add an option to smooth camera limits when camera smoothing is enabled.
2016-08-29Merge pull request #6159 from touilleMan/issue-6148Rémi Verschelde
Add Node2d global rot/rotd/scale methods
2016-08-28Several all around fixes to visual scripting (in the process of creating demos)Juan Linietsky
2016-08-15Add Node2D's set_global_rot get_global_rot set_global_rotd get_global_rotd ↵Emmanuel Leblond
set_global_scale get_global_scale methods.
2016-08-08prevent bug due to scripts not working in editor and notifier sending ↵Juan Linietsky
signals to it.
2016-07-24Merge pull request #5447 from RandomShaper/parallax-layer-fix-tidyJuan Linietsky
Improve parallax mirroring algorithm
2016-07-13Add an option to smooth camera limits when camera smoothing is enabled.Timo Schwarzer
2016-07-11Merge pull request #4854 from Razzlegames/screenToLocalJuan Linietsky
Conversion function for screen coords to local Canvas coords
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-07-10Merge pull request #5270 from lonesurvivor/masterJuan Linietsky
Added Tile Origin = Bottom Left option to the TileMap
2016-07-10Merge pull request #5490 from timoschwarzer/masterJuan Linietsky
Add new Camera2D alignment functions
2016-07-08Remove unused variables (fourth pass) + dead codeRémi Verschelde
Also fix a potential regression from 3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33.
2016-07-06Fix the +1 button to insert keyframes in Sprite and Sprite3D, closes #5422Juan Linietsky
2016-06-30Fix Camera2D header for align()Timo Schwarzer
2016-06-29Add align() to realign the Camera2D to its tracked nodeTimo Schwarzer
align() will center the tracked Node if anchor mode is set to DRAG_CENTER, otherwise the camera is set to the Node's position
2016-06-29Add reset_smoothing() for immediately fixing the camera to the destination ↵Timo Schwarzer
location
2016-06-27Properly deliver localized coordinates when passing gui events through ↵Juan Linietsky
parents, closes #4215
2016-06-27Improve parallax mirroring algorithmPedro J. Estébanez
Replaces the iterative approach currently used by an equivalent direct computation. Also fixes infinite looping that happens when the mirroring value is negative.
2016-06-26Avoid mirroring to go negative to fix crash, closes #4036Juan Linietsky
2016-06-26Added an option to ParallaxLayer to add an extra scroll offset, helps if you ↵Juan Linietsky
want to make clouds to move by themselves and animate that, for example.
2016-06-26Revert "Improve parallax mirroring algorithm"Rémi Verschelde
2016-06-26Ability to set draw transform as a matrix, closes #5428Juan Linietsky
2016-06-26Merge pull request #5307 from MarianoGnu/masterRémi Verschelde
TextureRegion improvements
2016-06-24Merge pull request #5391 from RandomShaper/parallax-layer-fix-tidyRémi Verschelde
Improve parallax mirroring algorithm
2016-06-24Improve parallax mirroring algorithmPedro J. Estébanez
Replaces the iterative approach currently used by the standard fmod() function. Also fixes infinite looping that happens when the mirroring value is negative.
2016-06-23Rename CanvasItem.edit_get() to edit_get_state()George Marques
This makes more sense of what it does and correlates to edit_set_state()
2016-06-21Fix a inherited transform bug with Camera2D preview drawingBojidar Marinov
Closes #5339
2016-06-20fix CanvasItem.get_global_transform() and CanvasItem.get_local_transform(), ↵Juan Linietsky
closes #4075
2016-06-20Modify margins with mouse inputMarianoGNU
2016-06-20Added Tile Origin = Bottom Left option to the TileMapPatrick Reh
2016-06-20Remove unused connection. ShaderEditor should'nt handle ShaderGraphs.MarianoGNU
Fixes #4678 && #4745
2016-06-19-Added trigger mode to tracks, useful for properties that work as triggers, ↵Juan Linietsky
such as playing a sample, an animation, etc. -Better interpolation of discrete tracks, fixes #4417
2016-06-18Drop empty files that are not used anywhereRémi Verschelde
Part of #5272
2016-06-18Add missing license headers in our source files (#5255)Rémi Verschelde
Also removes a couple wrong Godot headers from third-party source files.