summaryrefslogtreecommitdiff
path: root/scene/2d
AgeCommit message (Collapse)Author
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-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.
2016-06-17Send body inout notifications after state is applied, fixes #4683Juan Linietsky
2016-06-13added a function CanvasItem.get_item_and_children_rect() , fixes #4738Juan Linietsky
2016-06-07Fix indentation issues in last commitsRémi Verschelde
Ping @reduz.
2016-06-06-Fix small bug regarding to canvas layer detection, closes #4381Juan Linietsky
2016-05-23Modified damp rangesDaniel J. Ramirez
2016-05-23Clamped some light2D rangesDaniel J. Ramirez
2016-05-23Polygon2D now exposes vertex colors.Ovnuniarchos
2016-05-21i18n: Proofreading of all stringsRémi Verschelde
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.
2016-05-18fix compile failure when tools=novolzhs
2016-05-17CanvasModulate: fix build issue with GCCRémi Verschelde
Bug from c195c0d.
2016-05-17-Added configuration warning system for nodesJuan Linietsky
-Added a new "add" and "instance" buttons for scene tree -Added a vformat() function to ease translation work
2016-05-17remove old bind for add_frame of SpriteFramesvolzhs
it causes ``ERROR: Method already bound: SpriteFrames::add_frame``
2016-05-14New reworked AnimatedSprite!Juan Linietsky
-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.
2016-05-12classref: Fixed return types in Area and Area2D (#4635)MattUV
2016-05-06Rotation APIs: Better exposure for degrees methodsRémi Verschelde
Made public the various set/getters for rotations in degrees. For consistency, renamed the exposed method names to remove the leading underscore, and kept the old names with a deprecation warning. Fixes #4511.
2016-05-04Fix wrong return and argument types in documentationIgnacio Etcheverry
2016-04-29Merge pull request #4387 from JoshuaGrams/rigidbody2d-torqueRémi Verschelde
Hooked up RigidBody2D torque methods
2016-04-26RigidBody2D (add_force, set_inertia): new methods.Josh Grams
2016-04-24RigidBody2D: rename apply_impulse(pos) to offset.Josh Grams
2016-04-23Fix continious update with Camera2DBojidar Marinov
Closes #4406
2016-04-20RigidBody2D: add and bind get_inertia() method.Josh Grams
You can't set this value very well, since it's automatically computed from the mass and the collision shapes. But since the values are higher than many people might suspect, so being able to read it helps estimate the amount of torque you might need to apply.
2016-04-20RigidBody2D: add and bind get/set_applied_torque.Josh Grams
2016-04-19Merge pull request #4380 from bojidar-bg/camera2d-fix-zoomRémi Verschelde
Fix Camera2D ignoring zoom when checking limits
2016-04-19Fix Camera2D ignoring zoom when checking limitsBojidar Marinov
Closes #1912