123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- [gd_scene load_steps=2 format=2]
- [ext_resource path="res://tiles_demo.png" type="Texture2D" id=1]
- [node name="TilesetEdit" type="Node2D"]
- [node name="Floor" type="Sprite2D" parent="."]
- texture = ExtResource( 1 )
- region_rect = Rect2(0, 0, 32, 32)
- [node name="Collision" type="StaticBody2D" parent="Floor"]
- [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Floor/Collision"]
- polygon = PackedVector2Array(16, -12, 16, 16, -16, 16, -16, -12)
- [node name="Edge" type="Sprite2D" parent="."]
- position = Vector2(32, 0)
- texture = ExtResource( 1 )
- region_rect = Rect2(32, 0, 32, 32)
- [node name="Collision" type="StaticBody2D" parent="Edge"]
- [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Edge/Collision"]
- polygon = PackedVector2Array(-16, -12, 12, -12, 12, 16, -16, 16)
- [node name="Wall" type="Sprite2D" parent="."]
- position = Vector2(32, 32)
- texture = ExtResource( 1 )
- region_rect = Rect2(32, 32, 32, 32)
- [node name="Collision" type="StaticBody2D" parent="Wall"]
- [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Wall/Collision"]
- polygon = PackedVector2Array(-16, -16, 12, -16, 12, 16, -16, 16)
- [node name="WallDeco" type="Sprite2D" parent="."]
- position = Vector2(48, 64)
- texture = ExtResource( 1 )
- region_rect = Rect2(160, 64, 64, 32)
- [node name="Collision" type="StaticBody2D" parent="WallDeco"]
- [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="WallDeco/Collision"]
- polygon = PackedVector2Array(-32, -16, -4, -16, -4, 16, -32, 16)
- [node name="Corner" type="Sprite2D" parent="."]
- position = Vector2(32, 96)
- texture = ExtResource( 1 )
- region_rect = Rect2(32, 64, 32, 32)
- [node name="Collision" type="StaticBody2D" parent="Corner"]
- [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Corner/Collision"]
- polygon = PackedVector2Array(-16, -16, 12, -16, 16, -12, 16, 16, -16, 16)
- [node name="Flowers" type="Sprite2D" parent="."]
- position = Vector2(64, 96)
- texture = ExtResource( 1 )
- region_rect = Rect2(96, 96, 32, 32)
- [node name="Collision" type="StaticBody2D" parent="Flowers"]
- [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Flowers/Collision"]
- polygon = PackedVector2Array(-16, 16, 16, 16, 16, -12, -16, -12)
- [node name="TreeBase" type="Sprite2D" parent="."]
- position = Vector2(96, 96)
- texture = ExtResource( 1 )
- region_rect = Rect2(128, 96, 32, 32)
- [node name="Collision" type="StaticBody2D" parent="TreeBase"]
- [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="TreeBase/Collision"]
- polygon = PackedVector2Array(-16, 16, 16, 16, 16, -12, -16, -12)
- [node name="TreeMid" type="Sprite2D" parent="."]
- position = Vector2(96, 64)
- texture = ExtResource( 1 )
- region_rect = Rect2(128, 64, 32, 32)
- [node name="TreeMid2" type="Sprite2D" parent="."]
- position = Vector2(96, 32)
- texture = ExtResource( 1 )
- region_rect = Rect2(128, 32, 32, 32)
- [node name="TreeTop" type="Sprite2D" parent="."]
- position = Vector2(96, 0)
- texture = ExtResource( 1 )
- region_rect = Rect2(128, 0, 32, 32)
- [node name="Solid" type="Sprite2D" parent="."]
- position = Vector2(0, 32)
- texture = ExtResource( 1 )
- region_rect = Rect2(0, 32, 32, 32)
- [node name="Ceiling" type="Sprite2D" parent="."]
- position = Vector2(0, 64)
- texture = ExtResource( 1 )
- region_rect = Rect2(192, 32, 32, 32)
- [node name="Collision" type="StaticBody2D" parent="Ceiling"]
- [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Ceiling/Collision"]
- polygon = PackedVector2Array(16, -16, 16, 16, -16, 16, -16, -16)
- [node name="Ramp" type="Sprite2D" parent="."]
- position = Vector2(128, 112)
- texture = ExtResource( 1 )
- region_rect = Rect2(64, 64, 32, 64)
- [node name="Collision" type="StaticBody2D" parent="Ramp"]
- [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Ramp/Collision"]
- polygon = PackedVector2Array(-16, -28, 16, 4, 16, 32, -16, 32)
- [node name="CeilingWall" type="Sprite2D" parent="."]
- position = Vector2(0, 96)
- texture = ExtResource( 1 )
- region_rect = Rect2(224, 32, 32, 32)
- [node name="Collision" type="StaticBody2D" parent="CeilingWall"]
- [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="CeilingWall/Collision"]
- polygon = PackedVector2Array(-16, -16, 12, -16, 12, 16, -16, 16)
- [node name="PlatformFloor" type="Sprite2D" parent="."]
- position = Vector2(0, 128)
- texture = ExtResource( 1 )
- region_rect = Rect2(64, 0, 32, 32)
- [node name="Collision" type="StaticBody2D" parent="PlatformFloor"]
- [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="PlatformFloor/Collision"]
- polygon = PackedVector2Array(16, -12, 16, 12, -16, 12, -16, -12)
- [node name="PlatformEdge" type="Sprite2D" parent="."]
- position = Vector2(32, 128)
- texture = ExtResource( 1 )
- region_rect = Rect2(96, 0, 32, 32)
- [node name="Collision" type="StaticBody2D" parent="PlatformEdge"]
- [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="PlatformEdge/Collision"]
- polygon = PackedVector2Array(12, -12, 12, 12, -16, 12, -16, -12)
- [node name="Help" type="Label" parent="."]
- offset_left = 1.0
- offset_top = 331.0
- offset_right = 727.0
- offset_bottom = 422.0
- size_flags_horizontal = 2
- text = "This scene serves as a tool for editing the tileset.
- Nodes (sprites) and their respective collisionsare edited here.
- To create a tileset from this, a \"TileSet\" resoucre must be created. Use the helper in: Scene -> Convert To -> TileSet.
- This will save a tileset. Saving over it will merge your changes.
- Finally, the saved tileset resource (tileset.tres in this case), can be opened to be used into a TileMap node for editing a tile map."
|