Commit graph

10 commits

Author SHA1 Message Date
Patrick Sean Klein
2dc42e8a93
TileSet: Maintain NavigationPolygon sub-polygons when rotating
The original implementation merged sub-polygons into a single polygon
when rotating. This can cause non-simple geometries downstream
algorithms cannot handle.
2024-06-13 22:16:46 +01:00
Patrick Sean Klein
44d1f1c85f
Fixes an index error in TileSet when caching transformed collision layers. 2024-05-26 00:14:31 +01:00
kobewi
413c11357d Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
A Thousand Ships
308dbb8c63
[Core] Add scalar versions of Vector* min/max/clamp/snap(ped)
Convenience for a number of cases operating on single values
2024-05-02 10:31:13 +02:00
aaronp64
ff60f7b6d4 Handle compressed images in TileSetAtlasSource::_create_padded_image_texture
Check for compressed image and decompress if needed

Fixes #78755
2024-04-21 21:36:12 -04:00
Gilles Roudière
bde8d44104 TileSet: don't save angular and linear physics velocities if they have their default values 2024-04-08 14:17:08 +02:00
A Thousand Ships
d4fcca4545
[TileSet] Expose TileData.is_valid_terrain_peering_bit 2024-03-26 16:07:50 +01:00
A Thousand Ships
79ba22a73f
Use Vector* component-wise min/max/clamp functions where applicable 2024-03-20 13:47:42 +01:00
kobewi
a85921a856 Fix call queue problems when loading TileSet 2024-03-14 21:05:14 +01:00
Aaron Franke
1cb531ddb6
Move 2D-only resources to their own folder 2024-02-26 05:22:45 -06:00
Renamed from scene/resources/tile_set.cpp (Browse further)