Commit Graph

219 Commits

Author SHA1 Message Date
Rémi Verschelde b6be2f503d 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.

(cherry picked from commit 4eab767a6f)
2016-05-12 08:55:14 +02:00
Ignacio Etcheverry 19f08eaa5b Fix wrong return and argument types in documentation
(cherry picked from commit 1e752c0120)
2016-05-06 11:13:35 +02:00
Bojidar Marinov 7f4387d21e Fix continious update with Camera2D
Closes #4406

(cherry picked from commit b2e0cedbf0)
2016-04-27 20:17:07 +02:00
Bojidar Marinov c523749662 Fix Camera2D ignoring zoom when checking limits
Closes #1912

(cherry picked from commit 7a8aea0be9)
2016-04-27 20:16:08 +02:00
Bojidar Marinov 4c358b7043 Add preview of the Camera2D's screen boundaries
Closes #3365

(cherry picked from commit e7f66a88d6)
2016-04-27 20:15:46 +02:00
Ignacio Etcheverry 40d21117f9 Fix RayCast not updating when debugging collissions
(cherry picked from commit 6cf3bdcf76)
2016-04-27 08:42:01 +02:00
Bojidar Marinov 63e33cfdd2 Add a `sleeping_state_changed` signal to RigidBody and RigidBody2D classes
Closes #3911

(cherry picked from commit 6dcd1354c2)
2016-04-06 18:49:51 +02:00
Bojidar Marinov 0ea354c12a Fix issues with tilemap covering child nodes and old quadrants
Closes #4070

(cherry picked from commit 2a581835ca)
2016-04-02 22:12:53 +02:00
Hubert Jarosz 424a104666 remove trailing whitespace
(cherry picked from commit 4a4f247914)
2016-04-02 22:03:48 +02:00
Franklin Sobrinho edb3716da7 Fix Sprite doesn't updating region_rect value in certain conditions
(cherry picked from commit 1d188c1c7b)
2016-03-06 09:48:20 +01: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
Ariel Manzur d199ed344d removed prints 2016-01-09 19:51:05 -03:00
Ignacio Etcheverry a9dbe83155 TileMap: Properly flip/rotate tiles with non-square region 2016-01-04 15:28:11 +01:00
Juan Linietsky a501ee355b properly specify metadata in KB function 2016-01-03 20:25:27 -03:00
Juan Linietsky 939c5f5c9e -Fix global transform cache not being cleared in 2D nodes, fixes many editor bugs, closes #2115 2016-01-02 20:32:19 -03:00
Ignacio Etcheverry e22e0cecf7 TileMap: Consider texture offset for rotated tiles 2016-01-02 18:17:20 +01:00
Juan Linietsky d069c44a7f -Fix TouchScreenButton to work with stretch and viewport canvas transform, closes #2286 2016-01-02 11:23:30 -03:00
Juan Linietsky 199a29b353 Merge pull request #3184 from vnen/update-copyright-2016
Update copyright to 2016 in headers
2016-01-01 11:03:29 -03:00
George Marques 5be9ff7b67 Update copyright to 2016 in headers 2016-01-01 11:50:53 -02:00
Juan Linietsky 7879efc50b Make both lights and occluders stop working if hidden, fixes #2437 2016-01-01 10:45:24 -03:00
Juan Linietsky b78c1e52c2 Make CanvasModulate deactivate when hidden, fixes #2437 2016-01-01 10:33:02 -03:00
Juan Linietsky 7d0894e925 -Improved convex decomposer for CollisionPolygon2D, fixes #2336 2015-12-31 20:23:34 -03:00
Juan Linietsky d1a799f744 -fix range limit issue in Particles2D, closes #2411 2015-12-31 15:18:03 -03:00
Juan Linietsky 1e65c3c701 remove error print in area collision, should be a valid situation, closes #2463 2015-12-31 11:15:49 -03:00
Juan Linietsky 335c52ba03 Merge branch 'master' of https://github.com/godotengine/godot 2015-12-31 00:33:07 -03:00
Juan Linietsky fd836cad27 -Ensure .tscn and .tres always save in a deterministic way, fixes #2495
-Scene edit state is saved outside the scene now, to avoid changes .tscn files when nothing really changed
-Created a VariantWriter helper to unify all variant to text writing
-Moved SceneFormatText writing to VariantWriter
-Moved ConfigFile to use VariantWriter and VariantParser, added compatibility mode for old .cfg files that use engine.cfg format
2015-12-31 00:31:00 -03:00
reduz b8f18cd73c add 2d paths and joints to collision/navigation debug, fixes #2439 2015-12-29 19:07:37 -03:00
reduz 408a67193e Added a reset() function to Particles2D, fixes #2472, fixes #2468 2015-12-29 18:53:45 -03:00
reduz 196b3e03fc Fix CanvasItem.draw_set_transform to act according to docs, fixes #2487 2015-12-29 18:27:20 -03:00
reduz 5063cd7757 -Make tilemap able to change light mask, fixes #2557 2015-12-29 14:47:13 -03:00
reduz f7b64a62d1 -renamed function get_relative_transform() to get_relative_transform_to_parent(), makes more sense
-fixed newly introduced bug in onready keyword, fixes #3155
2015-12-28 21:05:57 -03:00
Rémi Verschelde d4993b74fc Add missing argument names in GDScript bindings
All classes were reviewed apart from VisualServer for which no argument name is documented at all.
While doing this review, I found quite a few bugs that were fixed either in earlier commits or this one (mostly documentation bugs though, i.e. some arguments were listed at the wrong place).
2015-12-28 02:13:05 +01:00
Juan Linietsky acc9db1695 Merge pull request #3071 from Ovnuniarchos/NewAreaCombiners
New and corrected area override modes.
2015-12-22 10:57:39 -03:00
Juan Linietsky 83e0e97214 -implement arrows on tabs, when too many tabs are present, fixes #2806 2015-12-14 10:24:28 -03:00
Ovnuniarchos 89efebbf56 New and corrected are override modes. 2015-12-14 02:56:49 +01:00
Juan Linietsky ec8f0d7eb9 ability to set occluder mask in tilemap, fixes #3025 2015-12-12 10:45:31 -03:00
Juan Linietsky 29ea399234 -make smoothing respect camera limits, fixes #3037 2015-12-12 09:26:13 -03:00
Juan Linietsky 9251298f46 -collision debug is shown above all else, fixes #2985 2015-12-12 08:11:36 -03:00