84 lines
2.5 KiB
Plaintext
84 lines
2.5 KiB
Plaintext
[gd_scene load_steps=15 format=2]
|
|
|
|
[ext_resource path="res://lib/components/Hurtbox_Component.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://lib/classes/state_machine_animated_actor.gd" type="Script" id=2]
|
|
[ext_resource path="res://lib/templates/Actor/states/idle.tres" type="Resource" id=4]
|
|
[ext_resource path="res://src/classes/movement_component.gd" type="Script" id=5]
|
|
[ext_resource path="res://lib/classes/actor.gd" type="Script" id=8]
|
|
|
|
[sub_resource type="StreamTexture" id=83]
|
|
load_path = "res://.import/Player Idle 48x48.png-eec2a2bcc99a731fac49b2105239676a.stex"
|
|
|
|
[sub_resource type="AtlasTexture" id=84]
|
|
atlas = SubResource( 83 )
|
|
region = Rect2( 0, 0, 48, 48 )
|
|
|
|
[sub_resource type="AtlasTexture" id=85]
|
|
atlas = SubResource( 83 )
|
|
region = Rect2( 48, 0, 48, 48 )
|
|
|
|
[sub_resource type="AtlasTexture" id=86]
|
|
atlas = SubResource( 83 )
|
|
region = Rect2( 96, 0, 48, 48 )
|
|
|
|
[sub_resource type="AtlasTexture" id=87]
|
|
atlas = SubResource( 83 )
|
|
region = Rect2( 0, 48, 48, 48 )
|
|
|
|
[sub_resource type="AtlasTexture" id=88]
|
|
atlas = SubResource( 83 )
|
|
region = Rect2( 48, 48, 48, 48 )
|
|
|
|
[sub_resource type="AtlasTexture" id=89]
|
|
atlas = SubResource( 83 )
|
|
region = Rect2( 96, 48, 48, 48 )
|
|
|
|
[sub_resource type="SpriteFrames" id=90]
|
|
animations = [ {
|
|
"frames": [ SubResource( 84 ), SubResource( 85 ), SubResource( 86 ), SubResource( 87 ), SubResource( 87 ), SubResource( 88 ), SubResource( 84 ), SubResource( 89 ), SubResource( 89 ), SubResource( 89 ) ],
|
|
"loop": true,
|
|
"name": "default",
|
|
"speed": 11.0
|
|
} ]
|
|
|
|
[sub_resource type="CircleShape2D" id=82]
|
|
|
|
[node name="ActorTemplate" type="KinematicBody2D"]
|
|
collision_layer = 2
|
|
script = ExtResource( 8 )
|
|
|
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
|
frames = SubResource( 90 )
|
|
playing = true
|
|
__meta__ = {
|
|
"_aseprite_wizard_config_": {
|
|
"layer": "",
|
|
"o_ex_p": "BG",
|
|
"o_folder": "res://assets/actors/players/playerE",
|
|
"o_name": "",
|
|
"only_visible": true,
|
|
"op_exp": true,
|
|
"slice": "",
|
|
"source": "/home/relay01/Assets/Library/Asset Packs 1-5/Asset Packs 1-4 (final)/Asset Pack-V1/Player Idle/Player Idle 48x48.aseprite"
|
|
}
|
|
}
|
|
|
|
[node name="movement_component" type="Node" parent="."]
|
|
script = ExtResource( 5 )
|
|
|
|
[node name="movement_state_machine" type="Node" parent="."]
|
|
script = ExtResource( 2 )
|
|
debug_state_machine = true
|
|
states = {
|
|
"default": ExtResource( 4 )
|
|
}
|
|
|
|
[node name="Hurtbox_Component" parent="." instance=ExtResource( 1 )]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hurtbox_Component"]
|
|
modulate = Color( 1, 0, 0, 1 )
|
|
position = Vector2( -1, 1 )
|
|
shape = SubResource( 82 )
|
|
|
|
[node name="SE_Player" type="AudioStreamPlayer" parent="."]
|