summaryrefslogtreecommitdiff
path: root/scene/2d
AgeCommit message (Collapse)Author
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
2017-02-27Add process mode option to Particles2DPedro J. Estébanez
2017-02-26Merge pull request #7887 from bojidar-bg/particles-emission-endedRémi Verschelde
Add emission_finished signal to Particles2D
2017-02-26Merge pull request #7869 from RandomShaper/fix-touchbutton-crashRémi Verschelde
Fix crash if TouchScreenButton is pressed while exiting the tree
2017-02-25Add emission_finished signal to Particles2DBojidar Marinov
(Also remove some Particles2D::testee method, which was unused) Resolves #3963
2017-02-22Fix crash if TouchScreenButton is pressed while exiting the treePedro J. Estébanez
(cherry picked from commit 5b8d5766f4574b5011b3f258d3e9b34298eb609c)
2017-02-20Add Rect2 TileMap::get_used_rect(), closes #4390Bojidar Marinov
2017-02-15Many fixes to make exported scenes work better, still buggy.Juan Linietsky
2017-02-13Rename the _MD macro to D_METHODHein-Pieter van Braam
This new name also makes its purpose a little clearer This is a step towards fixing #56
2017-02-13Remove use of _SCS from ADD_METHODHein-Pieter van Braam
This saves typing and is a step towards fixing #56
2017-02-12Merge pull request #7352 from Zylann/polylineRémi Verschelde
Polyline
2017-02-12Merge pull request #7775 from Hinsbart/particles_flipRémi Verschelde
Particles2D: implement texture flip parameters.
2017-02-12Merge pull request #7722 from RandomShaper/improve-touch-buttonRémi Verschelde
Fix touch button issues
2017-02-10Solve TouchScreenButtons issuesPedro J. Estébanez
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-10Particles2D: implement texture flip parameters.Andreas Haas
2017-02-02Add shape property to TouchScreenButtonPedro J. Estébanez
Adapted from 67a0da34a2d5a95761c54b3012d0a8f1a79e10a6
2017-01-25When overlappinng Area2Ds are removed with remove_child(), _enter_tree and ↵lonesurvivor
_exit_tree signals are now properly disconnected upon removal
2017-01-23Merge pull request #7610 from Hinsbart/shape_warningRémi Verschelde
CollisionShape2D: Fix warning icon not updating.
2017-01-22CollisionShape2D: Fix warning icon not updating.Andreas Haas
`CollisionPolygon2D` also had this problem.
2017-01-16Overloaded basic math funcs (double and float variants). Use real_t rather ↵Ferenc Arn
than float or double in generic functions (core/math) whenever possible. Also inlined some more math functions.
2017-01-16Style: Fix statements ending with ';;'Rémi Verschelde
2017-01-15Oops! Audio engine has vanished :DJuan Linietsky
2017-01-15Added Line2D node that draws a polygon-based lineMarc Gilleron
It supports unlimited width, color gradient, texture and some geometry options for joints and caps. Also transparency without artifacts (provided that line joints aren't too sharp).