Rémi Verschelde
8312d421c6
Move core thirdparty files to thirdparty/{minizip,misc}
...
(cherry picked from commit 2398eb6ed4
)
2017-05-26 23:29:26 +02:00
Rémi Verschelde
e7328fe5a0
Fix return statement in CanvasItem::get_global_transform_with_canvas
...
Thanks to @susnux for the report and patch in #5446 .
2017-05-12 19:54:54 +02:00
Rémi Verschelde
6aaec01e99
Merge pull request #8272 from MattUV/2.1
...
Add methods to get and set bits of collision layers and masks for TileMaps (2.1)
2017-04-24 11:13:33 +02:00
MattUV
de96024453
Add set/get_collision_layer/mask_bit() to TileMaps
...
Add four methods to the TileMap node to make collision layers and masks be modified bit by bit (like PhysicBody2Ds and RayCast2Ds):
* set_collision_layer_bit()
* set_collision_mask_bit()
* get_collision_layer_bit()
* get_collision_mask_bit()
2017-04-11 19:38:14 +02:00
Rémi Verschelde
b46d7f986d
Merge pull request #8320 from RandomShaper/zero-preprocess-particles2d-2.1
...
Allow a preprocess time of 0 for Particles2D (2.1)
2017-04-09 17:44:23 +02:00
Andreas Haas
9b6b713d61
Particles2D: Fix flip property (again).
...
should have flipped the dst_rect..
2017-04-09 01:16:48 +02:00
Rémi Verschelde
c9eb0f5f45
Merge pull request #8317 from RandomShaper/fix-area-monitoring-2.1
...
Fix side effects of the bookkepping of Area/Area2D's monitoring (2.1)
2017-04-08 22:47:44 +02:00
Pedro J. Estébanez
86966940ff
Allow a preprocess time of 0 for Particles2D
2017-04-08 20:00:24 +02:00
Pedro J. Estébanez
c3c0cfd207
Fix side effects of the bookkepping of Area/Area2D's monitoring
...
- Fix monitoring flag being reset when the scene is out of the tree (happens on save all if the current scene is not the focused one, therefore on save-on-run as well)
- Fix the inability to reset the monitoring flag while the area is out of the tree
2017-04-08 13:24:29 +02:00
Rémi Verschelde
e9b045d9e5
Add "Godot Engine contributors" copyright line
2017-04-08 00:45:24 +02:00
Pedro J. Estébanez
9f8f8efa67
Add priority to samples in a library
2017-04-06 23:59:49 +02:00
Rémi Verschelde
e10e732bf0
Merge pull request #8242 from volzhs/area-monitoring
...
Fix monitoring status of Area2D and doing same logic on Area too
2017-04-04 23:04:20 +02:00
Pedro J. Estébanez
7d642e218e
Improve TouchScreenButton
...
Fix shape not being updated
Add a way to hide the shape on editor and debug-with-visible-shapes
Remove useless checks
2017-04-03 14:38:01 +02:00
volzhs
73f53a7918
Fix monitoring status of Area2D
2017-04-03 21:00:38 +09:00
Pedro J. Estébanez
98ba3db502
Fix Particles2D process mode back-compat issue
2017-03-20 19:47:25 +01:00
Rémi Verschelde
f8db8a3faa
Bring that Whole New World to the Old Continent too
...
Applies the clang-format style to the 2.1 branch as done for master in
5dbf1809c6
.
2017-03-19 00:36:26 +01:00
Rémi Verschelde
dbf0137576
Style: Fix statements ending with ';;'
...
(cherry picked from commit f44ee891be
)
2017-03-18 21:14:33 +01:00
Bojidar Marinov
ecb4d41d20
Add Rect2 TileMap::get_used_rect(), closes #4390
...
(cherry picked from commit 136e1e18ba
)
2017-03-18 20:16:14 +01:00
Andreas Haas
fb2173174d
Particles2D: implement texture flip parameters.
...
(cherry picked from commit 6a2dccaf77
)
2017-03-18 20:06:11 +01:00
Andreas Haas
1eb9925f58
CollisionShape2D: Fix warning icon not updating.
...
`CollisionPolygon2D` also had this problem.
(cherry picked from commit 16eee2f59b
)
2017-03-18 19:32:02 +01:00
Rémi Verschelde
ce09a094ab
Merge pull request #7987 from RandomShaper/fix-touch-button-2.1
...
Several fixes for TouchScreenButton (2.1)
2017-03-13 11:02:50 +01:00
Pedro J. Estébanez
3be30efe8e
Fixes for TouchScreenButton
...
- getting stuck on pause
- handling input when not visible
2017-03-10 14:11:54 +01:00
Pedro J. Estébanez
95a5d9e617
Fix KinematicBody2D wrong motion origin
...
Got part of the fix from 5fc084c28e
Added an engine setting to enable the fix (physics_2d/motion_fix_enabled) which is false by default so the default behavior is the same as always
Added motion methods with a from parameter, the same as 3.0 does
2017-03-06 05:10:15 +01:00
lonesurvivor
5b556cab25
Fixes two problems with Area2D and remove_child()
...
- When one of two or more overlapping Area2Ds is removed with remove_child(), it doesn't try to report to the
other one anymore
- When overlappinng Area2Ds are removed woth remove_child(), _enter_tree and _exit_tree signals are now
properly disconnected upon removal
2017-03-03 11:36:50 +01:00
Pedro J. Estébanez
b6721caa13
Add modulate (color) to TileSet tiles
...
(cherry picked from commit 86789c7071
)
2017-03-01 03:21:47 +01:00
Rémi Verschelde
e9e5affda1
Merge pull request #7896 from RandomShaper/particles2d-process-mode-2.1
...
Add process mode option to Particles2D (2.1)
2017-02-27 14:03:46 +01:00
Pedro J. Estébanez
7e90b98db2
Add process mode option to Particles2D
2017-02-27 10:45:06 +01:00
Pedro J. Estébanez
5b8d5766f4
Fix crash if TouchScreenButton is pressed while exiting the tree
2017-02-22 01:36:31 +01:00
Pedro J. Estébanez
c0f7b80b89
Solve TouchScreenButtons issues
...
Fix touch button needing double tap after pause (applies to those not set to pass-by)
Fix error when a pressed TouchScreenButton with no associated action exits the tree
(with some refactoring of duplicate code)
2017-02-10 20:53:35 +01:00
Pedro J. Estébanez
67a0da34a2
Add shape property to TouchScreenButton
2017-01-25 17:06:06 +01:00
Juan Linietsky
25a62a3e32
Added a few functions to make 2D split screen easier.
...
(cherry picked from commit a4156f1f0a
)
2017-01-12 20:53:03 +01:00
Wilhem Barbier
0b6d4e92b5
Add the 'finished' signal to AnimatedSprite
...
(cherry picked from commit f6262fde11
)
2017-01-12 19:15:30 +01:00
Rémi Verschelde
d8223ffa75
Welcome in 2017, dear changelog reader!
...
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer
with state-of-the-art rendering techniques tuned to work as low as middle
end handheld devices - without compromising with the possibilities given
for higher end desktop games of course. Great times ahead for the Godot
community and the gamers that will play our games!
(cherry picked from commit c7bc44d5ad
)
2017-01-12 19:15:30 +01:00
Ignacio Etcheverry
b5bdc60f58
TileMap: _update_dirty_quadrants() cancel pending update pre return
...
(cherry picked from commit 5b3acd287d
)
2017-01-12 19:15:29 +01:00
volzhs
580031e6f5
Able to change visibility when ancestor node is hidden
...
(cherry picked from commit 792ff11642
)
2017-01-12 19:15:28 +01:00
Ignacio Etcheverry
5354d7ddcc
KinematicBody: Fix wrong method bind return type
...
(cherry picked from commit d579d0a814
)
2017-01-12 19:15:27 +01:00
Andreas Haas
01f3399ed0
Particles2D: Fix initial size randomness property having no effect.
...
It was just a little typo :p
(cherry picked from commit 4dd6bead1f
)
2017-01-12 19:15:27 +01:00
Emmanuel Leblond
39ce4a49fa
Add Node2D's set_global_rot get_global_rot set_global_rotd get_global_rotd set_global_scale get_global_scale methods.
2017-01-10 17:15:28 +01:00
Rémi Verschelde
e259bf8bbb
style: Fix PEP8 whitespace issues in Python files
...
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-11-02 22:28:28 +01:00
Karol Walasek
0af331d1c0
Added force_raycast_update GDScript method for RayCast[2D]
...
(cherry picked from commit 7494a8c3c6
)
2016-10-31 00:00:23 +01:00
Rémi Verschelde
5a49e45d21
SCsub: Add python shebang as a hint for syntax highlighting
...
Also switch existing shebangs to "better" /usr/bin/env python.
(cherry picked from commit fc8ccd5b8c
)
2016-10-30 14:51:34 +01:00
Andreas Haas
5f540a17cc
Sprite: Fix inspector not showing changes on "frame" property.
...
Fixes #6562
(cherry picked from commit 9d67895c7c
)
2016-10-17 20:47:27 +02:00
Pedro J. Estébanez
c0ba08b8d5
Add editor_only param to Light2D
...
(cherry picked from commit 34c02fad5a
)
2016-10-09 17:34:29 +02:00
Pawel Kowal
ab231cd3fb
Fix #6480 , area duplicated param
...
(cherry picked from commit f9a21baa26
)
2016-10-09 17:23:43 +02:00
anneomcl
12edde80f2
Fix for #6158 . Converting Vector2 to Size2 for scaling functions.
...
(cherry picked from commit aa5ade834c
)
2016-10-09 17:18:54 +02:00
Juan Linietsky
569966f3bb
prevent bug due to scripts not working in editor and notifier sending signals to it.
...
(cherry picked from commit 37b5e99bc2
)
2016-08-09 00:13:31 +02:00
Juan Linietsky
ba625a14c6
Merge pull request #5447 from RandomShaper/parallax-layer-fix-tidy
...
Improve parallax mirroring algorithm
2016-07-24 12:19:27 -03:00
Juan Linietsky
b41be2d1a9
Merge pull request #4854 from Razzlegames/screenToLocal
...
Conversion function for screen coords to local Canvas coords
2016-07-11 02:26:58 -03:00
Kyle Luce
605193b22f
Conversion function for screen coords to local Canvas coords
...
- 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-10 16:06:57 -07:00
Juan Linietsky
46bb02991f
Merge pull request #5270 from lonesurvivor/master
...
Added Tile Origin = Bottom Left option to the TileMap
2016-07-10 13:41:33 -03:00