47 lines
1.5 KiB
Plaintext
47 lines
1.5 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://bjsl1pit6rusp"]
|
|
|
|
[ext_resource type="TileSet" uid="uid://duodt2t14xjc8" path="res://Resource/UrbanKitTileMap.tres" id="1_0ugm7"]
|
|
[ext_resource type="Script" uid="uid://dneqmqsd8yj4p" path="res://tile_map_layer.gd" id="1_vqaso"]
|
|
[ext_resource type="Texture2D" uid="uid://04ecsvg7ausn" path="res://icon.svg" id="3_uuaxm"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_c3an2"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("3_uuaxm")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_vjcy3"]
|
|
|
|
[node name="Map" type="Node"]
|
|
script = ExtResource("1_vqaso")
|
|
|
|
[node name="Ground" type="TileMapLayer" parent="."]
|
|
tile_set = ExtResource("1_0ugm7")
|
|
|
|
[node name="Roads" type="TileMapLayer" parent="."]
|
|
tile_set = ExtResource("1_0ugm7")
|
|
|
|
[node name="Buildings" type="TileMapLayer" parent="."]
|
|
tile_set = ExtResource("1_0ugm7")
|
|
|
|
[node name="Details" type="TileMapLayer" parent="."]
|
|
tile_set = ExtResource("1_0ugm7")
|
|
|
|
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
|
|
position = Vector2(576, 324)
|
|
rect = Rect2(0, 0, 32, 32)
|
|
|
|
[node name="Player" type="Area2D" parent="." groups=["Player"]]
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Player"]
|
|
scale = Vector2(0.165, 0.165)
|
|
sprite_frames = SubResource("SpriteFrames_c3an2")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player"]
|
|
shape = SubResource("RectangleShape2D_vjcy3")
|