Saracen
dbb86ed144
Fix generating terrain icon with certain image formats.
...
(cherry picked from commit 35c105e796
)
2023-12-07 10:27:03 +01:00
Gilles Roudière
162286cff4
Fix normals in TileSet when using CanvasTextures
2023-10-24 13:10:06 +02:00
Gilles Roudière
73f72409f5
Allow normal maps on TileMaps that use texture padding
2023-10-18 14:55:44 +02:00
Haoyu Qiu
f2a87a96ba
Make terrains peering bit property names translatable
2023-09-29 10:55:33 +08:00
A Thousand Ships
a29416e332
[Scene,Main] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-09-12 12:53:06 +02:00
kobewi
a9f3154da3
Add per-tile flipping and transposing
2023-09-09 00:56:38 +02:00
Rémi Verschelde
9229ea121c
Merge pull request #77986 from KoBeWi/outside_the_texture,_only_death_awaits
...
Cleanup tiles outside the texture
2023-08-28 20:37:04 +02:00
kobewi
52d41cc555
Add option to cleanup tiles outside the texture
2023-08-28 15:15:45 +02:00
kobewi
a88e3b8604
Improve scene tiles workflow
2023-08-18 13:55:30 +02:00
HolonProduction
89c39c7f9d
Fix crash when deleting terrains
2023-07-18 17:52:32 +02:00
kobewi
de4a3fa151
Unify and streamline connecting to Resource changes
2023-07-17 19:35:57 +02:00
Hendrik Brucker
7e21eb7e00
Extract and reorganize texture resource classes
2023-07-14 20:04:21 +02:00
Yuri Sizov
a927b22f65
Merge pull request #77257 from rakkarage/tile_animation_sync
...
Add `TileSetAtlasSource::TileAnimationMode` options and allow to shuffle tile animations
2023-07-12 21:02:31 +02:00
kobewi
1a9739f591
Fix crash with failed compatibility tiles
2023-06-28 15:11:10 +02:00
kobewi
c1c5b0a435
Update indices after removing custom data layers
2023-06-21 03:12:53 +02:00
Gilles Roudière
c54d407fa5
Fixes TileSet set as local to scene
2023-06-20 17:48:56 +02:00
kleonc
735e7d67ca
Fix transform for transposed tiles in compatibility mode (from 3.x)
2023-06-16 13:31:01 +02:00
Ninni Pipping
dcd2b883eb
Use NULL instead of COND checks when appropriate
...
Restricted to scene
2023-06-10 08:56:30 +02:00
Rakka Rage
6dbae30000
Add tile_animation_mode option:
...
- to tile animation properties
- when "Default" each animation starts at time 0.
- when "Random Start Times" each animation starts at random time.
2023-06-06 09:31:18 -04:00
kobewi
a899f547ae
Fix reset_state() in TileSet
2023-02-21 22:38:20 +01:00
Haoyu Qiu
ccc3bdebb3
Add missing i18n in tiles editor
2023-02-15 23:08:03 +08:00
Aaron Franke
be916233f9
Check for CanvasItem instead of Control and Node2D
2023-02-11 02:18:10 -06:00
Rémi Verschelde
a43db5afa4
Merge pull request #72186 from groud/improve_tileset_3to4_conversion
...
Improve TileSet 3to4 conversion, avoiding some data loss
2023-01-27 19:26:46 +01:00
Gilles Roudière
9a593fa1aa
Improve TileSet 3to4 conversion, avoiding some data loss
2023-01-27 18:44:45 +01:00
Rémi Verschelde
8a1369192e
Merge pull request #72173 from groud/warn_autotile_conversion
...
Warn that autotiles from 3.x cannot be converted automatically to 4.x
2023-01-27 15:41:52 +01:00
Rémi Verschelde
f43fbb593e
Merge pull request #72148 from smix8/tileset_navigationlayers_bitmask_helpers_4.x
...
Add TileSet helper functions to set/get navigation layer bitmask values
2023-01-27 15:40:59 +01:00
Gilles Roudière
0d06ebff2f
Warn that autotiles from 3.x cannot be converted automatically to 4.x
2023-01-27 13:34:57 +01:00
smix8
1809915bce
Add TileSet helper functions to set/get navigation layer values
...
Adds helper functions to TileSet to set / get navigation layers bitmask values.
2023-01-27 11:23:34 +01:00
Gilles Roudière
d7f3bd50bd
Rename texture_offset and unclamp it
2023-01-27 11:04:45 +01:00
kobewi
615c517034
Use range iterators in LocalVector loops
2023-01-21 18:44:42 +01:00
Gilles Roudière
0dbcf8f735
Fixes TileDate::add_source accepting invalid ID values
2023-01-16 12:14:40 +01:00
Rémi Verschelde
d95794ec8a
One Copyright Update to rule them all
...
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05 13:25:55 +01:00
kleonc
3a34acdf55
TileSet Simplify tile shape polygons
2022-12-19 11:42:40 +01:00
smix8
4d68e2b18a
Move NavigationPolygon to dedicated resource file
...
Moves NavigationPolygon resource class from NavigationRegion2D file to a dedicated file in resource folder.
2022-12-17 19:52:40 +01:00
Zae
f6424e68ea
[TileMap] Fix alternative tile issues.
2022-11-25 00:44:02 +08:00
Markus Sauermann
3b14f0334c
Remove redundant Variant-types initializations
2022-11-14 19:35:19 +01:00
kobewi
072f6feaba
Make some Image methods static
2022-10-14 14:34:15 +02:00
bruvzg
0103af1ddd
Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4.
2022-10-07 11:32:33 +03:00
Rémi Verschelde
57ffc4d82c
Merge pull request #66560 from MisterMX/fix/tileset-move-custom-data-layer
...
fix(tileset): Move custom data layer
2022-10-05 13:39:46 +02:00
Rémi Verschelde
e69b7083d4
Merge pull request #65903 from groud/improve_terrain_painting
...
Right-click to erase TileSet terrains and bugfixes
2022-09-30 17:44:48 +02:00
MisterMX
cfe518b90b
fix(tileset): Move custom data layer
...
Fix crash when moving a custom data layer.
Signed-off-by: MisterMX <mbxd12@web.de>
2022-09-29 11:53:48 +02:00
Rémi Verschelde
7ab01450cf
Fix MSVC warning C4702: unreachable code
...
Part of #66537 .
2022-09-28 16:46:48 +02:00
Gilles Roudière
68ffa9a2a1
Right-click to erase TileSet terrains and bugfixes
2022-09-16 15:22:55 +02:00
Johan Aires Rastén
b7e2d45233
Replace Vector2(i) with Size2(i) for methods returning a size
2022-09-01 20:04:17 +02:00
Gilles Roudière
b69f804c1a
Fixes inherited scenes not working in TileSet scenes collection sources
2022-08-31 10:12:04 +02:00
Yuri Sizov
1a24c9e14b
Make `_validate_property` a multilevel method
2022-08-22 18:35:11 +03:00
Rémi Verschelde
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
ajreckof
8433ad5353
expose TileMap methods related to the name of custom data layers
2022-07-29 15:05:42 +02:00
Gilles Roudière
8da2710911
Fix TileSet not loading correctly when embedded in a scene
2022-07-26 17:39:35 +02:00
FireForge
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