Juan Linietsky
5fc084c28e
-Fixed issue in Kinematicbody2D
2016-09-01 12:03:55 -03:00
Juan Linietsky
fc70824f7c
More improvements to visual script..
...
fixed a bug of not saving when sub-nodes changed.
2016-08-31 17:58:51 -03:00
Rémi Verschelde
ce7e2ae4f4
draw_line: Properly bind antialiased argument
2016-08-31 08:57:21 +02:00
Juan Linietsky
fb4d6d1db0
More visual script improvements
...
-Added anti-aliasing on lines
-Improved draw performance enormously
-Removed sequence ports for most nodes, current visual scripts will likely be broken now. Sorry!
2016-08-30 23:46:41 -03:00
Rémi Verschelde
9a35ed5d54
Merge pull request #5670 from timoschwarzer/feature/camera2d_limit_smoothing
...
Add an option to smooth camera limits when camera smoothing is enabled.
2016-08-30 16:52:55 +02:00
Rémi Verschelde
835ee75d57
Merge pull request #6159 from touilleMan/issue-6148
...
Add Node2d global rot/rotd/scale methods
2016-08-29 19:04:24 +02:00
Juan Linietsky
748836e0b3
Several all around fixes to visual scripting (in the process of creating demos)
2016-08-28 20:59:01 -03:00
Emmanuel Leblond
c402ac13df
Add Node2D's set_global_rot get_global_rot set_global_rotd get_global_rotd set_global_scale get_global_scale methods.
2016-08-15 11:39:19 +02:00
Juan Linietsky
37b5e99bc2
prevent bug due to scripts not working in editor and notifier sending signals to it.
2016-08-08 19:04:12 -03: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
Timo Schwarzer
d691cb4732
Add an option to smooth camera limits when camera smoothing is enabled.
2016-07-13 11:48:50 +02: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
Juan Linietsky
b06eca108a
Merge pull request #5490 from timoschwarzer/master
...
Add new Camera2D alignment functions
2016-07-10 12:39:50 -03:00
Rémi Verschelde
f40f360a2c
Remove unused variables (fourth pass) + dead code
...
Also fix a potential regression from 3fcb9b1ec1
.
2016-07-08 16:47:55 +02:00
Juan Linietsky
7c1ab42571
Fix the +1 button to insert keyframes in Sprite and Sprite3D, closes #5422
2016-07-06 23:46:04 -03:00
Timo Schwarzer
185ba75bfa
Fix Camera2D header for align()
2016-06-30 16:07:48 +02:00
Timo Schwarzer
ae055ebf82
Add align() to realign the Camera2D to its tracked node
...
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-29 18:17:11 +02:00
Timo Schwarzer
6686fbc1e0
Add reset_smoothing() for immediately fixing the camera to the destination location
2016-06-29 17:40:29 +02:00
Juan Linietsky
47d6cc08bb
Properly deliver localized coordinates when passing gui events through parents, closes #4215
2016-06-27 10:00:36 -03:00
Pedro J. Estébanez
6ce47d9b51
Improve parallax mirroring algorithm
...
Replaces the iterative approach currently used by an equivalent direct computation.
Also fixes infinite looping that happens when the mirroring value is negative.
2016-06-27 10:40:33 +02:00
Juan Linietsky
10f411b47b
Avoid mirroring to go negative to fix crash, closes #4036
2016-06-26 16:51:13 -03:00
Juan Linietsky
282da142ae
Added an option to ParallaxLayer to add an extra scroll offset, helps if you want to make clouds to move by themselves and animate that, for example.
2016-06-26 16:22:20 -03:00
Rémi Verschelde
0be12898a7
Revert "Improve parallax mirroring algorithm"
2016-06-26 18:03:15 +02:00
Juan Linietsky
130b83bc52
Ability to set draw transform as a matrix, closes #5428
2016-06-26 13:01:17 -03:00
Rémi Verschelde
b02d67be30
Merge pull request #5307 from MarianoGnu/master
...
TextureRegion improvements
2016-06-26 09:43:45 +02:00
Rémi Verschelde
22c9a44174
Merge pull request #5391 from RandomShaper/parallax-layer-fix-tidy
...
Improve parallax mirroring algorithm
2016-06-24 21:26:54 +02:00
Pedro J. Estébanez
fbddc0b747
Improve parallax mirroring algorithm
...
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-24 18:39:56 +02:00
George Marques
b06d235ce8
Rename CanvasItem.edit_get() to edit_get_state()
...
This makes more sense of what it does and correlates to edit_set_state()
2016-06-23 17:59:37 -03:00
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
79c500bee1
Modify margins with mouse input
2016-06-20 17:06:19 -03:00
Patrick Reh
fff4d5867c
Added Tile Origin = Bottom Left option to the TileMap
2016-06-20 12:18:53 +02: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