blob: 85b3914edf8472e2eb7e8772b374d9656cd62b44 (
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
28
|
[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"]
collision/safe_margin = 0.001
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 )
|