character is now running on screen
This commit is contained in:
11
scenes/Game_Scene.tscn
Normal file
11
scenes/Game_Scene.tscn
Normal file
@@ -0,0 +1,11 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://bkgu1a3lnxnui"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://sjgbdq7xije" path="res://scenes/game_scene.gd" id="1_xv2b7"]
|
||||
[ext_resource type="PackedScene" uid="uid://bojb35864qt8e" path="res://scenes/hero.tscn" id="1_xv4of"]
|
||||
[ext_resource type="Script" uid="uid://coqdjfhn4plph" path="res://scripts/characters/player.gd" id="2_xv2b7"]
|
||||
|
||||
[node name="GameScene" type="Node"]
|
||||
script = ExtResource("1_xv2b7")
|
||||
|
||||
[node name="Hero" parent="." instance=ExtResource("1_xv4of")]
|
||||
script = ExtResource("2_xv2b7")
|
||||
10
scenes/game_scene.gd
Normal file
10
scenes/game_scene.gd
Normal file
@@ -0,0 +1,10 @@
|
||||
extends Node
|
||||
|
||||
signal open_game
|
||||
|
||||
func _ready() -> void:
|
||||
print("Game scene ready")
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
1
scenes/game_scene.gd.uid
Normal file
1
scenes/game_scene.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://sjgbdq7xije
|
||||
502
scenes/hero.tscn
Normal file
502
scenes/hero.tscn
Normal file
@@ -0,0 +1,502 @@
|
||||
[gd_scene load_steps=73 format=3 uid="uid://bojb35864qt8e"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dcmhtymn7nmta" path="res://assets/Hero/IDLE/idle_down.png" id="1_n40cg"]
|
||||
[ext_resource type="Texture2D" uid="uid://b2pfov82738xo" path="res://assets/Hero/IDLE/idle_left.png" id="2_txblw"]
|
||||
[ext_resource type="Texture2D" uid="uid://d0d02ok6v7esf" path="res://assets/Hero/IDLE/idle_right.png" id="3_n5qna"]
|
||||
[ext_resource type="Texture2D" uid="uid://dnhopng8ws1lo" path="res://assets/Hero/IDLE/idle_up.png" id="4_d6xj2"]
|
||||
[ext_resource type="Texture2D" uid="uid://fcm6d22eb6dv" path="res://assets/Hero/RUN/run_down.png" id="5_sryfu"]
|
||||
[ext_resource type="Texture2D" uid="uid://cim03822crp33" path="res://assets/Hero/RUN/run_left.png" id="6_6mqrs"]
|
||||
[ext_resource type="Texture2D" uid="uid://b8ib42gdqbyko" path="res://assets/Hero/RUN/run_right.png" id="7_k8rms"]
|
||||
[ext_resource type="Texture2D" uid="uid://bnl11lwoesv5q" path="res://assets/Hero/RUN/run_up.png" id="8_lunib"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_2grt1"]
|
||||
atlas = ExtResource("1_n40cg")
|
||||
region = Rect2(0, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wynkb"]
|
||||
atlas = ExtResource("1_n40cg")
|
||||
region = Rect2(96, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_fuux7"]
|
||||
atlas = ExtResource("1_n40cg")
|
||||
region = Rect2(192, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_8m75t"]
|
||||
atlas = ExtResource("1_n40cg")
|
||||
region = Rect2(288, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_rvoeo"]
|
||||
atlas = ExtResource("1_n40cg")
|
||||
region = Rect2(384, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_syei6"]
|
||||
atlas = ExtResource("1_n40cg")
|
||||
region = Rect2(480, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_85qs6"]
|
||||
atlas = ExtResource("1_n40cg")
|
||||
region = Rect2(576, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wc88v"]
|
||||
atlas = ExtResource("1_n40cg")
|
||||
region = Rect2(672, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_kt0c4"]
|
||||
atlas = ExtResource("2_txblw")
|
||||
region = Rect2(0, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_rpah5"]
|
||||
atlas = ExtResource("2_txblw")
|
||||
region = Rect2(96, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_4kg8r"]
|
||||
atlas = ExtResource("2_txblw")
|
||||
region = Rect2(192, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_4ul70"]
|
||||
atlas = ExtResource("2_txblw")
|
||||
region = Rect2(288, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_61g13"]
|
||||
atlas = ExtResource("2_txblw")
|
||||
region = Rect2(384, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_7l7r2"]
|
||||
atlas = ExtResource("2_txblw")
|
||||
region = Rect2(480, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_nh6g3"]
|
||||
atlas = ExtResource("2_txblw")
|
||||
region = Rect2(576, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_8v78m"]
|
||||
atlas = ExtResource("2_txblw")
|
||||
region = Rect2(672, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_48qaf"]
|
||||
atlas = ExtResource("3_n5qna")
|
||||
region = Rect2(0, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_delsk"]
|
||||
atlas = ExtResource("3_n5qna")
|
||||
region = Rect2(96, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_158md"]
|
||||
atlas = ExtResource("3_n5qna")
|
||||
region = Rect2(192, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_j0f64"]
|
||||
atlas = ExtResource("3_n5qna")
|
||||
region = Rect2(288, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_akksl"]
|
||||
atlas = ExtResource("3_n5qna")
|
||||
region = Rect2(384, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_u7rdq"]
|
||||
atlas = ExtResource("3_n5qna")
|
||||
region = Rect2(480, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_pku1t"]
|
||||
atlas = ExtResource("3_n5qna")
|
||||
region = Rect2(576, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_fd06a"]
|
||||
atlas = ExtResource("3_n5qna")
|
||||
region = Rect2(672, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_dvtb3"]
|
||||
atlas = ExtResource("4_d6xj2")
|
||||
region = Rect2(0, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_u7y3v"]
|
||||
atlas = ExtResource("4_d6xj2")
|
||||
region = Rect2(96, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_u7ksq"]
|
||||
atlas = ExtResource("4_d6xj2")
|
||||
region = Rect2(192, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_lyirt"]
|
||||
atlas = ExtResource("4_d6xj2")
|
||||
region = Rect2(288, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_pasmt"]
|
||||
atlas = ExtResource("4_d6xj2")
|
||||
region = Rect2(384, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_tsxnk"]
|
||||
atlas = ExtResource("4_d6xj2")
|
||||
region = Rect2(480, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_6xrt3"]
|
||||
atlas = ExtResource("4_d6xj2")
|
||||
region = Rect2(576, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_54d4v"]
|
||||
atlas = ExtResource("4_d6xj2")
|
||||
region = Rect2(672, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_m72ym"]
|
||||
atlas = ExtResource("5_sryfu")
|
||||
region = Rect2(0, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5e70t"]
|
||||
atlas = ExtResource("5_sryfu")
|
||||
region = Rect2(96, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5dxqo"]
|
||||
atlas = ExtResource("5_sryfu")
|
||||
region = Rect2(192, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_4v2qv"]
|
||||
atlas = ExtResource("5_sryfu")
|
||||
region = Rect2(288, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_05r1h"]
|
||||
atlas = ExtResource("5_sryfu")
|
||||
region = Rect2(384, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_i8in1"]
|
||||
atlas = ExtResource("5_sryfu")
|
||||
region = Rect2(480, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hn7jl"]
|
||||
atlas = ExtResource("5_sryfu")
|
||||
region = Rect2(576, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_jjdmo"]
|
||||
atlas = ExtResource("5_sryfu")
|
||||
region = Rect2(672, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ffar2"]
|
||||
atlas = ExtResource("6_6mqrs")
|
||||
region = Rect2(0, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_t0jj8"]
|
||||
atlas = ExtResource("6_6mqrs")
|
||||
region = Rect2(96, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_bjjcb"]
|
||||
atlas = ExtResource("6_6mqrs")
|
||||
region = Rect2(192, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_1ktsb"]
|
||||
atlas = ExtResource("6_6mqrs")
|
||||
region = Rect2(288, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5gu81"]
|
||||
atlas = ExtResource("6_6mqrs")
|
||||
region = Rect2(384, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ps45g"]
|
||||
atlas = ExtResource("6_6mqrs")
|
||||
region = Rect2(480, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_fbll3"]
|
||||
atlas = ExtResource("6_6mqrs")
|
||||
region = Rect2(576, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_aw3ld"]
|
||||
atlas = ExtResource("6_6mqrs")
|
||||
region = Rect2(672, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_pfjxo"]
|
||||
atlas = ExtResource("7_k8rms")
|
||||
region = Rect2(0, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_lrikj"]
|
||||
atlas = ExtResource("7_k8rms")
|
||||
region = Rect2(96, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_rx3em"]
|
||||
atlas = ExtResource("7_k8rms")
|
||||
region = Rect2(192, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_se6mv"]
|
||||
atlas = ExtResource("7_k8rms")
|
||||
region = Rect2(288, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_qvhjw"]
|
||||
atlas = ExtResource("7_k8rms")
|
||||
region = Rect2(384, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_12dr8"]
|
||||
atlas = ExtResource("7_k8rms")
|
||||
region = Rect2(480, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ov74w"]
|
||||
atlas = ExtResource("7_k8rms")
|
||||
region = Rect2(576, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_d0tjj"]
|
||||
atlas = ExtResource("7_k8rms")
|
||||
region = Rect2(672, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_dh4be"]
|
||||
atlas = ExtResource("8_lunib")
|
||||
region = Rect2(96, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_a8lnc"]
|
||||
atlas = ExtResource("8_lunib")
|
||||
region = Rect2(192, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_jniie"]
|
||||
atlas = ExtResource("8_lunib")
|
||||
region = Rect2(288, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_d88lm"]
|
||||
atlas = ExtResource("8_lunib")
|
||||
region = Rect2(384, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_mpkdo"]
|
||||
atlas = ExtResource("8_lunib")
|
||||
region = Rect2(480, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_oayr2"]
|
||||
atlas = ExtResource("8_lunib")
|
||||
region = Rect2(576, 0, 96, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_p0r7a"]
|
||||
atlas = ExtResource("8_lunib")
|
||||
region = Rect2(672, 0, 96, 80)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_6biqx"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_2grt1")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_wynkb")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_fuux7")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_8m75t")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_rvoeo")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_syei6")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_85qs6")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_wc88v")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"IdleDown",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_kt0c4")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_rpah5")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_4kg8r")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_4ul70")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_61g13")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_7l7r2")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_nh6g3")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_8v78m")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"IdleLeft",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_48qaf")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_delsk")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_158md")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_j0f64")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_akksl")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_u7rdq")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_pku1t")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_fd06a")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"IdleRight",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_dvtb3")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_u7y3v")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_u7ksq")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_lyirt")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_pasmt")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_tsxnk")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_6xrt3")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_54d4v")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"IdleUp",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_m72ym")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_5e70t")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_5dxqo")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_4v2qv")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_05r1h")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_i8in1")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_hn7jl")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_jjdmo")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"RunDown",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ffar2")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_t0jj8")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_bjjcb")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_1ktsb")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_5gu81")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ps45g")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_fbll3")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_aw3ld")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"RunLeft",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_pfjxo")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_lrikj")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_rx3em")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_se6mv")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_qvhjw")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_12dr8")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ov74w")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_d0tjj")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"RunRight",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_dh4be")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_a8lnc")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_jniie")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_d88lm")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_mpkdo")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_oayr2")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_p0r7a")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"RunUp",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="Hero" type="CharacterBody2D"]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_6biqx")
|
||||
animation = &"RunUp"
|
||||
Reference in New Issue
Block a user