feat: basis
This commit is contained in:
BIN
player/assets/char_blue.png
(Stored with Git LFS)
Normal file
BIN
player/assets/char_blue.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
player/assets/char_blue.png.import
Normal file
34
player/assets/char_blue.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dbruj2bdtjfmd"
|
||||
path="res://.godot/imported/char_blue.png-f9e58907e4c13cfb88e690fd861a0e10.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://player/assets/char_blue.png"
|
||||
dest_files=["res://.godot/imported/char_blue.png-f9e58907e4c13cfb88e690fd861a0e10.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
BIN
player/assets/idle sheet-Sheet.png
(Stored with Git LFS)
Normal file
BIN
player/assets/idle sheet-Sheet.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
player/assets/idle sheet-Sheet.png.import
Normal file
34
player/assets/idle sheet-Sheet.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d3t1fn35skpip"
|
||||
path="res://.godot/imported/idle sheet-Sheet.png-b28f2c3e71f3461e0e7857105241346d.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://player/assets/idle sheet-Sheet.png"
|
||||
dest_files=["res://.godot/imported/idle sheet-Sheet.png-b28f2c3e71f3461e0e7857105241346d.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
BIN
player/assets/itch hurt 2 sheet-Sheet.png
(Stored with Git LFS)
Normal file
BIN
player/assets/itch hurt 2 sheet-Sheet.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
player/assets/itch hurt 2 sheet-Sheet.png.import
Normal file
34
player/assets/itch hurt 2 sheet-Sheet.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dg1okdxx73qx2"
|
||||
path="res://.godot/imported/itch hurt 2 sheet-Sheet.png-26263585074b9881d5f72e04d77607d2.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://player/assets/itch hurt 2 sheet-Sheet.png"
|
||||
dest_files=["res://.godot/imported/itch hurt 2 sheet-Sheet.png-26263585074b9881d5f72e04d77607d2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
BIN
player/assets/itch jump sheet-Sheet.png
(Stored with Git LFS)
Normal file
BIN
player/assets/itch jump sheet-Sheet.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
player/assets/itch jump sheet-Sheet.png.import
Normal file
34
player/assets/itch jump sheet-Sheet.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://lew1m4dpw2ss"
|
||||
path="res://.godot/imported/itch jump sheet-Sheet.png-eede0613ff329d4c830334dbdd67d6a1.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://player/assets/itch jump sheet-Sheet.png"
|
||||
dest_files=["res://.godot/imported/itch jump sheet-Sheet.png-eede0613ff329d4c830334dbdd67d6a1.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
BIN
player/assets/itch light atk sheet-Sheet.png
(Stored with Git LFS)
Normal file
BIN
player/assets/itch light atk sheet-Sheet.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
player/assets/itch light atk sheet-Sheet.png.import
Normal file
34
player/assets/itch light atk sheet-Sheet.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://u2du268yb6ny"
|
||||
path="res://.godot/imported/itch light atk sheet-Sheet.png-edaf61cd44e6c122c545af8b4bfa2858.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://player/assets/itch light atk sheet-Sheet.png"
|
||||
dest_files=["res://.godot/imported/itch light atk sheet-Sheet.png-edaf61cd44e6c122c545af8b4bfa2858.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
BIN
player/assets/itch run-Sheet sheet.png
(Stored with Git LFS)
Normal file
BIN
player/assets/itch run-Sheet sheet.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
player/assets/itch run-Sheet sheet.png.import
Normal file
34
player/assets/itch run-Sheet sheet.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://besci6tw4jtou"
|
||||
path="res://.godot/imported/itch run-Sheet sheet.png-6cc521088b12a29d0fc6b4d7887f923c.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://player/assets/itch run-Sheet sheet.png"
|
||||
dest_files=["res://.godot/imported/itch run-Sheet sheet.png-6cc521088b12a29d0fc6b4d7887f923c.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
BIN
player/assets/red hood run turnaround-Sheet.png
(Stored with Git LFS)
Normal file
BIN
player/assets/red hood run turnaround-Sheet.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
player/assets/red hood run turnaround-Sheet.png.import
Normal file
34
player/assets/red hood run turnaround-Sheet.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cw85darlkhfv7"
|
||||
path="res://.godot/imported/red hood run turnaround-Sheet.png-98c36e1da10761c1c7b1662ec59d40b4.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://player/assets/red hood run turnaround-Sheet.png"
|
||||
dest_files=["res://.godot/imported/red hood run turnaround-Sheet.png-98c36e1da10761c1c7b1662ec59d40b4.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
BIN
player/assets/red hood.png
(Stored with Git LFS)
Normal file
BIN
player/assets/red hood.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
player/assets/red hood.png.import
Normal file
34
player/assets/red hood.png.import
Normal file
@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bvhu1nv5ftm5m"
|
||||
path="res://.godot/imported/red hood.png-7cb18b124244c95c635a33e8e1d74098.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://player/assets/red hood.png"
|
||||
dest_files=["res://.godot/imported/red hood.png-7cb18b124244c95c635a33e8e1d74098.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
28
player/player.gd
Normal file
28
player/player.gd
Normal file
@ -0,0 +1,28 @@
|
||||
extends CharacterBody2D
|
||||
|
||||
@export_range(10, 1000, 10, "or_greater")
|
||||
var speed = 300.0
|
||||
@export_range(0, 1000, 10, "or_greater")
|
||||
var jump_velocity = 400.0
|
||||
@export_range(0, 10, 0.1, "or_greater")
|
||||
var gravity_modifier = 1
|
||||
|
||||
|
||||
func _physics_process(delta: float) -> void:
|
||||
# Add the gravity.
|
||||
if not is_on_floor():
|
||||
velocity += get_gravity() * delta * gravity_modifier
|
||||
|
||||
# Handle jump.
|
||||
if Input.is_action_just_pressed("ui_accept") and is_on_floor():
|
||||
velocity.y = -jump_velocity
|
||||
|
||||
# Get the input direction and handle the movement/deceleration.
|
||||
# As good practice, you should replace UI actions with custom gameplay actions.
|
||||
var direction := Input.get_axis("ui_left", "ui_right")
|
||||
if direction:
|
||||
velocity.x = direction * speed
|
||||
else:
|
||||
velocity.x = move_toward(velocity.x, 0, speed)
|
||||
|
||||
move_and_slide()
|
1
player/player.gd.uid
Normal file
1
player/player.gd.uid
Normal file
@ -0,0 +1 @@
|
||||
uid://c1fqj3lba7wik
|
494
player/player.tscn
Normal file
494
player/player.tscn
Normal file
@ -0,0 +1,494 @@
|
||||
[gd_scene load_steps=70 format=3 uid="uid://yvp44oauis4n"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://d3t1fn35skpip" path="res://player/assets/idle sheet-Sheet.png" id="1_g1dw6"]
|
||||
[ext_resource type="Script" uid="uid://c1fqj3lba7wik" path="res://player/player.gd" id="1_yw30f"]
|
||||
[ext_resource type="Texture2D" uid="uid://besci6tw4jtou" path="res://player/assets/itch run-Sheet sheet.png" id="2_yw30f"]
|
||||
[ext_resource type="Texture2D" uid="uid://dbruj2bdtjfmd" path="res://player/assets/char_blue.png" id="3_qjkh3"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_8pxes"]
|
||||
atlas = ExtResource("3_qjkh3")
|
||||
region = Rect2(0, 56, 56, 56)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_fmu53"]
|
||||
atlas = ExtResource("3_qjkh3")
|
||||
region = Rect2(56, 56, 56, 56)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_w7j2h"]
|
||||
atlas = ExtResource("3_qjkh3")
|
||||
region = Rect2(112, 56, 56, 56)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_n0b8q"]
|
||||
atlas = ExtResource("3_qjkh3")
|
||||
region = Rect2(168, 56, 56, 56)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_jfgyi"]
|
||||
atlas = ExtResource("3_qjkh3")
|
||||
region = Rect2(224, 56, 56, 56)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_237xx"]
|
||||
atlas = ExtResource("3_qjkh3")
|
||||
region = Rect2(280, 56, 56, 56)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wpyo2"]
|
||||
atlas = ExtResource("3_qjkh3")
|
||||
region = Rect2(0, 0, 56, 56)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_7crtr"]
|
||||
atlas = ExtResource("3_qjkh3")
|
||||
region = Rect2(56, 0, 56, 56)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_vgvch"]
|
||||
atlas = ExtResource("3_qjkh3")
|
||||
region = Rect2(112, 0, 56, 56)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_a1u5o"]
|
||||
atlas = ExtResource("3_qjkh3")
|
||||
region = Rect2(168, 0, 56, 56)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_3dxkp"]
|
||||
atlas = ExtResource("3_qjkh3")
|
||||
region = Rect2(224, 0, 56, 56)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_6wior"]
|
||||
atlas = ExtResource("3_qjkh3")
|
||||
region = Rect2(280, 0, 56, 56)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_p5tca"]
|
||||
atlas = ExtResource("3_qjkh3")
|
||||
region = Rect2(0, 112, 56, 56)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_jbx34"]
|
||||
atlas = ExtResource("3_qjkh3")
|
||||
region = Rect2(56, 112, 56, 56)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_s3g0c"]
|
||||
atlas = ExtResource("3_qjkh3")
|
||||
region = Rect2(112, 112, 56, 56)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_35wys"]
|
||||
atlas = ExtResource("3_qjkh3")
|
||||
region = Rect2(168, 112, 56, 56)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_pjwc4"]
|
||||
atlas = ExtResource("3_qjkh3")
|
||||
region = Rect2(224, 112, 56, 56)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_or4qq"]
|
||||
atlas = ExtResource("3_qjkh3")
|
||||
region = Rect2(280, 112, 56, 56)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hggc2"]
|
||||
atlas = ExtResource("3_qjkh3")
|
||||
region = Rect2(336, 112, 56, 56)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_b2j0d"]
|
||||
atlas = ExtResource("3_qjkh3")
|
||||
region = Rect2(392, 112, 56, 56)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_7l6ig"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_8pxes")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_fmu53")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_w7j2h")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_n0b8q")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_jfgyi")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_237xx")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"hit",
|
||||
"speed": 12.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_wpyo2")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_7crtr")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_vgvch")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_a1u5o")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_3dxkp")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_6wior")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"idle",
|
||||
"speed": 8.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_p5tca")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_jbx34")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_s3g0c")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_35wys")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_pjwc4")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_or4qq")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_hggc2")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_b2j0d")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"run",
|
||||
"speed": 14.0
|
||||
}]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_g6k8r"]
|
||||
atlas = ExtResource("1_g1dw6")
|
||||
region = Rect2(0, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_boad6"]
|
||||
atlas = ExtResource("1_g1dw6")
|
||||
region = Rect2(80, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_rgyib"]
|
||||
atlas = ExtResource("1_g1dw6")
|
||||
region = Rect2(160, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hg6s5"]
|
||||
atlas = ExtResource("1_g1dw6")
|
||||
region = Rect2(240, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_8t03j"]
|
||||
atlas = ExtResource("1_g1dw6")
|
||||
region = Rect2(320, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_2ieo8"]
|
||||
atlas = ExtResource("1_g1dw6")
|
||||
region = Rect2(400, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ebec5"]
|
||||
atlas = ExtResource("1_g1dw6")
|
||||
region = Rect2(480, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_yllr7"]
|
||||
atlas = ExtResource("1_g1dw6")
|
||||
region = Rect2(560, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_kb6p2"]
|
||||
atlas = ExtResource("1_g1dw6")
|
||||
region = Rect2(640, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wodsf"]
|
||||
atlas = ExtResource("1_g1dw6")
|
||||
region = Rect2(720, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_32hag"]
|
||||
atlas = ExtResource("1_g1dw6")
|
||||
region = Rect2(800, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_tqiix"]
|
||||
atlas = ExtResource("1_g1dw6")
|
||||
region = Rect2(880, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_e7oew"]
|
||||
atlas = ExtResource("1_g1dw6")
|
||||
region = Rect2(960, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_c35mf"]
|
||||
atlas = ExtResource("1_g1dw6")
|
||||
region = Rect2(1040, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_65viv"]
|
||||
atlas = ExtResource("1_g1dw6")
|
||||
region = Rect2(1120, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_x7c3f"]
|
||||
atlas = ExtResource("1_g1dw6")
|
||||
region = Rect2(1200, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_bjvpn"]
|
||||
atlas = ExtResource("1_g1dw6")
|
||||
region = Rect2(1280, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_s7qer"]
|
||||
atlas = ExtResource("1_g1dw6")
|
||||
region = Rect2(1360, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_g4c7l"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(0, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_knn7v"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(80, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_7pqkx"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(160, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_uw77l"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(240, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_rptt4"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(320, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_r7pn3"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(400, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_b8hi5"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(480, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_2uvqg"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(560, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_1s1yo"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(640, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5ejfk"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(720, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_jd2rm"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(800, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_q28gw"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(880, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ge24q"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(960, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_pnw6m"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(1040, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_1so5t"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(1120, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_55jnj"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(1200, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_dx5ib"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(1280, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_a2xo5"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(1360, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_art4l"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(1440, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_fjxoa"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(1520, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_gswnw"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(1600, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_xcnuv"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(1680, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_j55il"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(1760, 0, 80, 80)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hjies"]
|
||||
atlas = ExtResource("2_yw30f")
|
||||
region = Rect2(1840, 0, 80, 80)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_mmwog"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_g6k8r")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_boad6")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_rgyib")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_hg6s5")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_8t03j")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_2ieo8")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ebec5")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_yllr7")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_kb6p2")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_wodsf")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_32hag")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_tqiix")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_e7oew")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_c35mf")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_65viv")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_x7c3f")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_bjvpn")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_s7qer")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"idle",
|
||||
"speed": 13.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_g4c7l")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_knn7v")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_7pqkx")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_uw77l")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_rptt4")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_r7pn3")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_b8hi5")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_2uvqg")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_1s1yo")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_5ejfk")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_jd2rm")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_q28gw")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_ge24q")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_pnw6m")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_1so5t")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_55jnj")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_dx5ib")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_a2xo5")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_art4l")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_fjxoa")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_gswnw")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_xcnuv")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_j55il")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_hjies")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"run",
|
||||
"speed": 30.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_g1dw6"]
|
||||
radius = 6.0
|
||||
height = 26.0
|
||||
|
||||
[node name="Player" type="CharacterBody2D"]
|
||||
script = ExtResource("1_yw30f")
|
||||
|
||||
[node name="Knight" type="AnimatedSprite2D" parent="."]
|
||||
position = Vector2(1, -28)
|
||||
sprite_frames = SubResource("SpriteFrames_7l6ig")
|
||||
animation = &"idle"
|
||||
autoplay = "idle"
|
||||
|
||||
[node name="RedHood" type="AnimatedSprite2D" parent="."]
|
||||
position = Vector2(11, -19)
|
||||
sprite_frames = SubResource("SpriteFrames_mmwog")
|
||||
animation = &"idle"
|
||||
autoplay = "idle"
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0, -13)
|
||||
shape = SubResource("CapsuleShape2D_g1dw6")
|
Reference in New Issue
Block a user