diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-10-06 12:31:04 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-10-06 12:31:04 +0200 |
commit | 9fe787ed8a6d23cf9ab1767392951e6af39ea8ae (patch) | |
tree | 5bd7ff20eda0033241748e21b91033f3176bfad7 /Stages | |
parent | b069ea91b095d80667475c06e62712c1bd7b537f (diff) |
Diffstat (limited to 'Stages')
-rw-r--r-- | Stages/TileMapLayer.tscn | 6 | ||||
-rw-r--r-- | Stages/world_01.tscn | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/Stages/TileMapLayer.tscn b/Stages/TileMapLayer.tscn index c97d090..38908c7 100644 --- a/Stages/TileMapLayer.tscn +++ b/Stages/TileMapLayer.tscn @@ -5,13 +5,17 @@ [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_gdad0"] texture = ExtResource("1_qdkqn") 0:0/0 = 0 +0:0/0/custom_data_0 = Color(0.4, 0.286275, 0.203922, 1) 1:0/0 = 0 +1:0/0/custom_data_0 = Color(0.286275, 0.588235, 0.109804, 1) [sub_resource type="TileSet" id="TileSet_lqeiq"] physics_layer_0/collision_layer = 0 physics_layer_0/collision_mask = 0 +custom_data_layer_0/name = "color" +custom_data_layer_0/type = 20 sources/2 = SubResource("TileSetAtlasSource_gdad0") tile_proxies/coords_level = [[0, Vector2i(0, 0)], [2, Vector2i(0, 0)], [1, Vector2i(0, 0)], [2, Vector2i(1, 0)]] -[node name="TileMapLayer" type="TileMapLayer"] +[node name="TileMapLayer" type="TileMapLayer" groups=["map"]] tile_set = SubResource("TileSet_lqeiq") diff --git a/Stages/world_01.tscn b/Stages/world_01.tscn index 26410bb..2d61065 100644 --- a/Stages/world_01.tscn +++ b/Stages/world_01.tscn @@ -15,7 +15,7 @@ clip_children = 1 [node name="TileMapLayer" parent="Map/Polygon2D" instance=ExtResource("1_fpnly")] -tile_map_data = PackedByteArray("AAABAAYAAgAAAAAAAAACAAYAAgABAAAAAAADAAYAAgABAAAAAAAEAAYAAgABAAAAAAAFAAYAAgABAAAAAAAGAAYAAgABAAAAAAAHAAYAAgABAAAAAAAIAAYAAgABAAAAAAAJAAYAAgABAAAAAAAKAAYAAgABAAAAAAALAAYAAgABAAAAAAAMAAYAAgABAAAAAAANAAYAAgABAAAAAAAOAAYAAgABAAAAAAAPAAYAAgABAAAAAAAQAAYAAgABAAAAAAABAAQAAgAAAAAAAAABAAUAAgAAAAAAAAARAAQAAgAAAAAAAAARAAUAAgAAAAAAAAARAAYAAgAAAAAAAAA=") +tile_map_data = PackedByteArray("AAABAAYAAgAAAAAAAAACAAYAAgABAAAAAAADAAYAAgABAAAAAAAEAAYAAgABAAAAAAAFAAYAAgABAAAAAAAGAAYAAgABAAAAAAAHAAYAAgABAAAAAAAIAAYAAgABAAAAAAAJAAYAAgABAAAAAAAKAAYAAgABAAAAAAALAAYAAgABAAAAAAAMAAYAAgABAAAAAAANAAYAAgABAAAAAAAOAAYAAgABAAAAAAAPAAYAAgABAAAAAAAQAAYAAgABAAAAAAABAAQAAgAAAAAAAAABAAUAAgAAAAAAAAARAAQAAgAAAAAAAAARAAUAAgAAAAAAAAARAAYAAgAAAAAAAAABAAcAAgAAAAAAAAACAAcAAgAAAAAAAAADAAcAAgAAAAAAAAAEAAcAAgAAAAAAAAAFAAcAAgAAAAAAAAAGAAcAAgAAAAAAAAAHAAcAAgAAAAAAAAAIAAcAAgAAAAAAAAAJAAcAAgAAAAAAAAAKAAcAAgAAAAAAAAALAAcAAgAAAAAAAAAMAAcAAgAAAAAAAAANAAcAAgAAAAAAAAAOAAcAAgAAAAAAAAAPAAcAAgAAAAAAAAAQAAcAAgAAAAAAAAARAAcAAgAAAAAAAAA=") [node name="Polygon2D2" type="Polygon2D" parent="Map"] clip_children = 1 @@ -25,7 +25,7 @@ tile_map_data = PackedByteArray("AAABAAwAAgAAAAAAAAACAAwAAgABAAAAAAADAAwAAgABAAA [node name="Spawn" parent="." instance=ExtResource("2_r2f03")] position = Vector2(32, 16) -spawn_count = 5000 +spawn_count = 50 spawn_frequency = 1.0 [node name="GroundCollision" type="StaticBody2D" parent="."] @@ -33,7 +33,7 @@ collision_layer = 256 collision_mask = 0 [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="GroundCollision"] -polygon = PackedVector2Array(16, 64, 16, 112, 32, 112, 288, 112, 288, 64, 272, 64, 272, 96, 32, 96, 32, 64) +polygon = PackedVector2Array(16, 64, 16, 128, 288, 128, 288, 64, 272, 64, 272, 96, 32, 96, 32, 64) [node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="GroundCollision"] polygon = PackedVector2Array(16, 176, 16, 208, 288, 208, 288, 176, 272, 176, 272, 192, 32, 192, 32, 176) |