405 lines
11 KiB
Plaintext
405 lines
11 KiB
Plaintext
[gd_scene load_steps=78 format=2]
|
|
|
|
[ext_resource path="res://addons/escoria-core/game/core-scripts/escplayer.gd" type="Script" id=1]
|
|
[ext_resource path="res://game/characters/character2/character_anims.gd" type="Script" id=2]
|
|
[ext_resource path="res://game/characters/character2/8_way_walk.png" type="Texture" id=3]
|
|
|
|
[sub_resource type="AtlasTexture" id=1]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 0, 220, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=2]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 60, 220, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=3]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 120, 220, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=4]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 180, 220, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=5]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 240, 220, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=6]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 300, 220, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=7]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 360, 220, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=8]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 420, 220, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=9]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 360, 0, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=10]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 180, 0, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=11]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 0, 660, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=12]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 60, 660, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=13]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 120, 660, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=14]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 180, 660, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=15]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 240, 660, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=16]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 300, 660, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=17]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 360, 660, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=18]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 420, 660, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=19]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 60, 0, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=20]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 0, 110, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=21]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 60, 110, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=22]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 120, 110, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=23]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 180, 110, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=24]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 240, 110, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=25]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 300, 110, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=26]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 360, 110, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=27]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 420, 110, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=28]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 120, 0, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=29]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 0, 440, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=30]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 60, 440, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=31]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 120, 440, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=32]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 180, 440, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=33]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 240, 440, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=34]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 300, 440, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=35]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 360, 440, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=36]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 420, 440, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=37]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 420, 0, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=38]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 0, 880, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=39]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 60, 880, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=40]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 120, 880, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=41]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 180, 880, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=42]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 240, 880, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=43]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 300, 880, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=44]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 360, 880, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=45]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 420, 880, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=46]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 0, 550, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=47]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 60, 550, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=48]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 120, 550, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=49]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 180, 550, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=50]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 240, 550, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=51]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 300, 550, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=52]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 360, 550, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=53]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 420, 550, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=54]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 0, 0, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=55]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 0, 770, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=56]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 60, 770, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=57]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 120, 770, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=58]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 180, 770, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=59]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 240, 770, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=60]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 300, 770, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=61]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 360, 770, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=62]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 420, 770, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=63]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 240, 0, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=64]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 300, 0, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=65]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 0, 330, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=66]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 60, 330, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=67]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 120, 330, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=68]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 180, 330, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=69]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 240, 330, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=70]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 300, 330, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=71]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 360, 330, 60, 110 )
|
|
|
|
[sub_resource type="AtlasTexture" id=72]
|
|
atlas = ExtResource( 3 )
|
|
region = Rect2( 420, 330, 60, 110 )
|
|
|
|
[sub_resource type="SpriteFrames" id=73]
|
|
animations = [ {
|
|
"frames": [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ) ],
|
|
"loop": true,
|
|
"name": "walk_down",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [ SubResource( 9 ) ],
|
|
"loop": true,
|
|
"name": "idle_right",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [ SubResource( 10 ) ],
|
|
"loop": true,
|
|
"name": "idle_up_left",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [ SubResource( 11 ), SubResource( 12 ), SubResource( 13 ), SubResource( 14 ), SubResource( 15 ), SubResource( 16 ), SubResource( 17 ), SubResource( 18 ) ],
|
|
"loop": true,
|
|
"name": "walk_up_left",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [ SubResource( 19 ) ],
|
|
"loop": true,
|
|
"name": "idle_down_left",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [ SubResource( 20 ), SubResource( 21 ), SubResource( 22 ), SubResource( 23 ), SubResource( 24 ), SubResource( 25 ), SubResource( 26 ), SubResource( 27 ) ],
|
|
"loop": true,
|
|
"name": "walk_down_left",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [ SubResource( 28 ) ],
|
|
"loop": true,
|
|
"name": "idle_left",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [ SubResource( 29 ), SubResource( 30 ), SubResource( 31 ), SubResource( 32 ), SubResource( 33 ), SubResource( 34 ), SubResource( 35 ), SubResource( 36 ) ],
|
|
"loop": true,
|
|
"name": "walk_left",
|
|
"speed": 8.0
|
|
}, {
|
|
"frames": [ SubResource( 37 ) ],
|
|
"loop": true,
|
|
"name": "idle_down_right",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [ SubResource( 38 ), SubResource( 39 ), SubResource( 40 ), SubResource( 41 ), SubResource( 42 ), SubResource( 43 ), SubResource( 44 ), SubResource( 45 ) ],
|
|
"loop": true,
|
|
"name": "walk_up_right",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [ SubResource( 46 ), SubResource( 47 ), SubResource( 48 ), SubResource( 49 ), SubResource( 50 ), SubResource( 51 ), SubResource( 52 ), SubResource( 53 ) ],
|
|
"loop": true,
|
|
"name": "walk_right",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [ SubResource( 54 ) ],
|
|
"loop": true,
|
|
"name": "idle_down",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [ SubResource( 55 ), SubResource( 56 ), SubResource( 57 ), SubResource( 58 ), SubResource( 59 ), SubResource( 60 ), SubResource( 61 ), SubResource( 62 ) ],
|
|
"loop": true,
|
|
"name": "walk_up",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [ SubResource( 63 ) ],
|
|
"loop": true,
|
|
"name": "idle_up",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [ SubResource( 64 ) ],
|
|
"loop": true,
|
|
"name": "idle_up_right",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [ SubResource( 65 ), SubResource( 66 ), SubResource( 67 ), SubResource( 68 ), SubResource( 69 ), SubResource( 70 ), SubResource( 71 ), SubResource( 72 ) ],
|
|
"loop": true,
|
|
"name": "walk_down_right",
|
|
"speed": 5.0
|
|
} ]
|
|
|
|
[sub_resource type="CapsuleShape2D" id=74]
|
|
height = 0.0
|
|
|
|
[node name="character" type="KinematicBody2D"]
|
|
script = ExtResource( 1 )
|
|
global_id = "player"
|
|
animations = ExtResource( 2 )
|
|
dialog_color = Color( 1, 1, 1, 1 )
|
|
|
|
[node name="sprite" type="AnimatedSprite" parent="."]
|
|
position = Vector2( 0, -78.4786 )
|
|
scale = Vector2( 2, 2 )
|
|
frames = SubResource( 73 )
|
|
animation = "idle_down_right"
|
|
|
|
[node name="collision" type="CollisionShape2D" parent="."]
|
|
shape = SubResource( 74 )
|
|
|
|
[node name="debug" type="Label" parent="."]
|
|
margin_right = 40.0
|
|
margin_bottom = 14.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="dialog_position" type="Position2D" parent="."]
|
|
position = Vector2( 0, -195.195 )
|