Commit Graph

246 Commits

Author SHA1 Message Date
Bojidar Marinov f3342eb72e
Fix a inherited transform bug with Camera2D preview drawing
Closes #5339
2016-06-21 22:35:04 +03:00
Juan Linietsky fa0d1cd27c fix CanvasItem.get_global_transform() and CanvasItem.get_local_transform(), closes #4075 2016-06-20 21:19:12 -03:00
MarianoGNU 0f1a717c64 Remove unused connection. ShaderEditor should'nt handle ShaderGraphs.
Fixes #4678 && #4745
2016-06-20 00:50:33 -03:00
Juan Linietsky 7c20c386c5 -Added trigger mode to tracks, useful for properties that work as triggers, such as playing a sample, an animation, etc.
-Better interpolation of discrete tracks, fixes #4417
2016-06-19 01:43:02 -03:00
Rémi Verschelde b7dbf9207a Drop empty files that are not used anywhere
Part of #5272
2016-06-18 19:46:30 +02:00
Rémi Verschelde a7fc04626a Add missing license headers in our source files (#5255)
Also removes a couple wrong Godot headers from third-party source files.
2016-06-18 14:46:12 +02:00
Juan Linietsky 95dc15b750 Send body inout notifications after state is applied, fixes #4683 2016-06-17 16:45:10 -03:00
Juan Linietsky 4866713bc3 added a function CanvasItem.get_item_and_children_rect() , fixes #4738 2016-06-13 21:37:04 -03:00
Rémi Verschelde 0729c852b4 Fix indentation issues in last commits
Ping @reduz.
2016-06-07 07:39:40 +02:00
Juan Linietsky 2b9cab25c0 -Fix small bug regarding to canvas layer detection, closes #4381 2016-06-06 21:14:25 -03:00
Daniel J. Ramirez ba0baa3ca7 Modified damp ranges 2016-05-23 18:23:51 -05:00
Daniel J. Ramirez c9350d7897 Clamped some light2D ranges 2016-05-23 17:56:10 -05:00
Ovnuniarchos 0d20ceeb61 Polygon2D now exposes vertex colors. 2016-05-23 03:40:45 +02:00
Rémi Verschelde 94c34ff890 i18n: Proofreading of all strings
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-21 00:21:57 +02:00
volzhs ebcf04ff1f fix compile failure when tools=no 2016-05-18 14:29:53 +09:00
Rémi Verschelde be4d95c19a CanvasModulate: fix build issue with GCC
Bug from c195c0d.
2016-05-17 23:47:26 +02:00
Juan Linietsky c195c0df6b -Added configuration warning system for nodes
-Added a new "add" and "instance" buttons for scene tree
-Added a vformat() function to ease translation work
2016-05-17 18:28:44 -03:00
volzhs d6ccea541d remove old bind for add_frame of SpriteFrames
it causes ``ERROR: Method already bound: SpriteFrames::add_frame``
2016-05-17 22:48:36 +09:00
Juan Linietsky bed3efb17e New reworked AnimatedSprite!
-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-14 23:48:45 -03:00
MattUV 91c85ff1f5 classref: Fixed return types in Area and Area2D (#4635) 2016-05-12 17:03:15 +02:00
Rémi Verschelde 4eab767a6f Rotation APIs: Better exposure for degrees methods
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-06 23:38:08 +02:00
Ignacio Etcheverry 1e752c0120 Fix wrong return and argument types in documentation 2016-05-04 15:35:09 +02:00
Rémi Verschelde c97cc362e3 Merge pull request #4387 from JoshuaGrams/rigidbody2d-torque
Hooked up RigidBody2D torque methods
2016-04-29 10:29:12 +02:00
Josh Grams a7b4127481 RigidBody2D (add_force, set_inertia): new methods. 2016-04-26 08:15:15 -04:00
Josh Grams ffaced87a6 RigidBody2D: rename apply_impulse(pos) to offset. 2016-04-24 04:36:51 -04:00
Bojidar Marinov b2e0cedbf0 Fix continious update with Camera2D
Closes #4406
2016-04-23 15:27:32 +03:00
Josh Grams f7d31cec38 RigidBody2D: add and bind get_inertia() method.
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-20 20:49:37 -04:00
Josh Grams dbabe4c07c RigidBody2D: add and bind get/set_applied_torque. 2016-04-20 19:49:35 -04:00
Rémi Verschelde 6da39ce18d Merge pull request #4380 from bojidar-bg/camera2d-fix-zoom
Fix Camera2D ignoring zoom when checking limits
2016-04-19 20:48:59 +02:00
Bojidar Marinov 7a8aea0be9 Fix Camera2D ignoring zoom when checking limits
Closes #1912
2016-04-19 21:35:02 +03:00
Bojidar Marinov e7f66a88d6 Add preview of the Camera2D's screen boundaries
Closes #3365
2016-04-19 16:07:06 +03:00
Rémi Verschelde b9ac3df29b Merge pull request #4259 from neikeq/pr-issue-4224
Fix RayCast not updating when debugging collissions
2016-04-07 14:13:48 +02:00
Ignacio Etcheverry 6cf3bdcf76 Fix RayCast not updating when debugging collissions 2016-04-07 13:30:40 +02:00
Bojidar Marinov 6dcd1354c2 Add a `sleeping_state_changed` signal to RigidBody and RigidBody2D classes
Closes #3911
2016-04-06 17:14:38 +03:00
Bojidar Marinov 2a581835ca Fix issues with tilemap covering child nodes and old quadrants
Closes #4070
2016-03-18 18:57:26 +02:00
Hubert Jarosz 4a4f247914
remove trailing whitespace 2016-03-09 00:00:52 +01:00
Franklin Sobrinho 1d188c1c7b Fix Sprite doesn't updating region_rect value in certain conditions 2016-03-05 12:30:09 -03:00
Juan Linietsky 70cdfa681a -Change link to new documentation
-fixed bug in tilemap collision debug
2016-02-20 10:02:14 -03:00
Rémi Verschelde 281236280e Fix NavigationPolygon references in _bind_method
Also sync the doc accordingly
2016-02-17 18:46:31 +01:00
Rémi Verschelde 5439937899 Bind method is_cell_transposed 2016-02-15 23:30:52 +01:00
Johan Manuel a634fc7a4a Added get_cellv() method to TileMap 2016-02-06 13:48:41 +01:00
Juan Linietsky 35a28f3442 -Take in consideration canvas layers for GUI input 2016-01-24 10:57:42 -03:00
Juan Linietsky d01f55a78e Merge pull request #2698 from Faless/add_area_fix
Fix bug in Body(2D)SW::add_area
2016-01-23 23:07:23 -03:00
Juan Linietsky fe46f0d2b2 -leftover debug code was causing a crash in navigation 2d, removed it and fixes #3374 2016-01-22 19:49:05 -03:00
Rémi Verschelde 3c6dd5749d Merge pull request #3204 from neikeq/fix_3153
Consider texture offset when rotating tiles
2016-01-15 16:53:16 +01:00
Juan Linietsky a625f7d073 -Properly lock and and warn about switching off contact monitoring, fixes #3041 2016-01-12 06:14:15 -03:00
Rémi Verschelde 90e5fba1c1 Merge pull request #3300 from MarianoGnu/bug_fixing
fix: TouchScreenButton should stop propagating action when button is …
2016-01-11 08:47:37 +01:00
Juan Linietsky d7015613b1 It seems everyone misses the polygon decomposer output, fixes #3069 2016-01-10 23:09:05 -03:00
Juan Linietsky 5b088b41b3 make path update when curve changes, fixes #3144 2016-01-10 18:01:16 -03:00
MarianoGNU 3169b66d15 fix: TouchScreenButton should stop propagating action when button is removed from scene 2016-01-10 10:36:43 -03:00