summaryrefslogtreecommitdiff
path: root/scene/2d
AgeCommit message (Collapse)Author
2017-06-212D GPU Particles working..Juan Linietsky
2017-06-20Merge pull request #9257 from Shockblast/patch-1Thomas Herzog
Remove Duplicate Include
2017-06-19Remove Duplicate IncludeShockblast
Also solves a problem with AnimatedSprites, when you add sprites for the animation the engine crash
2017-06-20Add null-check to get_normal_frameBenjamin Dahse
2017-06-18Texture rect_region drawing now clamps UV to avoid bleeding. This avoids ↵Juan Linietsky
scenarios like single-texture tilemap tiles leaking pixels to the next tile when filter is enabled on it.
2017-06-18-Added AudioStreamPlayer2D, for 2D positional soundJuan Linietsky
-Added ability for Area2D to redirect positional sound to a specific audio bus
2017-06-18Added normalmap support to stylebox and animated sprite.Juan Linietsky
2017-06-17Add normalmap support for drawing in all low level primitives. Only added ↵Juan Linietsky
support in Sprite so far.
2017-06-15Merge pull request #9176 from RandomShaper/fix-touchbuttonRémi Verschelde
Fix/improve TouchScreenButton
2017-06-14Merge pull request #9160 from karroffel/color-ramp-renameRémi Verschelde
renamed occurances of ColorRamp with Gradient
2017-06-14Merge pull request #9165 from Noshyaar/pr-areaRémi Verschelde
Refactor layer_mask to collision_layer
2017-06-14Fix/improve TouchScreenButtonPedro J. Estébanez
- Refactor touch acceptance logic so the same is used whether passby is enabled or not. - Remove the check for visibility during input handling as it should never fail; instead using now an ERR_FAIL_COND() just in case since we have been checking for that so far. - Fix cast to wrong InputEventScreenTouch when it should be InputEventScreenDrag. - Replaced use of references by plain pointers for a more readable code and maybe a little performance gain.
2017-06-14Refactor layer_mask to collision_layerPoommetee Ketson
2017-06-14Fixed broken Line2D due to math changes in ↵Marc Gilleron
f271591ac22bd07e1b2316448dd6e9af879c218f
2017-06-14renamed occurances of ColorRamp with GradientKarroffel
ColorRamp got renamed to Gradient recently, reduz missed some occurances though.
2017-06-13-Fixed occluder rendering, closes #8560Juan Linietsky
-Ability to smooth out 2D shadow filters
2017-06-04renamed all Rect2.pos to Rect2.positionalexholly
2017-06-03InputEvent: Renamed "pos" property to "position"Andreas Haas
Make the naming consistent with other classes.
2017-05-28-Added .hdr format supportJuan Linietsky
-Added default environment editor setting -Added environment created by default in new projects -Removed default light and ambient from spatial editor, to make the editor more PBR compliant
2017-05-20Removal of InputEvent as built-in Variant type..Juan Linietsky
this might cause bugs I haven't found yet..
2017-05-08RayCast2D: fix detached arrow tipPoommetee Ketson
2017-04-28Move core thirdparty files to thirdparty/{minizip,misc}Rémi Verschelde
2017-04-15Apply is_ceiling/is_wall swap fix to 2D move_and_slide (minus explaination)gamemanj
As it turns out, is_ceiling would be true when hitting a wall, and is_wall would be true momentarily when hitting a ceiling. This makes a tiny one-line change to fix that. Without trying to explain the code for anyone else having to mess around with it.
2017-04-10Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei
Control set_pos -> set_position Control set_global_pos -> set_global_position [gs]et_mouse_pos -> [gs]et_mouse_position [gs]et_global_mouse_pos -> [gs]et_global_mouse_position fixes #8005
2017-04-09Merge pull request #8271 from MattUV/masterRémi Verschelde
Add methods to get and set bits of collision layers and masks for TileMaps (3.0)
2017-04-09Merge pull request #8321 from RandomShaper/zero-preprocess-particles2dRémi Verschelde
Allow zero preprocess time for Particles2D
2017-04-09Particles2D: Fix flip property (again).Andreas Haas
should have flipped the dst_rect..
2017-04-08Allow zero preprocess time for Particles2DPedro J. Estébanez
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-04-07Fix build on older GCC versionsRémi Verschelde
Travis builds would fail with: ./drivers/gles3/rasterizer_storage_gles3.h:1018:19: error: ISO C++ forbids initialization of member 'fixed_fps' [-fpermissive]
2017-04-06New particle system, mostly working, some small features missing.Juan Linietsky
2017-04-06Add set/get_collision_layer/mask_bit() to TileMapsMattUV
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() To comply with collision layers' renaming from https://github.com/godotengine/godot/issues/5696 , the method names are NOT set/get_layer_mask_bit()
2017-04-05Merge pull request #8259 from bojidar-bg/move-slide-wall-fixRémi Verschelde
Fix is_move_and_slide_on_wall, make move_and_slide floor angle configurable
2017-04-05Merge pull request #8214 from tagcup/bounce_reflect_slideRémi Verschelde
Made slide and reflect active verbs acting on itself in Vector2 and V…
2017-04-04Fix is_move_and_slide_on_wall, make move_and_slide floor angle configurableBojidar Marinov
Fixes #7313
2017-04-04Merge pull request #8248 from Hinsbart/fix_notify_renamesRémi Verschelde
Fix more property names in _change_notify calls.
2017-04-04Merge pull request #8244 from RandomShaper/improve-touch-buttonRémi Verschelde
Improve TouchScreenButton
2017-04-03Fix more property names in _change_notify calls.Andreas Haas
2017-04-03Made slide and reflect active verbs acting on itself in Vector2 and Vector3.Ferenc Arn
This is in alignment with other functions in vector classes. Also added checks for normalization, fixed the sign of reflect (which now corresponds to reflection along a plane mathematically), added bounce method and updated docs. Fixes #8201.
2017-04-03Improve TouchScreenButtonPedro J. Estébanez
Fix shape not being updated Add a way to hide the shape on editor and debug-with-visible-shapes Remove useless checks
2017-04-01Fixed Node2D/Control not updating propertiesRobert Hernandez
2017-03-24Fix typos in source code using codespellRémi Verschelde
From https://github.com/lucasdemarchi/codespell
2017-03-10Fixes for TouchScreenButtonPedro J. Estébanez
- getting stuck on pause - handling input when not visible
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-03-05Add a bunch of missing Godot headers in own filesRémi Verschelde
2017-03-05TileMap: Respect self_modulate propertyAndreas Haas
Now `TileMap`s make use of the `self_modulate` property. There's still a bug: The Editor doesn't re-draw with the new color when you change the TileMaps `self_modulate` in the inspector. You'll have to make it update manually (by placing a tile, changing the transform, etc..) I'll open an issue for that after this is merged (If I don't fix it in the meantime ^^).
2017-03-04Merge pull request #7508 from lonesurvivor/area2d-fixRémi Verschelde
Fix two problems with Area2D and remove_child()
2017-02-28 Various fixes detected using PVS-Studio static analyzer.Thaer Razeq
- Add FIXME tags comments to some unfixed potential bugs - Remove some checks (always false: unsigned never < 0) - Fix some if statements based on reviews. - Bunch of missing `else` statements
2017-02-27Use the common PRNG in 2D particles code.Ferenc Arn
Replaces the custom PRNG used by 2D particles code with a wrapper for the PRNG located under core/math.
2017-02-27Merge pull request #7897 from RandomShaper/particles2d-process-modeRémi Verschelde
Add process mode option to Particles2D