summaryrefslogtreecommitdiff
path: root/scene/2d/tile_map.cpp
AgeCommit message (Collapse)Author
2017-07-01Readd tilemap's shape_transform and bugfixesBojidar Marinov
This reverts commit a808f53020aa710ff81392e2349b8a39c55d2717.
2017-07-01Revert "Fix Tileset/tilemap issues related to my adding of one-way ↵Juan Linietsky
collisions to them"
2017-06-30Fix #9409, fixup #9370; tileset now has shape transform instead of offsetBojidar Marinov
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-26Merge pull request #9370 from bojidar-bg/c-9318-oneway-tilemapsRémi Verschelde
Add one-way collisions and individual shape offsets for tilesets
2017-06-26Merge pull request #9318 from bojidar-bg/readd-normal-tilemapRémi Verschelde
Add normal map to tilemaps and tilesets
2017-06-25Add one-way collisions and individual shape offsets for tilesetsBojidar Marinov
As requested in #9318 Accidentially fixes #2231 as well
2017-06-25BuildSystem: generated files have .gen.extensionPoommetee Ketson
2017-06-22Add normal map to tilemaps and tilesetsBojidar Marinov
Fixes #9310
2017-06-14Refactor layer_mask to collision_layerPoommetee Ketson
2017-06-04renamed all Rect2.pos to Rect2.positionalexholly
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-08Add "Godot Engine contributors" copyright lineRémi Verschelde
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-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-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-02-20Add Rect2 TileMap::get_used_rect(), closes #4390Bojidar Marinov
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-01-14Merge pull request #6519 from RandomShaper/enhance-tilesetJuan Linietsky
Add modulate (color) to TileSet tiles
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-12Must now register with set_transform_notify() to get ↵Juan Linietsky
NOTIFICATION_TRANSFORM_CHANGED
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-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-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()
2017-01-02Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde
Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
2017-01-02Merge pull request #7406 from neikeq/pr-issue-5076Rémi Verschelde
TileMap: _update_dirty_quadrants() cancel pending update pre return
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
2017-01-01TileMap: _update_dirty_quadrants() cancel pending update pre returnIgnacio Etcheverry
2016-11-30Add modulate (color) to TileSet tilesPedro J. Estébanez
2016-11-24TileMap now honors blending mode.Ovnuniarchos
2016-10-03Begining of GLES3 renderer:Juan Linietsky
-Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
2016-06-20Added Tile Origin = Bottom Left option to the TileMapPatrick Reh
2016-03-18Fix issues with tilemap covering child nodes and old quadrantsBojidar Marinov
Closes #4070
2016-03-09remove trailing whitespaceHubert Jarosz
2016-02-20-Change link to new documentationJuan Linietsky
-fixed bug in tilemap collision debug
2016-02-15Bind method is_cell_transposedRémi Verschelde
2016-02-06Added get_cellv() method to TileMapJohan Manuel
2016-01-04TileMap: Properly flip/rotate tiles with non-square regionIgnacio Etcheverry
2016-01-02TileMap: Consider texture offset for rotated tilesIgnacio Etcheverry
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-29-Make tilemap able to change light mask, fixes #2557reduz
2015-12-28-renamed function get_relative_transform() to ↵reduz
get_relative_transform_to_parent(), makes more sense -fixed newly introduced bug in onready keyword, fixes #3155
2015-12-12ability to set occluder mask in tilemap, fixes #3025Juan Linietsky
2015-12-12-collision debug is shown above all else, fixes #2985Juan Linietsky
2015-10-24Fix for negative coords. Regarding issue #2665Brickcaster
int() of negative numbers rounds up. Needed to add a condition to account for negative values. Thanks to Romulox_x for providing this solution.
2015-09-20Ability to visually debug geometry visually:Juan Linietsky
-Visible 2D and 3D Shapes, Polygons, Tile collisions, etc. -Visible Navmesh and Navpoly -Visible collision contacts for 2D and 3D as a red point -Customizable colors in project settings
2015-08-02Live edit WORK IN PROGRESSJuan Linietsky
1) press the heart while the game is running 2) select a scene to live edit from the opened scenes 3) edit/add/remove nodes or resources, change their properties, etc. 4) watch changes reflected in running game, in all places this scene is edited 5) It's not perfect obviously, but the aim of it is to try to reflect your changes as best as possible in the running game.