summaryrefslogtreecommitdiff
path: root/scene/2d/tile_map.cpp
AgeCommit message (Collapse)Author
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-23Improve various textskobewi
2021-11-12Implement texture padding in TileSetAtlasSourcesGilles Roudière
2021-11-03Rename `PROPERTY_USAGE_NOEDITOR` to `PROPERTY_USAGE_NO_EDITOR`Hugo Locurcio
This is consistent with other constants that include `NO`, such as `PROPERTY_HINT_COLOR_NO_ALPHA`.
2021-11-01Merge pull request #54396 from groud/implement_terrain_other_brushesRémi Verschelde
2021-10-29Implement missing TileMap brushes for terrainsGilles Roudière
2021-10-28clang-format: Disable alignment of operands, too unreliableRémi Verschelde
Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
2021-10-27Implement runtime update of TileData object in TileMapGilles Roudière
2021-10-27Optimize TileMap layers updatesGilles Roudière
2021-10-21Allow updating TileMap cells using surrounding terrainsGilles Roudière
2021-10-19Implement TileMap patterns paletteGilles Roudière
2021-10-13Merge pull request #53767 from groud/improve_tile_set_change_performancesRémi Verschelde
2021-10-13Greatly improve editor performances by deferring tiles related updatesGilles Roudière
Solve few update problems
2021-10-13Merge pull request #53761 from groud/fix_tilemap_memory_leakRémi Verschelde
2021-10-13Fix TileMap memory leakGilles Roudière
2021-10-13Use z_index for TileMap layer darkeningkobewi
2021-10-10Add modulate property to TileMap layerskobewi
2021-09-30Use range iterators for `Map`Lightning_A
2021-09-29Improve TileMap physics for moving platforms and conveyor belts like movementsGilles Roudière
2021-09-27Fix TileMap layer loadingkobewi
2021-09-23Construct values only when necessary.Anilforextra
2021-09-23Implement animated tilesGilles Roudière
2021-09-15Merge pull request #52622 from rileylyman/tilemap-crashGilles Roudière
Break TileMap _clear_internals out from _recreate_internals
2021-09-14Break TileMap _clear_internals out from _recreate_internalsRiley Lyman
2021-09-14Fix transform of TileMap nodes and tilemap selectionGilles Roudière
2021-09-08Tiles renames/bugfixing and documentationGilles Roudière
2021-09-07Implement properties arrays in the Inspector.Gilles Roudière
2021-09-06Fix crash in TileMap physicsGilles Roudière
2021-08-23Merge pull request #51259 from nekomatata/fix-tilemap-one-way-collisionHugo Locurcio
Fix one-way collision in Tilemap
2021-08-19Fix z_index applied twice for TileMap layerskobewi
2021-08-13Fix some unnecessary includesAaron Franke
2021-08-05Fix one-way collision in TilemapPouleyKetchoupp
In a given quadrant there can be one or more bodies used, and the process iterated over cells to add the shapes, so the shape index doesn't necessarily correspond to the polygon shape index. Instead body shape indices need to be tracked separately.
2021-08-05Fix get_used_rect() calculationkobewi
2021-08-02Implements TileMap layers and move TileSetPlugins's functions to the TileMap ↵Gilles Roudière
node instead
2021-07-27Add check to internal methods to prevent crashHaoyu Qiu
2021-07-25Use const references where possible for List range iteratorsRémi Verschelde
2021-07-23Use C++ iterators for Lists in many situationsAaron Franke
2021-07-21Implement atlas merging and tile proxiesGilles Roudière
2021-07-21Import old tiles in SINGLE_TILE mode as atlasesGilles Roudière
2021-07-18Optimize StringName usagereduz
* Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
2021-06-14Fix crash when using TileMap::fix_invalid_tilesHaoyu Qiu
2021-06-05Deleted YSort, moved its functionality directly into Node2D.andriyDev
YSort now has a compatibility alias to Node2D. Updated TileMap to use the existing Node2D y_sort_enabled property instead of its own property. Updated Node2D doc to include the new y_sort_enabled member. Updated TileMap doc to remove its mention of cell_y_sort. Deleted YSort doc.
2021-06-01Merge pull request #49024 from groud/restore_tilemap_show_debugRémi Verschelde
Restore TileMap's debug collision shapes and add navigation.
2021-05-25Restore a way to show collsion/navigation on TileMap.Gilles Roudière
Also remove an unused function.
2021-05-24Fixes deprecated=no compilation optionGilles Roudière
2021-05-20Implement scenes tiles in TileMapsGilles Roudière
2021-05-07Update TileMap to use Vector2i instead of two intsAaron Franke
2021-05-07Rework the TileSet resource and TileMap nodes:Gilles Roudière
- Move most properties from TileMap to TileSet, - Make TileSet more flexible, supporting more feature (several collision layers, etc...), - Fusion both the TileMap and TileSet editor, - Implement TileSetSources, and thus a new way to index tiles in the TileSet, - Rework the TileSet and TileMap editors completely, - Implement an editor zoom widget (and use it in several places)
2021-05-02TileMap::world_to_map Ensure half offset is added according to the returned ↵kleonc
value Decide whether half offset should be added based on the value used for calculating the return value of this method.
2021-04-30Prevent setting too big or too small Collision Mask and LayerRafał Mikrut