23 lines
673 B
Plaintext
23 lines
673 B
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://characters/player/sprites/green.tres" type="SpriteFrames" id=1]
|
|
[ext_resource path="res://characters/player/Player.gdns" type="Script" id=2]
|
|
|
|
[sub_resource type="CapsuleShape2D" id=1]
|
|
radius = 6.0
|
|
height = 12.0
|
|
|
|
[node name="Player" type="KinematicBody2D"]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
|
frames = ExtResource( 1 )
|
|
animation = "idle"
|
|
centered = false
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2( 12, 12 )
|
|
shape = SubResource( 1 )
|
|
|
|
[connection signal="player_moved" from="." to="." method="_on_Player_player_moved"]
|