godot-action-rpg/World.tscn

37 lines
1.1 KiB
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://World/Bush.png" type="Texture" id=1]
[ext_resource path="res://Player/Player.png" type="Texture" id=2]
[ext_resource path="res://Player/Player.gd" type="Script" id=3]
[sub_resource type="CapsuleShape2D" id=1]
radius = 4.0
height = 6.0
[node name="World" type="Node2D"]
[node name="Bush" type="Sprite" parent="."]
position = Vector2( 63, 65 )
texture = ExtResource( 1 )
[node name="Player" type="KinematicBody2D" parent="."]
position = Vector2( 101, 34 )
script = ExtResource( 3 )
__meta__ = {
"_edit_group_": true
}
[node name="Sprite" type="Sprite" parent="Player"]
texture = ExtResource( 2 )
hframes = 60
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player"]
position = Vector2( 0, 9 )
rotation = -1.5708
shape = SubResource( 1 )
[node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="StaticBody2D"]
polygon = PoolVector2Array( 0, 0, 64, 0, 40, 48, 64, 80, 24, 88, 96, 120, 112, 168, 200, 160, 272, 104, 240, 104, 240, 64, 280, 64, 288, 8, 320, 0, 320, 176, 0, 176 )