blob: 58aa253504831da0e63aa1b7704c5022397e0726 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
[gd_scene load_steps=6 format=2]
[ext_resource path="res://textures/monk_idle.tres" type="Texture" id=1]
[ext_resource path="res://scripts/PlayerCharacter.gd" type="Script" id=2]
[ext_resource path="res://scenes/CharacterShadow.tscn" type="PackedScene" id=3]
[sub_resource type="AnimatedTexture" id=1]
frame_0/texture = ExtResource( 1 )
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 4, 2 )
[node name="PlayerCharacter" type="KinematicBody2D"]
script = ExtResource( 2 )
speed = 24
walk_wobble_coeff = 10.0
[node name="Sprite" type="Sprite" parent="."]
texture = SubResource( 1 )
offset = Vector2( 6, -6.5 )
[node name="CharacterShadow" parent="Sprite" instance=ExtResource( 3 )]
color = Color( 0, 0, 0, 0.196078 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, -1.5 )
shape = SubResource( 2 )
|