summaryrefslogtreecommitdiff
path: root/scene/2d
AgeCommit message (Collapse)Author
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).
2017-01-14Merge pull request #6519 from RandomShaper/enhance-tilesetJuan Linietsky
Add modulate (color) to TileSet tiles
2017-01-14removed duplicated functions in class hierarchy that were bound more than onceJuan Linietsky
added a check to detect this case in the future
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
2017-01-14Renamed call_group to call_group_flags, made call_group without flags the ↵Juan Linietsky
default
2017-01-13rename monitoring functionsJuan Linietsky
2017-01-13Created new Engine singleton, and moved engine related OS functions to it.Juan Linietsky
2017-01-13Rename collision layer as suggested in #5696Juan Linietsky
2017-01-13New API for visibility in both CanvasItem and SpatialJuan Linietsky
visible (property) - access set_visible(bool) is_visible() is_visible_in_tree() - true when visible and parents visible show() hide() - for convenience
2017-01-12Must now register with set_transform_notify() to get ↵Juan Linietsky
NOTIFICATION_TRANSFORM_CHANGED
2017-01-12Renamed most signals so they refer to:Juan Linietsky
-An action being requested to the user in present tense: (ie, draw, gui_input, etc) -A notification that an action happened, in past tense (ie, area_entered, modal_closed, etc).
2017-01-11Type renames:Juan Linietsky
Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
2017-01-10It is now possible to name layers of different kinds!Juan Linietsky
2017-01-10- _ready() callback only happens once now, if you want to receive it again, ↵Juan Linietsky
use request_ready() - C++ Nodes mostly do an internal process callback, so it does not conflict with users willing to use their own process callbacks - callbacks such as _input, _process, _fixed_process _unhandled_input, _unhandled_key_input do not requiere calling a function to enable them. They are enabled automatically if found on the script.
2017-01-09Fix modulate property bind to Colorvolzhs
2017-01-08Renamed finished to animation_finished, also passes the animation name when ↵Juan Linietsky
finished
2017-01-08removed unnecesary modulate funtions, which were superseded by self_modulateJuan Linietsky
2017-01-07Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky
renamed to PoolVector
2017-01-04-Conversion of most properties to a simpler syntax, easier to use by scriptJuan Linietsky
-Modified help to display properties GDScript can still not make use of them, though.
2017-01-03Begin modifying properties to make them more friendly to script and doc.Juan Linietsky
2017-01-02ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky
Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()