b7e2d45233
Replace Vector2(i) with Size2(i) for methods returning a size
2022-09-01 20:04:17 +02:00
b69f804c1a
Fixes inherited scenes not working in TileSet scenes collection sources
2022-08-31 10:12:04 +02:00
1a24c9e14b
Make _validate_property a multilevel method
2022-08-22 18:35:11 +03:00
6ba7dacf6b
Merge pull request #63415 from ajreckof/expose_tilemap_custom_data_methods
...
Expose TileMap methods related to the name of custom data layers
2022-07-29 19:43:55 +02:00
8433ad5353
expose TileMap methods related to the name of custom data layers
2022-07-29 15:05:42 +02:00
8da2710911
Fix TileSet not loading correctly when embedded in a scene
2022-07-26 17:39:35 +02:00
84431bd782
Use integer types in Image and ImageTexture methods
...
- Image.blit_rect()
- Image.blit_rect_mask()
- Image.blend_rect()
- Image.blend_rect_mask()
- Image.fill_rect()
- Image.get_used_rect()
- Image.get_rect()
- ImageTexture.set_size_override()
2022-07-18 19:43:32 -05:00
2f777b9a1e
Remove unused hints
2022-07-12 00:44:13 +02:00
d2900429e8
Add static methods for creating Image and ImageTexture
2022-07-08 13:40:47 +02:00
3a37053aac
Make sure the tile data clears its terrain field when said terrain is removed from the tileset.
2022-07-02 15:01:07 +02:00
b3fe2732e3
Allow using CanvasItemMaterial in the TileSet editor
...
Previously, only ShaderMaterial overrides could be added.
2022-06-21 17:02:52 +02:00
62d2549e9e
Add terrain center bit
2022-06-10 14:37:39 +02:00
77c8f271e7
use ERR_FAIL_INDEX when preferred
2022-05-25 13:36:45 -05:00
45af29da80
Add a new HashSet template
...
* Intended to replace RBSet in most cases.
* Optimized for iteration speed
2022-05-20 22:40:38 +02:00
5dc3bfb80e
Use suffixes for units in nodes and resources
2022-05-19 14:34:27 -05:00
900c676b02
Use range iterators for RBSet in most cases
2022-05-19 12:09:16 +02:00
7b571ab8f7
Merge pull request #60986 from fire-forge/capitalism
2022-05-16 13:49:14 +02:00
746dddc067
Replace most uses of Map by HashMap
...
* Map is unnecessary and inefficient in almost every case.
* Replaced by the new HashMap.
* Renamed Map to RBMap and Set to RBSet for cases that still make sense
(order matters) but use is discouraged.
There were very few cases where replacing by HashMap was undesired because
keeping the key order was intended.
I tried to keep those (as RBMap) as much as possible, but might have missed
some. Review appreciated!
2022-05-16 10:37:48 +02:00
40a1fc7a34
Reduce extra groups in TileSet
2022-05-12 17:31:58 -05:00
88a8038387
Capitalize/fix some property enum hints
2022-05-12 15:03:16 -05:00
88b09694e7
Fix inspector group name capitalization
2022-03-28 14:02:06 -05:00
257a71d29e
Fix nullptr error in _update_padded_texture on texture with no image
2022-02-20 17:22:14 +00:00
a6c77c7c5a
Use source image format when creating padded texture
2022-02-08 15:27:44 -05:00
1ce81dc5f2
Add missing SNAME macro optimization in some function calls
2022-02-06 15:54:04 +01:00
8a0a3accee
simplify formatting scripts, add a clang-tidy script, and run clang-tidy
2022-01-29 04:41:03 -06:00
b8b33df178
TileSetAtlasSource: Make get_tile_data return TileData *
...
This is now possible thanks to `Variant` changes.
Also unbind some `_` prefixed methods which don't need to be exposed.
2022-01-28 14:27:12 +01:00
6c3a0460a8
Use List Initializations for Vectors.
2022-01-12 10:15:12 +05:45
fe52458154
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-03 21:27:34 +01:00
e078f970db
Rename remove() to remove_at() when removing by index
2021-11-23 18:58:57 -07:00
1224d7a25c
Implement texture padding in TileSetAtlasSources
2021-11-12 15:14:10 +01:00
57ae154e86
Merge pull request #53987 from groud/tile_data_inspector_plugin
2021-11-12 15:10:54 +01:00
3abb5a9035
Add missing argument names for bindings in GDExtension
2021-11-04 15:27:23 +01:00
c012fbc8b2
Rename PROPERTY_USAGE_NOEDITOR to PROPERTY_USAGE_NO_EDITOR
...
This is consistent with other constants that include `NO`,
such as `PROPERTY_HINT_COLOR_NO_ALPHA`.
2021-11-03 23:06:17 +01:00
c29d3d0b17
Fix crash in Tileset with get_collision_polygon_shape
...
Shape index was used instead of polygon index in this one case.
2021-11-02 17:06:19 -07:00
c609d39214
Implement missing TileMap brushes for terrains
2021-10-29 19:46:42 +02:00
756e76293f
Implement runtime update of TileData object in TileMap
2021-10-27 18:32:52 +02:00
cec004adf0
Implement polygons editors in the tiles selection mode
2021-10-26 12:38:36 +02:00
d1aef45072
Allow updating TileMap cells using surrounding terrains
2021-10-21 16:57:28 +02:00
1a95f893c4
Implement TileMap patterns palette
2021-10-19 11:57:37 +02:00
3948f9cc83
Fixes crash in TileSetAtlasSource::get_tiles_to_be_removed_on_change
2021-10-14 16:49:59 +02:00
b9151860f3
Prevent tiles outside atlas texture
2021-10-13 13:44:02 +02:00
89a6c6cd84
Fixes set_source_id not updating the next automatic source id
2021-10-11 14:58:42 +02:00
9c1b1e9a7e
Set TileSet layout and half-offset as read-only when using square shape
2021-10-07 15:29:48 +02:00
c63b18507d
Use range iterators for Map
2021-09-30 15:09:12 -06:00
f2caab4691
Improve TileMap physics for moving platforms and conveyor belts like movements
2021-09-29 17:56:30 +02:00
ad635567b1
Merge pull request #53189 from AnilBK/use-class-specific-funcs
2021-09-29 07:40:52 +02:00
fc9767abb1
Use functions defined in the their classes.
2021-09-29 09:36:34 +05:45
27b9b3ef3c
Various tiles-related fixes
2021-09-28 19:25:49 +02:00
f9e6329496
Implement animated tiles
2021-09-23 17:24:37 +02:00
73cc6f94bf
Fix transform of TileMap nodes and tilemap selection
2021-09-14 12:18:36 +02:00