Wilson E. Alvarez
6d112a68b6
Moved member variables from constructor to initialization list
2017-08-08 21:43:19 -04:00
Juan Linietsky
bb47bca1f6
Ability to pause particles, closes #3675
2017-08-07 19:02:25 -03:00
Rémi Verschelde
3121b3a4f4
Merge pull request #10141 from ISylvox/lower_case_godot_api
...
Makes all Godot API's Methods lower_case
2017-08-07 14:59:39 +02:00
Rémi Verschelde
9244ea6d54
Merge pull request #10109 from eska014/init-particles2d-draw-order
...
Initialize Particles2D draw order property
2017-08-07 14:50:59 +02:00
Indah Sylvia
5ae78fdf6a
Makes all Godot API's methods Lower Case
2017-08-07 18:24:35 +07:00
Juan Linietsky
37adf936ab
few bugs fixed thanks to explicit bool constructor and clang.
...
explicit bool constructor has thus now been removed, as it served it's mission!
2017-08-05 21:43:10 -03:00
Juan Linietsky
435bedd9ef
Merge pull request #10116 from neikeq/prop_method_ambiguities
...
Renames properties and methods to avoid ambiguities
2017-08-05 17:55:43 -03:00
Ignacio Etcheverry
e82270e8d0
Renames properties and methods to avoid ambiguities
...
- Method Node2D.scale(Vector2) renamed to Node2D.apply_scale(Vector2)
- Property BaseButton.is_pressed renamed to BaseButton.pressed
2017-08-05 22:52:58 +02:00
Juan Linietsky
52649f1038
emit signal properly when frame has changed in autoplay, fixes #7730
2017-08-05 16:32:34 -03:00
Juan Linietsky
e47ecc63ef
Properly update frame range after modifying the vframe/hframes, closes #7624
2017-08-05 16:19:36 -03:00
Juan Linietsky
de9fb90dbf
Warn about resizing a rigidbody (2D or 3D), covers the most common cases, closes #7615
2017-08-05 16:06:15 -03:00
L. Krause
4d26b14576
Initialize Particles2D draw order property
2017-08-05 12:46:49 +02:00
Rémi Verschelde
0257ced05b
Merge pull request #10040 from Hassan-A/getCells3.0
...
Added get_used_cells_by_id method 3.0
2017-08-03 10:33:49 +02:00
Hassan A
74587a4927
Added get_used_cells_by_id method 3.0
2017-08-02 18:02:00 -04:00
Rémi Verschelde
85088275c5
Merge pull request #8209 from robertdhernandez/Texture-Region-Editor-Sync
...
Texture region now updates when changing an Atlas region rect
2017-08-01 00:15:37 +02:00
Rémi Verschelde
0a74fb625e
Merge pull request #9791 from bojidar-bg/6087-add-global-local-conv
...
Add .to_local/.to_global methods on Node2D and Spatial
2017-07-24 22:24:34 +02:00
Jakub Grzesik
567cbfcceb
expose missing CollisionShape API for CollisionObject
2017-07-24 20:29:49 +02:00
Rémi Verschelde
374cffaa11
Merge pull request #9764 from Noshyaar/pr-fix2
...
Add object type hint for docs
2017-07-24 08:07:32 +02:00
Poommetee Ketson
2777f81d29
Add object type hint for docs
2017-07-23 18:57:03 +07:00
Bojidar Marinov
140f189a65
Add .to_local/.to_global methods on Node2D and Spatial
...
Those are just helpers around get_global_transform().affine_inverse().xform() and get_global_transform().xform().
Closes #6087
2017-07-23 14:37:26 +03:00
Poommetee Ketson
49331fbd63
Sprite: fix disconnect nonexistent signal
2017-07-23 01:02:33 +07:00
Poommetee Ketson
49c7620326
Add object type hint for docs
2017-07-19 02:03:34 +07:00
Rémi Verschelde
738d6c0afc
Merge pull request #9355 from TwistedTwigleg/Remote_node_enhancement
...
RemoteTransform and RemoteTransform2D enhancements
2017-07-11 11:11:29 +02:00
Thomas Herzog
f9c99486b0
Merge pull request #9592 from RandomShaper/remove-warns
...
Remove warnings about benign situations
2017-07-10 22:23:11 +02:00
Pedro J. Estébanez
7d308797ad
Remove warnings about benign situations
2017-07-10 16:20:56 +02:00
TwistedTwigleg
3400c42c4d
Added the following features to RemoteTransform and RemoteTransform2D:
...
- Added the ability to toggle changes in position, rotation, and scale
- Added the ability to toggle changes in either local or global coordinates
2017-07-05 16:29:48 -04:00
Johan Manuel
00afca31c6
Use the gravity constant to calculate weights
2017-07-05 15:14:12 +02:00
TwistedTwigleg
a6feb0943a
Fixed set_global_scale in Node2D.
2017-07-03 13:28:26 -04:00
Bojidar Marinov
4d2642b666
Readd tilemap's shape_transform and bugfixes
...
This reverts commit a808f53020
.
2017-07-01 20:56:51 +03:00
Juan Linietsky
a808f53020
Revert "Fix Tileset/tilemap issues related to my adding of one-way collisions to them"
2017-07-01 13:02:04 -03:00
Juan Linietsky
2a3e00c8c7
-Many fixes to VisualScript, fixed property names, etc.
...
-Added ability to set/get a field in GetSet, as well as assignment ops
-Added a Select node
-Fixed update bugs related to variable list and exported properties, closes #9458
2017-06-30 21:35:05 -03:00
Bojidar Marinov
80356f925c
Fix #9409 , fixup #9370 ; tileset now has shape transform instead of offset
...
Fix bad return type in CollisionObject2D, Shape -> Shape2D. Was causing unintended null when casting. (9409)
Fix a misplaced ++ operator. (9370)
Fix merging with exiting tileset duplicating shapes. (9370)
2017-06-30 19:01:20 +03:00
Robert Hernandez
f0f407e76e
Texture region now updates when changing an Atlas
...
- Removed atlas_changed signal for AtlasTexture
- Changes are now handled by _notify_change
- Removed unneccesary signal connections
- Texture preview now updates in real-time
Fixed TextureRegionEditor constantly regenerating
2017-06-29 10:49:24 -04:00
Juan Linietsky
3ce046ee0c
-Fixed SCREEN_TEXTURE and other related 2D shader parameters.
...
-Fixded BackBuffercopy object
2017-06-26 22:58:46 -03:00
Rémi Verschelde
b0516e0412
Merge pull request #9296 from TwistedTwigleg/Camera2D_enhancements_V2
...
Camera2D enhancements (V2)
2017-06-26 23:37:25 +02:00
Rémi Verschelde
f2bc0cc966
Merge pull request #9370 from bojidar-bg/c-9318-oneway-tilemaps
...
Add one-way collisions and individual shape offsets for tilesets
2017-06-26 22:47:26 +02:00
Rémi Verschelde
f7b77e5b76
Merge pull request #9318 from bojidar-bg/readd-normal-tilemap
...
Add normal map to tilemaps and tilesets
2017-06-26 22:47:11 +02:00
Juan Linietsky
d41978eb63
Usability improvements for folding. Unfortunately SpatialMaterial broke compatibility.
2017-06-25 18:57:28 -03:00
TwistedTwigleg
7d77406980
Added some editor enhancements to Camera2D. Added the option to draw Camera2Ds bounds and drag margins. Added options to toggle the drawing of Camera2Ds lines in the editor. When a Camera2D is marked as current, its lines become a little less transparent.
2017-06-25 16:05:44 -04:00
Bojidar Marinov
207feb2f87
Add one-way collisions and individual shape offsets for tilesets
...
As requested in #9318
Accidentially fixes #2231 as well
2017-06-25 21:47:30 +03:00
Juan Linietsky
83ae9a5e28
Ability to restart particle system with a function call
2017-06-25 08:01:50 -03:00
Poommetee Ketson
e3998528e0
BuildSystem: generated files have .gen.extension
2017-06-25 07:55:01 +07:00
Juan Linietsky
bc509ac7bd
Simplified 2D Kinematicbody.. 3D will wait a bit.
2017-06-24 12:34:29 -03:00
Juan Linietsky
6ba1e4677b
-Trigger shapes removed in 2D, they became obsolete long ago when areas could detect their own overlap
...
-Added ability to disable individual collisionshape/polygon
-Moved One Way Collision to shape, allowing more flexibility
-Changed internals of CollisionObject, shapes are generated from child nodes on the fly, not stored inside any longer.
-Modifying a CollisionPolygon2D on the fly now works, it can even be animated.
Will port this to 3D once well tested. Have fun!
2017-06-23 23:39:52 -03:00
Juan Linietsky
8ef1c41a4e
Small fixes required to get platformer to work.
...
Added back CanvasItemMaterial
2017-06-23 14:31:59 -03:00
Juan Linietsky
265d4e2d6c
Fixed bug regarding to two spatial 2d players not mixing properly
2017-06-22 17:50:03 -03:00
Bojidar Marinov
2edb082c7e
Add normal map to tilemaps and tilesets
...
Fixes #9310
2017-06-22 18:15:50 +03:00
Juan Linietsky
fb72edf45e
Properly exposed material types everywhere.
2017-06-22 09:33:20 -03:00
Rémi Verschelde
e3b34810e3
Fix tools=no build
...
This house is falling apart when I'm not around...
2017-06-22 12:12:30 +02:00
Juan Linietsky
95560e02c5
2D GPU Particles working..
2017-06-21 16:26:26 -03:00