From 31089507aae1d35d0deeb2c412cfa311e7a57563 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Fri, 15 Apr 2022 02:08:49 +0530 Subject: Adds Chicken Enemy Animation Tree - In-Progress --- entities/Player.gd | 45 ----- entities/Player.tscn | 105 ---------- entities/chicken/Hit (32x34).png | Bin 0 -> 2156 bytes entities/chicken/Hit (32x34).png.import | 35 ++++ entities/chicken/Idle (32x34).png | Bin 0 -> 3686 bytes entities/chicken/Idle (32x34).png.import | 35 ++++ entities/chicken/Run (32x34).png | Bin 0 -> 3068 bytes entities/chicken/Run (32x34).png.import | 35 ++++ entities/chicken/chicken.gd | 26 +++ entities/chicken/chicken.tscn | 76 ++++++++ entities/chicken/hit/chicken_hit1.png | Bin 0 -> 247 bytes entities/chicken/hit/chicken_hit1.png.import | 35 ++++ entities/chicken/hit/chicken_hit2.png | Bin 0 -> 247 bytes entities/chicken/hit/chicken_hit2.png.import | 35 ++++ entities/chicken/hit/chicken_hit3.png | Bin 0 -> 971 bytes entities/chicken/hit/chicken_hit3.png.import | 35 ++++ entities/chicken/hit/chicken_hit4.png | Bin 0 -> 1042 bytes entities/chicken/hit/chicken_hit4.png.import | 35 ++++ entities/chicken/hit/chicken_hit5.png | Bin 0 -> 882 bytes entities/chicken/hit/chicken_hit5.png.import | 35 ++++ entities/chicken/idle/chicken_idle1.png | Bin 0 -> 1181 bytes entities/chicken/idle/chicken_idle1.png.import | 35 ++++ entities/chicken/idle/chicken_idle10.png | Bin 0 -> 1160 bytes entities/chicken/idle/chicken_idle10.png.import | 35 ++++ entities/chicken/idle/chicken_idle11.png | Bin 0 -> 1160 bytes entities/chicken/idle/chicken_idle11.png.import | 35 ++++ entities/chicken/idle/chicken_idle12.png | Bin 0 -> 1160 bytes entities/chicken/idle/chicken_idle12.png.import | 35 ++++ entities/chicken/idle/chicken_idle13.png | Bin 0 -> 1160 bytes entities/chicken/idle/chicken_idle13.png.import | 35 ++++ entities/chicken/idle/chicken_idle2.png | Bin 0 -> 1122 bytes entities/chicken/idle/chicken_idle2.png.import | 35 ++++ entities/chicken/idle/chicken_idle3.png | Bin 0 -> 1059 bytes entities/chicken/idle/chicken_idle3.png.import | 35 ++++ entities/chicken/idle/chicken_idle4.png | Bin 0 -> 984 bytes entities/chicken/idle/chicken_idle4.png.import | 35 ++++ entities/chicken/idle/chicken_idle5.png | Bin 0 -> 984 bytes entities/chicken/idle/chicken_idle5.png.import | 35 ++++ entities/chicken/idle/chicken_idle6.png | Bin 0 -> 1044 bytes entities/chicken/idle/chicken_idle6.png.import | 35 ++++ entities/chicken/idle/chicken_idle7.png | Bin 0 -> 1100 bytes entities/chicken/idle/chicken_idle7.png.import | 35 ++++ entities/chicken/idle/chicken_idle8.png | Bin 0 -> 1170 bytes entities/chicken/idle/chicken_idle8.png.import | 35 ++++ entities/chicken/idle/chicken_idle9.png | Bin 0 -> 1165 bytes entities/chicken/idle/chicken_idle9.png.import | 35 ++++ entities/chicken/run/chicken_run1.png | Bin 0 -> 910 bytes entities/chicken/run/chicken_run1.png.import | 35 ++++ entities/chicken/run/chicken_run10.png | Bin 0 -> 781 bytes entities/chicken/run/chicken_run10.png.import | 35 ++++ entities/chicken/run/chicken_run11.png | Bin 0 -> 862 bytes entities/chicken/run/chicken_run11.png.import | 35 ++++ entities/chicken/run/chicken_run12.png | Bin 0 -> 841 bytes entities/chicken/run/chicken_run12.png.import | 35 ++++ entities/chicken/run/chicken_run13.png | Bin 0 -> 1026 bytes entities/chicken/run/chicken_run13.png.import | 35 ++++ entities/chicken/run/chicken_run14.png | Bin 0 -> 1026 bytes entities/chicken/run/chicken_run14.png.import | 35 ++++ entities/chicken/run/chicken_run2.png | Bin 0 -> 787 bytes entities/chicken/run/chicken_run2.png.import | 35 ++++ entities/chicken/run/chicken_run3.png | Bin 0 -> 787 bytes entities/chicken/run/chicken_run3.png.import | 35 ++++ entities/chicken/run/chicken_run4.png | Bin 0 -> 867 bytes entities/chicken/run/chicken_run4.png.import | 35 ++++ entities/chicken/run/chicken_run5.png | Bin 0 -> 840 bytes entities/chicken/run/chicken_run5.png.import | 35 ++++ entities/chicken/run/chicken_run6.png | Bin 0 -> 1039 bytes entities/chicken/run/chicken_run6.png.import | 35 ++++ entities/chicken/run/chicken_run7.png | Bin 0 -> 1039 bytes entities/chicken/run/chicken_run7.png.import | 35 ++++ entities/chicken/run/chicken_run8.png | Bin 0 -> 890 bytes entities/chicken/run/chicken_run8.png.import | 35 ++++ entities/chicken/run/chicken_run9.png | Bin 0 -> 781 bytes entities/chicken/run/chicken_run9.png.import | 35 ++++ entities/player/Player.gd | 61 ++++++ entities/player/Player.tscn | 248 ++++++++++++++++++++++++ 76 files changed, 1636 insertions(+), 150 deletions(-) delete mode 100644 entities/Player.gd delete mode 100644 entities/Player.tscn create mode 100644 entities/chicken/Hit (32x34).png create mode 100644 entities/chicken/Hit (32x34).png.import create mode 100644 entities/chicken/Idle (32x34).png create mode 100644 entities/chicken/Idle (32x34).png.import create mode 100644 entities/chicken/Run (32x34).png create mode 100644 entities/chicken/Run (32x34).png.import create mode 100644 entities/chicken/chicken.gd create mode 100644 entities/chicken/chicken.tscn create mode 100644 entities/chicken/hit/chicken_hit1.png create mode 100644 entities/chicken/hit/chicken_hit1.png.import create mode 100644 entities/chicken/hit/chicken_hit2.png create mode 100644 entities/chicken/hit/chicken_hit2.png.import create mode 100644 entities/chicken/hit/chicken_hit3.png create mode 100644 entities/chicken/hit/chicken_hit3.png.import create mode 100644 entities/chicken/hit/chicken_hit4.png create mode 100644 entities/chicken/hit/chicken_hit4.png.import create mode 100644 entities/chicken/hit/chicken_hit5.png create mode 100644 entities/chicken/hit/chicken_hit5.png.import create mode 100644 entities/chicken/idle/chicken_idle1.png create mode 100644 entities/chicken/idle/chicken_idle1.png.import create mode 100644 entities/chicken/idle/chicken_idle10.png create mode 100644 entities/chicken/idle/chicken_idle10.png.import create mode 100644 entities/chicken/idle/chicken_idle11.png create mode 100644 entities/chicken/idle/chicken_idle11.png.import create mode 100644 entities/chicken/idle/chicken_idle12.png create mode 100644 entities/chicken/idle/chicken_idle12.png.import create mode 100644 entities/chicken/idle/chicken_idle13.png create mode 100644 entities/chicken/idle/chicken_idle13.png.import create mode 100644 entities/chicken/idle/chicken_idle2.png create mode 100644 entities/chicken/idle/chicken_idle2.png.import create mode 100644 entities/chicken/idle/chicken_idle3.png create mode 100644 entities/chicken/idle/chicken_idle3.png.import create mode 100644 entities/chicken/idle/chicken_idle4.png create mode 100644 entities/chicken/idle/chicken_idle4.png.import create mode 100644 entities/chicken/idle/chicken_idle5.png create mode 100644 entities/chicken/idle/chicken_idle5.png.import create mode 100644 entities/chicken/idle/chicken_idle6.png create mode 100644 entities/chicken/idle/chicken_idle6.png.import create mode 100644 entities/chicken/idle/chicken_idle7.png create mode 100644 entities/chicken/idle/chicken_idle7.png.import create mode 100644 entities/chicken/idle/chicken_idle8.png create mode 100644 entities/chicken/idle/chicken_idle8.png.import create mode 100644 entities/chicken/idle/chicken_idle9.png create mode 100644 entities/chicken/idle/chicken_idle9.png.import create mode 100644 entities/chicken/run/chicken_run1.png create mode 100644 entities/chicken/run/chicken_run1.png.import create mode 100644 entities/chicken/run/chicken_run10.png create mode 100644 entities/chicken/run/chicken_run10.png.import create mode 100644 entities/chicken/run/chicken_run11.png create mode 100644 entities/chicken/run/chicken_run11.png.import create mode 100644 entities/chicken/run/chicken_run12.png create mode 100644 entities/chicken/run/chicken_run12.png.import create mode 100644 entities/chicken/run/chicken_run13.png create mode 100644 entities/chicken/run/chicken_run13.png.import create mode 100644 entities/chicken/run/chicken_run14.png create mode 100644 entities/chicken/run/chicken_run14.png.import create mode 100644 entities/chicken/run/chicken_run2.png create mode 100644 entities/chicken/run/chicken_run2.png.import create mode 100644 entities/chicken/run/chicken_run3.png create mode 100644 entities/chicken/run/chicken_run3.png.import create mode 100644 entities/chicken/run/chicken_run4.png create mode 100644 entities/chicken/run/chicken_run4.png.import create mode 100644 entities/chicken/run/chicken_run5.png create mode 100644 entities/chicken/run/chicken_run5.png.import create mode 100644 entities/chicken/run/chicken_run6.png create mode 100644 entities/chicken/run/chicken_run6.png.import create mode 100644 entities/chicken/run/chicken_run7.png create mode 100644 entities/chicken/run/chicken_run7.png.import create mode 100644 entities/chicken/run/chicken_run8.png create mode 100644 entities/chicken/run/chicken_run8.png.import create mode 100644 entities/chicken/run/chicken_run9.png create mode 100644 entities/chicken/run/chicken_run9.png.import create mode 100644 entities/player/Player.gd create mode 100644 entities/player/Player.tscn (limited to 'entities') diff --git a/entities/Player.gd b/entities/Player.gd deleted file mode 100644 index 5804af8..0000000 --- a/entities/Player.gd +++ /dev/null @@ -1,45 +0,0 @@ -extends KinematicBody2D - -export (int) var run_speed = 200 -export (int) var jump_speed = -400 -export (int) var gravity = 1200 -export var entity_type = "PLAYER" -export (int) var health = 90 -var velocity = Vector2() -var jumping = false -onready var sprite = $AnimatedSprite -var facing_right = true -func get_input(): - velocity.x = 0 - var right = Input.is_action_pressed('right') - var left = Input.is_action_pressed('left') - var jump = Input.is_action_just_pressed('jump') - - if facing_right == true: - sprite.flip_h = false - else: - sprite.flip_h = true - - - if jump and is_on_floor(): - jumping = true - velocity.y = jump_speed - if right: - velocity.x += run_speed - facing_right = true - $AnimatedSprite.play("run") - elif left: - velocity.x -= run_speed - facing_right = false - $AnimatedSprite.play("run") - else: - $AnimatedSprite.play("idle") - - if !jumping && !is_on_floor(): - $AnimatedSprite.play("jump") -func _physics_process(delta): - get_input() - velocity.y += gravity * delta - if jumping and is_on_floor(): - jumping = false - velocity = move_and_slide(velocity, Vector2(0, -1)) diff --git a/entities/Player.tscn b/entities/Player.tscn deleted file mode 100644 index a5d1f7e..0000000 --- a/entities/Player.tscn +++ /dev/null @@ -1,105 +0,0 @@ -[gd_scene load_steps=47 format=2] - -[ext_resource path="res://pinkman/idle/idle7.png" type="Texture" id=1] -[ext_resource path="res://pinkman/double-jump/double_jump1.png" type="Texture" id=2] -[ext_resource path="res://pinkman/double-jump/double_jump5.png" type="Texture" id=3] -[ext_resource path="res://pinkman/idle/idle11.png" type="Texture" id=4] -[ext_resource path="res://pinkman/idle/idle8.png" type="Texture" id=5] -[ext_resource path="res://pinkman/idle/idle10.png" type="Texture" id=6] -[ext_resource path="res://pinkman/double-jump/double_jump3.png" type="Texture" id=7] -[ext_resource path="res://pinkman/idle/idle9.png" type="Texture" id=8] -[ext_resource path="res://pinkman/double-jump/double_jump6.png" type="Texture" id=9] -[ext_resource path="res://pinkman/double-jump/double_jump2.png" type="Texture" id=10] -[ext_resource path="res://pinkman/double-jump/double_jump4.png" type="Texture" id=11] -[ext_resource path="res://pinkman/idle/idle6.png" type="Texture" id=12] -[ext_resource path="res://pinkman/idle/idle1.png" type="Texture" id=13] -[ext_resource path="res://pinkman/idle/idle2.png" type="Texture" id=14] -[ext_resource path="res://pinkman/idle/idle3.png" type="Texture" id=15] -[ext_resource path="res://pinkman/idle/idle4.png" type="Texture" id=16] -[ext_resource path="res://pinkman/idle/idle5.png" type="Texture" id=17] -[ext_resource path="res://pinkman/wall-jump/wall-jump3.png" type="Texture" id=18] -[ext_resource path="res://pinkman/wall-jump/wall-jump5.png" type="Texture" id=19] -[ext_resource path="res://pinkman/wall-jump/wall-jump4.png" type="Texture" id=20] -[ext_resource path="res://pinkman/run/run9.png" type="Texture" id=21] -[ext_resource path="res://pinkman/run/run6.png" type="Texture" id=22] -[ext_resource path="res://pinkman/hit/hit2.png" type="Texture" id=23] -[ext_resource path="res://pinkman/run/run7.png" type="Texture" id=24] -[ext_resource path="res://pinkman/hit/hit6.png" type="Texture" id=25] -[ext_resource path="res://pinkman/run/run11.png" type="Texture" id=26] -[ext_resource path="res://pinkman/wall-jump/wall-jump1.png" type="Texture" id=27] -[ext_resource path="res://pinkman/jump/jump.png" type="Texture" id=28] -[ext_resource path="res://pinkman/wall-jump/wall-jump2.png" type="Texture" id=29] -[ext_resource path="res://pinkman/fall/fall.png" type="Texture" id=30] -[ext_resource path="res://pinkman/hit/hit1.png" type="Texture" id=31] -[ext_resource path="res://pinkman/run/run3.png" type="Texture" id=32] -[ext_resource path="res://pinkman/hit/hit4.png" type="Texture" id=33] -[ext_resource path="res://pinkman/run/run10.png" type="Texture" id=34] -[ext_resource path="res://pinkman/run/run5.png" type="Texture" id=35] -[ext_resource path="res://pinkman/run/run12.png" type="Texture" id=36] -[ext_resource path="res://pinkman/hit/hit5.png" type="Texture" id=37] -[ext_resource path="res://pinkman/run/run4.png" type="Texture" id=38] -[ext_resource path="res://pinkman/run/run1.png" type="Texture" id=39] -[ext_resource path="res://pinkman/hit/hit3.png" type="Texture" id=40] -[ext_resource path="res://pinkman/hit/hit7.png" type="Texture" id=41] -[ext_resource path="res://pinkman/run/run2.png" type="Texture" id=42] -[ext_resource path="res://pinkman/run/run8.png" type="Texture" id=43] -[ext_resource path="res://entities/Player.gd" type="Script" id=44] - -[sub_resource type="CapsuleShape2D" id=2] -height = 8.0 - -[sub_resource type="SpriteFrames" id=1] -animations = [ { -"frames": [ ExtResource( 13 ), ExtResource( 14 ), ExtResource( 15 ), ExtResource( 16 ), ExtResource( 17 ), ExtResource( 12 ), ExtResource( 1 ), ExtResource( 5 ), ExtResource( 8 ), ExtResource( 6 ), ExtResource( 4 ) ], -"loop": true, -"name": "idle", -"speed": 25.0 -}, { -"frames": [ ExtResource( 27 ), ExtResource( 29 ), ExtResource( 18 ), ExtResource( 20 ), ExtResource( 19 ) ], -"loop": true, -"name": "wall_jump", -"speed": 25.0 -}, { -"frames": [ ExtResource( 30 ) ], -"loop": true, -"name": "fall", -"speed": 5.0 -}, { -"frames": [ ExtResource( 2 ), ExtResource( 10 ), ExtResource( 7 ), ExtResource( 11 ), ExtResource( 3 ), ExtResource( 9 ) ], -"loop": true, -"name": "double_jump", -"speed": 25.0 -}, { -"frames": [ ExtResource( 31 ), ExtResource( 23 ), ExtResource( 40 ), ExtResource( 33 ), ExtResource( 37 ), ExtResource( 25 ), ExtResource( 41 ) ], -"loop": true, -"name": "hit", -"speed": 5.0 -}, { -"frames": [ ExtResource( 28 ) ], -"loop": true, -"name": "jump", -"speed": 5.0 -}, { -"frames": [ ExtResource( 39 ), ExtResource( 42 ), ExtResource( 32 ), ExtResource( 38 ), ExtResource( 35 ), ExtResource( 22 ), ExtResource( 24 ), ExtResource( 43 ), ExtResource( 21 ), ExtResource( 34 ), ExtResource( 26 ), ExtResource( 36 ) ], -"loop": true, -"name": "run", -"speed": 25.0 -} ] - -[node name="Player" type="KinematicBody2D"] -z_index = 1 -script = ExtResource( 44 ) - -[node name="CollisionShape2D" type="CollisionShape2D" parent="."] -position = Vector2( 0, 2 ) -shape = SubResource( 2 ) - -[node name="Area2D" type="Area2D" parent="."] - -[node name="CollisionShape2D2" type="CollisionShape2D" parent="Area2D"] -position = Vector2( 0, 2 ) -shape = SubResource( 2 ) - -[node name="AnimatedSprite" type="AnimatedSprite" parent="."] -frames = SubResource( 1 ) -animation = "idle" diff --git a/entities/chicken/Hit (32x34).png b/entities/chicken/Hit (32x34).png new file mode 100644 index 0000000..e07013f Binary files /dev/null and b/entities/chicken/Hit (32x34).png differ diff --git a/entities/chicken/Hit (32x34).png.import b/entities/chicken/Hit (32x34).png.import new file mode 100644 index 0000000..9b30713 --- /dev/null +++ b/entities/chicken/Hit (32x34).png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Hit (32x34).png-732fd1d0690b71ac82d22221aba2f5ad.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/Hit (32x34).png" +dest_files=[ "res://.import/Hit (32x34).png-732fd1d0690b71ac82d22221aba2f5ad.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/Idle (32x34).png b/entities/chicken/Idle (32x34).png new file mode 100644 index 0000000..90ed02e Binary files /dev/null and b/entities/chicken/Idle (32x34).png differ diff --git a/entities/chicken/Idle (32x34).png.import b/entities/chicken/Idle (32x34).png.import new file mode 100644 index 0000000..8b808b8 --- /dev/null +++ b/entities/chicken/Idle (32x34).png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Idle (32x34).png-e4e3d07dda254934514d8a3ce37efdd6.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/Idle (32x34).png" +dest_files=[ "res://.import/Idle (32x34).png-e4e3d07dda254934514d8a3ce37efdd6.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/Run (32x34).png b/entities/chicken/Run (32x34).png new file mode 100644 index 0000000..dc06bfa Binary files /dev/null and b/entities/chicken/Run (32x34).png differ diff --git a/entities/chicken/Run (32x34).png.import b/entities/chicken/Run (32x34).png.import new file mode 100644 index 0000000..39d4726 --- /dev/null +++ b/entities/chicken/Run (32x34).png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Run (32x34).png-46fb23496f7fbe5ff034989409629207.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/Run (32x34).png" +dest_files=[ "res://.import/Run (32x34).png-46fb23496f7fbe5ff034989409629207.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/chicken.gd b/entities/chicken/chicken.gd new file mode 100644 index 0000000..2ab309d --- /dev/null +++ b/entities/chicken/chicken.gd @@ -0,0 +1,26 @@ +extends KinematicBody2D +const UP = Vector2(0, -1) +const GRAVITY = 1200 +const SPEED = 200 +const health = 10 +var motion = Vector2() +var left = Vector2(-1, 0) +var right = Vector2(1, 0) +var direction = left +onready var sprite = $AnimatedSprite +func _physics_process(delta): + motion.y += GRAVITY * delta + motion.x = direction.x * SPEED + motion = move_and_slide(motion, UP) + $AnimatedSprite.play("run") + if is_on_wall(): + if direction == left: + sprite.flip_h = true + direction = right + elif direction == right: + sprite.flip_h = false + direction = left + for index in get_slide_count(): + var collision = get_slide_collision(index) + if collision.collider.is_in_group("player"): + SignalBus.emit_signal("on_hit",health) diff --git a/entities/chicken/chicken.tscn b/entities/chicken/chicken.tscn new file mode 100644 index 0000000..23cd9ad --- /dev/null +++ b/entities/chicken/chicken.tscn @@ -0,0 +1,76 @@ +[gd_scene load_steps=37 format=2] + +[ext_resource path="res://entities/chicken/hit/chicken_hit2.png" type="Texture" id=1] +[ext_resource path="res://entities/chicken/idle/chicken_idle1.png" type="Texture" id=2] +[ext_resource path="res://entities/chicken/idle/chicken_idle7.png" type="Texture" id=3] +[ext_resource path="res://entities/chicken/idle/chicken_idle2.png" type="Texture" id=4] +[ext_resource path="res://entities/chicken/hit/chicken_hit3.png" type="Texture" id=5] +[ext_resource path="res://entities/chicken/hit/chicken_hit4.png" type="Texture" id=6] +[ext_resource path="res://entities/chicken/idle/chicken_idle4.png" type="Texture" id=7] +[ext_resource path="res://entities/chicken/idle/chicken_idle11.png" type="Texture" id=8] +[ext_resource path="res://entities/chicken/idle/chicken_idle8.png" type="Texture" id=9] +[ext_resource path="res://entities/chicken/idle/chicken_idle3.png" type="Texture" id=10] +[ext_resource path="res://entities/chicken/idle/chicken_idle6.png" type="Texture" id=11] +[ext_resource path="res://entities/chicken/idle/chicken_idle9.png" type="Texture" id=12] +[ext_resource path="res://entities/chicken/idle/chicken_idle5.png" type="Texture" id=13] +[ext_resource path="res://entities/chicken/idle/chicken_idle10.png" type="Texture" id=14] +[ext_resource path="res://entities/chicken/idle/chicken_idle13.png" type="Texture" id=15] +[ext_resource path="res://entities/chicken/idle/chicken_idle12.png" type="Texture" id=16] +[ext_resource path="res://entities/chicken/hit/chicken_hit1.png" type="Texture" id=17] +[ext_resource path="res://entities/chicken/hit/chicken_hit5.png" type="Texture" id=18] +[ext_resource path="res://entities/chicken/run/chicken_run4.png" type="Texture" id=19] +[ext_resource path="res://entities/chicken/run/chicken_run5.png" type="Texture" id=20] +[ext_resource path="res://entities/chicken/run/chicken_run7.png" type="Texture" id=21] +[ext_resource path="res://entities/chicken/run/chicken_run12.png" type="Texture" id=22] +[ext_resource path="res://entities/chicken/run/chicken_run1.png" type="Texture" id=23] +[ext_resource path="res://entities/chicken/run/chicken_run11.png" type="Texture" id=24] +[ext_resource path="res://entities/chicken/run/chicken_run3.png" type="Texture" id=25] +[ext_resource path="res://entities/chicken/run/chicken_run6.png" type="Texture" id=26] +[ext_resource path="res://entities/chicken/run/chicken_run8.png" type="Texture" id=27] +[ext_resource path="res://entities/chicken/run/chicken_run9.png" type="Texture" id=28] +[ext_resource path="res://entities/chicken/run/chicken_run13.png" type="Texture" id=29] +[ext_resource path="res://entities/chicken/run/chicken_run2.png" type="Texture" id=30] +[ext_resource path="res://entities/chicken/run/chicken_run10.png" type="Texture" id=31] +[ext_resource path="res://entities/chicken/run/chicken_run14.png" type="Texture" id=32] +[ext_resource path="res://entities/chicken/chicken.gd" type="Script" id=33] + +[sub_resource type="SpriteFrames" id=1] +animations = [ { +"frames": [ ExtResource( 2 ), ExtResource( 4 ), ExtResource( 10 ), ExtResource( 7 ), ExtResource( 13 ), ExtResource( 11 ), ExtResource( 3 ), ExtResource( 9 ), ExtResource( 12 ), ExtResource( 14 ), ExtResource( 8 ), ExtResource( 16 ), ExtResource( 15 ) ], +"loop": true, +"name": "idle", +"speed": 25.0 +}, { +"frames": [ ExtResource( 17 ), ExtResource( 1 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 18 ) ], +"loop": true, +"name": "hit", +"speed": 25.0 +}, { +"frames": [ ExtResource( 23 ), ExtResource( 30 ), ExtResource( 25 ), ExtResource( 19 ), ExtResource( 20 ), ExtResource( 26 ), ExtResource( 21 ), ExtResource( 27 ), ExtResource( 28 ), ExtResource( 31 ), ExtResource( 24 ), ExtResource( 22 ), ExtResource( 29 ), ExtResource( 32 ) ], +"loop": true, +"name": "run", +"speed": 25.0 +} ] + +[sub_resource type="RectangleShape2D" id=3] +extents = Vector2( 13, 14.5 ) + +[sub_resource type="RectangleShape2D" id=2] +extents = Vector2( 13, 14.5 ) + +[node name="Chicken" type="KinematicBody2D"] +script = ExtResource( 33 ) + +[node name="AnimatedSprite" type="AnimatedSprite" parent="."] +frames = SubResource( 1 ) +animation = "run" + +[node name="Area2D" type="Area2D" parent="AnimatedSprite"] + +[node name="CollisionShape2D" type="CollisionShape2D" parent="AnimatedSprite/Area2D"] +position = Vector2( 0, 0.5 ) +shape = SubResource( 3 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +position = Vector2( 0, 0.5 ) +shape = SubResource( 2 ) diff --git a/entities/chicken/hit/chicken_hit1.png b/entities/chicken/hit/chicken_hit1.png new file mode 100644 index 0000000..00fb634 Binary files /dev/null and b/entities/chicken/hit/chicken_hit1.png differ diff --git a/entities/chicken/hit/chicken_hit1.png.import b/entities/chicken/hit/chicken_hit1.png.import new file mode 100644 index 0000000..f07aec2 --- /dev/null +++ b/entities/chicken/hit/chicken_hit1.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_hit1.png-8d41f4f93553e79ada71205a67aa00c7.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/hit/chicken_hit1.png" +dest_files=[ "res://.import/chicken_hit1.png-8d41f4f93553e79ada71205a67aa00c7.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/hit/chicken_hit2.png b/entities/chicken/hit/chicken_hit2.png new file mode 100644 index 0000000..00fb634 Binary files /dev/null and b/entities/chicken/hit/chicken_hit2.png differ diff --git a/entities/chicken/hit/chicken_hit2.png.import b/entities/chicken/hit/chicken_hit2.png.import new file mode 100644 index 0000000..75af3b6 --- /dev/null +++ b/entities/chicken/hit/chicken_hit2.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_hit2.png-04aa05a079f927bf40d35ea4d3dc09cc.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/hit/chicken_hit2.png" +dest_files=[ "res://.import/chicken_hit2.png-04aa05a079f927bf40d35ea4d3dc09cc.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/hit/chicken_hit3.png b/entities/chicken/hit/chicken_hit3.png new file mode 100644 index 0000000..09f0da4 Binary files /dev/null and b/entities/chicken/hit/chicken_hit3.png differ diff --git a/entities/chicken/hit/chicken_hit3.png.import b/entities/chicken/hit/chicken_hit3.png.import new file mode 100644 index 0000000..f87bb13 --- /dev/null +++ b/entities/chicken/hit/chicken_hit3.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_hit3.png-c18cae0836c1b0b01a43f89d64367a7a.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/hit/chicken_hit3.png" +dest_files=[ "res://.import/chicken_hit3.png-c18cae0836c1b0b01a43f89d64367a7a.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/hit/chicken_hit4.png b/entities/chicken/hit/chicken_hit4.png new file mode 100644 index 0000000..85573ee Binary files /dev/null and b/entities/chicken/hit/chicken_hit4.png differ diff --git a/entities/chicken/hit/chicken_hit4.png.import b/entities/chicken/hit/chicken_hit4.png.import new file mode 100644 index 0000000..453a90c --- /dev/null +++ b/entities/chicken/hit/chicken_hit4.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_hit4.png-0c41a5a4cd3597696684714bffaa7347.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/hit/chicken_hit4.png" +dest_files=[ "res://.import/chicken_hit4.png-0c41a5a4cd3597696684714bffaa7347.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/hit/chicken_hit5.png b/entities/chicken/hit/chicken_hit5.png new file mode 100644 index 0000000..a46412f Binary files /dev/null and b/entities/chicken/hit/chicken_hit5.png differ diff --git a/entities/chicken/hit/chicken_hit5.png.import b/entities/chicken/hit/chicken_hit5.png.import new file mode 100644 index 0000000..c56ddd5 --- /dev/null +++ b/entities/chicken/hit/chicken_hit5.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_hit5.png-a69586c36c55262851e56cbedb0495d9.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/hit/chicken_hit5.png" +dest_files=[ "res://.import/chicken_hit5.png-a69586c36c55262851e56cbedb0495d9.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/idle/chicken_idle1.png b/entities/chicken/idle/chicken_idle1.png new file mode 100644 index 0000000..75567ce Binary files /dev/null and b/entities/chicken/idle/chicken_idle1.png differ diff --git a/entities/chicken/idle/chicken_idle1.png.import b/entities/chicken/idle/chicken_idle1.png.import new file mode 100644 index 0000000..ad29acf --- /dev/null +++ b/entities/chicken/idle/chicken_idle1.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle1.png-bae799c1775d8303142102038839413b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle1.png" +dest_files=[ "res://.import/chicken_idle1.png-bae799c1775d8303142102038839413b.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/idle/chicken_idle10.png b/entities/chicken/idle/chicken_idle10.png new file mode 100644 index 0000000..62d99eb Binary files /dev/null and b/entities/chicken/idle/chicken_idle10.png differ diff --git a/entities/chicken/idle/chicken_idle10.png.import b/entities/chicken/idle/chicken_idle10.png.import new file mode 100644 index 0000000..b5ad7fa --- /dev/null +++ b/entities/chicken/idle/chicken_idle10.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle10.png-8e142ad65369232903864ee38abc82cc.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle10.png" +dest_files=[ "res://.import/chicken_idle10.png-8e142ad65369232903864ee38abc82cc.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/idle/chicken_idle11.png b/entities/chicken/idle/chicken_idle11.png new file mode 100644 index 0000000..62d99eb Binary files /dev/null and b/entities/chicken/idle/chicken_idle11.png differ diff --git a/entities/chicken/idle/chicken_idle11.png.import b/entities/chicken/idle/chicken_idle11.png.import new file mode 100644 index 0000000..7bfbc82 --- /dev/null +++ b/entities/chicken/idle/chicken_idle11.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle11.png-54efe339c39d739c5ed4853427a96c4b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle11.png" +dest_files=[ "res://.import/chicken_idle11.png-54efe339c39d739c5ed4853427a96c4b.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/idle/chicken_idle12.png b/entities/chicken/idle/chicken_idle12.png new file mode 100644 index 0000000..62d99eb Binary files /dev/null and b/entities/chicken/idle/chicken_idle12.png differ diff --git a/entities/chicken/idle/chicken_idle12.png.import b/entities/chicken/idle/chicken_idle12.png.import new file mode 100644 index 0000000..90cc295 --- /dev/null +++ b/entities/chicken/idle/chicken_idle12.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle12.png-eb9b7dafe5b7f9b1dc9e1ad382c1a982.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle12.png" +dest_files=[ "res://.import/chicken_idle12.png-eb9b7dafe5b7f9b1dc9e1ad382c1a982.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/idle/chicken_idle13.png b/entities/chicken/idle/chicken_idle13.png new file mode 100644 index 0000000..5afdbe1 Binary files /dev/null and b/entities/chicken/idle/chicken_idle13.png differ diff --git a/entities/chicken/idle/chicken_idle13.png.import b/entities/chicken/idle/chicken_idle13.png.import new file mode 100644 index 0000000..db214ec --- /dev/null +++ b/entities/chicken/idle/chicken_idle13.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle13.png-529b2cd3b1d90c2efe445f6d9d676d1b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle13.png" +dest_files=[ "res://.import/chicken_idle13.png-529b2cd3b1d90c2efe445f6d9d676d1b.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/idle/chicken_idle2.png b/entities/chicken/idle/chicken_idle2.png new file mode 100644 index 0000000..91c9e94 Binary files /dev/null and b/entities/chicken/idle/chicken_idle2.png differ diff --git a/entities/chicken/idle/chicken_idle2.png.import b/entities/chicken/idle/chicken_idle2.png.import new file mode 100644 index 0000000..39fa82c --- /dev/null +++ b/entities/chicken/idle/chicken_idle2.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle2.png-026e3ab3763f57e87e25326f5ce7b13d.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle2.png" +dest_files=[ "res://.import/chicken_idle2.png-026e3ab3763f57e87e25326f5ce7b13d.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/idle/chicken_idle3.png b/entities/chicken/idle/chicken_idle3.png new file mode 100644 index 0000000..f8b23e8 Binary files /dev/null and b/entities/chicken/idle/chicken_idle3.png differ diff --git a/entities/chicken/idle/chicken_idle3.png.import b/entities/chicken/idle/chicken_idle3.png.import new file mode 100644 index 0000000..24bd851 --- /dev/null +++ b/entities/chicken/idle/chicken_idle3.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle3.png-efce26f584e15ddfb66ab7a57efdb9d1.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle3.png" +dest_files=[ "res://.import/chicken_idle3.png-efce26f584e15ddfb66ab7a57efdb9d1.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/idle/chicken_idle4.png b/entities/chicken/idle/chicken_idle4.png new file mode 100644 index 0000000..c344689 Binary files /dev/null and b/entities/chicken/idle/chicken_idle4.png differ diff --git a/entities/chicken/idle/chicken_idle4.png.import b/entities/chicken/idle/chicken_idle4.png.import new file mode 100644 index 0000000..31b4afd --- /dev/null +++ b/entities/chicken/idle/chicken_idle4.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle4.png-0c5ca41783656381298cf5d4b1cdf0f6.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle4.png" +dest_files=[ "res://.import/chicken_idle4.png-0c5ca41783656381298cf5d4b1cdf0f6.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/idle/chicken_idle5.png b/entities/chicken/idle/chicken_idle5.png new file mode 100644 index 0000000..c344689 Binary files /dev/null and b/entities/chicken/idle/chicken_idle5.png differ diff --git a/entities/chicken/idle/chicken_idle5.png.import b/entities/chicken/idle/chicken_idle5.png.import new file mode 100644 index 0000000..6b65b8a --- /dev/null +++ b/entities/chicken/idle/chicken_idle5.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle5.png-73905222827dd5a9b371a320b43d7c0c.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle5.png" +dest_files=[ "res://.import/chicken_idle5.png-73905222827dd5a9b371a320b43d7c0c.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/idle/chicken_idle6.png b/entities/chicken/idle/chicken_idle6.png new file mode 100644 index 0000000..74a0689 Binary files /dev/null and b/entities/chicken/idle/chicken_idle6.png differ diff --git a/entities/chicken/idle/chicken_idle6.png.import b/entities/chicken/idle/chicken_idle6.png.import new file mode 100644 index 0000000..5210116 --- /dev/null +++ b/entities/chicken/idle/chicken_idle6.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle6.png-0680476a27b5b2d4629f33338c0edfa5.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle6.png" +dest_files=[ "res://.import/chicken_idle6.png-0680476a27b5b2d4629f33338c0edfa5.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/idle/chicken_idle7.png b/entities/chicken/idle/chicken_idle7.png new file mode 100644 index 0000000..ba001a2 Binary files /dev/null and b/entities/chicken/idle/chicken_idle7.png differ diff --git a/entities/chicken/idle/chicken_idle7.png.import b/entities/chicken/idle/chicken_idle7.png.import new file mode 100644 index 0000000..29c6802 --- /dev/null +++ b/entities/chicken/idle/chicken_idle7.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle7.png-00503ca2f8f4a9e25229c37bbdc64fd8.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle7.png" +dest_files=[ "res://.import/chicken_idle7.png-00503ca2f8f4a9e25229c37bbdc64fd8.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/idle/chicken_idle8.png b/entities/chicken/idle/chicken_idle8.png new file mode 100644 index 0000000..d292296 Binary files /dev/null and b/entities/chicken/idle/chicken_idle8.png differ diff --git a/entities/chicken/idle/chicken_idle8.png.import b/entities/chicken/idle/chicken_idle8.png.import new file mode 100644 index 0000000..99dbf45 --- /dev/null +++ b/entities/chicken/idle/chicken_idle8.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle8.png-e6cedb50308721c91c5fd5675119fceb.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle8.png" +dest_files=[ "res://.import/chicken_idle8.png-e6cedb50308721c91c5fd5675119fceb.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/idle/chicken_idle9.png b/entities/chicken/idle/chicken_idle9.png new file mode 100644 index 0000000..20a56b3 Binary files /dev/null and b/entities/chicken/idle/chicken_idle9.png differ diff --git a/entities/chicken/idle/chicken_idle9.png.import b/entities/chicken/idle/chicken_idle9.png.import new file mode 100644 index 0000000..d0fb2df --- /dev/null +++ b/entities/chicken/idle/chicken_idle9.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_idle9.png-f9ded328a4510f13a3a31f9d406ff1cd.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/idle/chicken_idle9.png" +dest_files=[ "res://.import/chicken_idle9.png-f9ded328a4510f13a3a31f9d406ff1cd.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/run/chicken_run1.png b/entities/chicken/run/chicken_run1.png new file mode 100644 index 0000000..91cd9dd Binary files /dev/null and b/entities/chicken/run/chicken_run1.png differ diff --git a/entities/chicken/run/chicken_run1.png.import b/entities/chicken/run/chicken_run1.png.import new file mode 100644 index 0000000..8c02710 --- /dev/null +++ b/entities/chicken/run/chicken_run1.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run1.png-a343d1f81fa023e053955eeb272a0ad9.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run1.png" +dest_files=[ "res://.import/chicken_run1.png-a343d1f81fa023e053955eeb272a0ad9.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/run/chicken_run10.png b/entities/chicken/run/chicken_run10.png new file mode 100644 index 0000000..a6e9723 Binary files /dev/null and b/entities/chicken/run/chicken_run10.png differ diff --git a/entities/chicken/run/chicken_run10.png.import b/entities/chicken/run/chicken_run10.png.import new file mode 100644 index 0000000..d48a242 --- /dev/null +++ b/entities/chicken/run/chicken_run10.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run10.png-e71d8caf63a5acd00282ff123b386ec4.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run10.png" +dest_files=[ "res://.import/chicken_run10.png-e71d8caf63a5acd00282ff123b386ec4.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/run/chicken_run11.png b/entities/chicken/run/chicken_run11.png new file mode 100644 index 0000000..de0d559 Binary files /dev/null and b/entities/chicken/run/chicken_run11.png differ diff --git a/entities/chicken/run/chicken_run11.png.import b/entities/chicken/run/chicken_run11.png.import new file mode 100644 index 0000000..18c57f5 --- /dev/null +++ b/entities/chicken/run/chicken_run11.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run11.png-f01ca12a009d6128e841e21383757dab.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run11.png" +dest_files=[ "res://.import/chicken_run11.png-f01ca12a009d6128e841e21383757dab.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/run/chicken_run12.png b/entities/chicken/run/chicken_run12.png new file mode 100644 index 0000000..9abee7c Binary files /dev/null and b/entities/chicken/run/chicken_run12.png differ diff --git a/entities/chicken/run/chicken_run12.png.import b/entities/chicken/run/chicken_run12.png.import new file mode 100644 index 0000000..ab1a503 --- /dev/null +++ b/entities/chicken/run/chicken_run12.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run12.png-29d6cf214af37cbbbf14a7e9faf00437.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run12.png" +dest_files=[ "res://.import/chicken_run12.png-29d6cf214af37cbbbf14a7e9faf00437.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/run/chicken_run13.png b/entities/chicken/run/chicken_run13.png new file mode 100644 index 0000000..5de8962 Binary files /dev/null and b/entities/chicken/run/chicken_run13.png differ diff --git a/entities/chicken/run/chicken_run13.png.import b/entities/chicken/run/chicken_run13.png.import new file mode 100644 index 0000000..3868138 --- /dev/null +++ b/entities/chicken/run/chicken_run13.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run13.png-c3f3a4af3be747e1158feb427bd4d1aa.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run13.png" +dest_files=[ "res://.import/chicken_run13.png-c3f3a4af3be747e1158feb427bd4d1aa.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/run/chicken_run14.png b/entities/chicken/run/chicken_run14.png new file mode 100644 index 0000000..5de8962 Binary files /dev/null and b/entities/chicken/run/chicken_run14.png differ diff --git a/entities/chicken/run/chicken_run14.png.import b/entities/chicken/run/chicken_run14.png.import new file mode 100644 index 0000000..87a2081 --- /dev/null +++ b/entities/chicken/run/chicken_run14.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run14.png-d2f26a0657ea27a900295a395ac66032.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run14.png" +dest_files=[ "res://.import/chicken_run14.png-d2f26a0657ea27a900295a395ac66032.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/run/chicken_run2.png b/entities/chicken/run/chicken_run2.png new file mode 100644 index 0000000..14a0673 Binary files /dev/null and b/entities/chicken/run/chicken_run2.png differ diff --git a/entities/chicken/run/chicken_run2.png.import b/entities/chicken/run/chicken_run2.png.import new file mode 100644 index 0000000..c56cf89 --- /dev/null +++ b/entities/chicken/run/chicken_run2.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run2.png-f280e81134e7fa7198c63645279a59b0.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run2.png" +dest_files=[ "res://.import/chicken_run2.png-f280e81134e7fa7198c63645279a59b0.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/run/chicken_run3.png b/entities/chicken/run/chicken_run3.png new file mode 100644 index 0000000..14a0673 Binary files /dev/null and b/entities/chicken/run/chicken_run3.png differ diff --git a/entities/chicken/run/chicken_run3.png.import b/entities/chicken/run/chicken_run3.png.import new file mode 100644 index 0000000..98bfc3d --- /dev/null +++ b/entities/chicken/run/chicken_run3.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run3.png-042f05b993093f7ec103984f43a19714.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run3.png" +dest_files=[ "res://.import/chicken_run3.png-042f05b993093f7ec103984f43a19714.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/run/chicken_run4.png b/entities/chicken/run/chicken_run4.png new file mode 100644 index 0000000..23c12e2 Binary files /dev/null and b/entities/chicken/run/chicken_run4.png differ diff --git a/entities/chicken/run/chicken_run4.png.import b/entities/chicken/run/chicken_run4.png.import new file mode 100644 index 0000000..14a60b2 --- /dev/null +++ b/entities/chicken/run/chicken_run4.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run4.png-efdeabb441df21ba19cfdbacb1e3cb70.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run4.png" +dest_files=[ "res://.import/chicken_run4.png-efdeabb441df21ba19cfdbacb1e3cb70.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/run/chicken_run5.png b/entities/chicken/run/chicken_run5.png new file mode 100644 index 0000000..7408115 Binary files /dev/null and b/entities/chicken/run/chicken_run5.png differ diff --git a/entities/chicken/run/chicken_run5.png.import b/entities/chicken/run/chicken_run5.png.import new file mode 100644 index 0000000..17f40a1 --- /dev/null +++ b/entities/chicken/run/chicken_run5.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run5.png-5405930f206575bde5d4ae7da0f7df71.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run5.png" +dest_files=[ "res://.import/chicken_run5.png-5405930f206575bde5d4ae7da0f7df71.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/run/chicken_run6.png b/entities/chicken/run/chicken_run6.png new file mode 100644 index 0000000..30beca5 Binary files /dev/null and b/entities/chicken/run/chicken_run6.png differ diff --git a/entities/chicken/run/chicken_run6.png.import b/entities/chicken/run/chicken_run6.png.import new file mode 100644 index 0000000..aaaf990 --- /dev/null +++ b/entities/chicken/run/chicken_run6.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run6.png-a2f278c6d9ab268121721da4b62a75e9.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run6.png" +dest_files=[ "res://.import/chicken_run6.png-a2f278c6d9ab268121721da4b62a75e9.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/run/chicken_run7.png b/entities/chicken/run/chicken_run7.png new file mode 100644 index 0000000..30beca5 Binary files /dev/null and b/entities/chicken/run/chicken_run7.png differ diff --git a/entities/chicken/run/chicken_run7.png.import b/entities/chicken/run/chicken_run7.png.import new file mode 100644 index 0000000..30323f1 --- /dev/null +++ b/entities/chicken/run/chicken_run7.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run7.png-4e91a131add44f26fc62fdbba1b2250c.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run7.png" +dest_files=[ "res://.import/chicken_run7.png-4e91a131add44f26fc62fdbba1b2250c.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/run/chicken_run8.png b/entities/chicken/run/chicken_run8.png new file mode 100644 index 0000000..e1ebee4 Binary files /dev/null and b/entities/chicken/run/chicken_run8.png differ diff --git a/entities/chicken/run/chicken_run8.png.import b/entities/chicken/run/chicken_run8.png.import new file mode 100644 index 0000000..702eb21 --- /dev/null +++ b/entities/chicken/run/chicken_run8.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run8.png-f22de58052feb8d76ec304b61927f371.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run8.png" +dest_files=[ "res://.import/chicken_run8.png-f22de58052feb8d76ec304b61927f371.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/chicken/run/chicken_run9.png b/entities/chicken/run/chicken_run9.png new file mode 100644 index 0000000..a6e9723 Binary files /dev/null and b/entities/chicken/run/chicken_run9.png differ diff --git a/entities/chicken/run/chicken_run9.png.import b/entities/chicken/run/chicken_run9.png.import new file mode 100644 index 0000000..ecebfca --- /dev/null +++ b/entities/chicken/run/chicken_run9.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/chicken_run9.png-99c6ca34d63baafd6fbb44c7d5e43cc3.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/chicken/run/chicken_run9.png" +dest_files=[ "res://.import/chicken_run9.png-99c6ca34d63baafd6fbb44c7d5e43cc3.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/entities/player/Player.gd b/entities/player/Player.gd new file mode 100644 index 0000000..6087221 --- /dev/null +++ b/entities/player/Player.gd @@ -0,0 +1,61 @@ +extends KinematicBody2D + +export (int) var run_speed = 200 +export (int) var jump_speed = -400 +export (int) var gravity = 1200 +export var entity_type = "PLAYER" +export (int) var health = 90 +var hurt = false + +var velocity = Vector2() +var jumping = false +onready var sprite = $AnimatedSprite +var facing_right = true +func get_input(): + velocity.x = 0 + var right = Input.is_action_pressed('right') + var left = Input.is_action_pressed('left') + var jump = Input.is_action_just_pressed('jump') + + if facing_right == true: + sprite.flip_h = false + else: + sprite.flip_h = true + + + if jump and is_on_floor(): + jumping = true + velocity.y = jump_speed + if right: + velocity.x += run_speed + facing_right = true + play_animation("run") + elif left: + velocity.x -= run_speed + facing_right = false + play_animation("run") + else: + play_animation("idle") + + if !jumping && !is_on_floor(): + play_animation("jump") + +func _physics_process(delta): + get_input() + velocity.y += gravity * delta + if jumping and is_on_floor(): + jumping = false + velocity = move_and_slide(velocity, Vector2(0, -1)) + +func _on_enemyHit(health): + hurt = true + play_animation("hit") + +func _ready() -> void: + SignalBus.connect("on_hit", self, "_on_enemyHit") + +func play_animation(animation_name): + if $AnimatedSprite.get_animation()!=animation_name : + #$AnimatedSprite.play(animation_name) + #$AnimatedSprite/AnimationPlayer.stop() + $AnimatedSprite/AnimationPlayer.play(animation_name) diff --git a/entities/player/Player.tscn b/entities/player/Player.tscn new file mode 100644 index 0000000..26ade6f --- /dev/null +++ b/entities/player/Player.tscn @@ -0,0 +1,248 @@ +[gd_scene load_steps=52 format=2] + +[ext_resource path="res://pinkman/run/run7.png" type="Texture" id=1] +[ext_resource path="res://pinkman/double-jump/double_jump6.png" type="Texture" id=2] +[ext_resource path="res://pinkman/hit/hit6.png" type="Texture" id=3] +[ext_resource path="res://pinkman/idle/idle4.png" type="Texture" id=4] +[ext_resource path="res://pinkman/wall-jump/wall-jump2.png" type="Texture" id=5] +[ext_resource path="res://pinkman/fall/fall.png" type="Texture" id=6] +[ext_resource path="res://pinkman/hit/hit1.png" type="Texture" id=7] +[ext_resource path="res://pinkman/double-jump/double_jump1.png" type="Texture" id=8] +[ext_resource path="res://pinkman/idle/idle11.png" type="Texture" id=9] +[ext_resource path="res://pinkman/double-jump/double_jump3.png" type="Texture" id=10] +[ext_resource path="res://pinkman/run/run6.png" type="Texture" id=11] +[ext_resource path="res://pinkman/idle/idle1.png" type="Texture" id=12] +[ext_resource path="res://pinkman/idle/idle7.png" type="Texture" id=13] +[ext_resource path="res://pinkman/wall-jump/wall-jump5.png" type="Texture" id=14] +[ext_resource path="res://pinkman/wall-jump/wall-jump4.png" type="Texture" id=15] +[ext_resource path="res://pinkman/run/run11.png" type="Texture" id=16] +[ext_resource path="res://pinkman/wall-jump/wall-jump1.png" type="Texture" id=17] +[ext_resource path="res://pinkman/jump/jump.png" type="Texture" id=18] +[ext_resource path="res://pinkman/double-jump/double_jump2.png" type="Texture" id=19] +[ext_resource path="res://pinkman/idle/idle3.png" type="Texture" id=20] +[ext_resource path="res://pinkman/idle/idle9.png" type="Texture" id=21] +[ext_resource path="res://pinkman/idle/idle5.png" type="Texture" id=22] +[ext_resource path="res://pinkman/idle/idle6.png" type="Texture" id=23] +[ext_resource path="res://pinkman/double-jump/double_jump5.png" type="Texture" id=24] +[ext_resource path="res://pinkman/double-jump/double_jump4.png" type="Texture" id=25] +[ext_resource path="res://pinkman/run/run9.png" type="Texture" id=26] +[ext_resource path="res://pinkman/idle/idle8.png" type="Texture" id=27] +[ext_resource path="res://pinkman/idle/idle10.png" type="Texture" id=28] +[ext_resource path="res://pinkman/idle/idle2.png" type="Texture" id=29] +[ext_resource path="res://pinkman/wall-jump/wall-jump3.png" type="Texture" id=30] +[ext_resource path="res://pinkman/hit/hit2.png" type="Texture" id=31] +[ext_resource path="res://pinkman/run/run5.png" type="Texture" id=32] +[ext_resource path="res://pinkman/hit/hit3.png" type="Texture" id=33] +[ext_resource path="res://pinkman/run/run1.png" type="Texture" id=34] +[ext_resource path="res://pinkman/run/run8.png" type="Texture" id=35] +[ext_resource path="res://pinkman/hit/hit5.png" type="Texture" id=36] +[ext_resource path="res://pinkman/run/run10.png" type="Texture" id=37] +[ext_resource path="res://pinkman/hit/hit4.png" type="Texture" id=38] +[ext_resource path="res://pinkman/run/run2.png" type="Texture" id=39] +[ext_resource path="res://pinkman/run/run12.png" type="Texture" id=40] +[ext_resource path="res://pinkman/run/run3.png" type="Texture" id=41] +[ext_resource path="res://pinkman/hit/hit7.png" type="Texture" id=42] +[ext_resource path="res://pinkman/run/run4.png" type="Texture" id=43] +[ext_resource path="res://entities/player/Player.gd" type="Script" id=44] + +[sub_resource type="CapsuleShape2D" id=2] +height = 8.0 + +[sub_resource type="SpriteFrames" id=1] +animations = [ { +"frames": [ ExtResource( 12 ), ExtResource( 29 ), ExtResource( 20 ), ExtResource( 4 ), ExtResource( 22 ), ExtResource( 23 ), ExtResource( 13 ), ExtResource( 27 ), ExtResource( 21 ), ExtResource( 28 ), ExtResource( 9 ) ], +"loop": true, +"name": "idle", +"speed": 25.0 +}, { +"frames": [ ExtResource( 17 ), ExtResource( 5 ), ExtResource( 30 ), ExtResource( 15 ), ExtResource( 14 ) ], +"loop": true, +"name": "wall_jump", +"speed": 25.0 +}, { +"frames": [ ExtResource( 6 ) ], +"loop": true, +"name": "fall", +"speed": 5.0 +}, { +"frames": [ ExtResource( 8 ), ExtResource( 19 ), ExtResource( 10 ), ExtResource( 25 ), ExtResource( 24 ), ExtResource( 2 ) ], +"loop": true, +"name": "double_jump", +"speed": 25.0 +}, { +"frames": [ ExtResource( 7 ), ExtResource( 31 ), ExtResource( 33 ), ExtResource( 38 ), ExtResource( 36 ), ExtResource( 3 ), ExtResource( 42 ) ], +"loop": true, +"name": "hit", +"speed": 30.0 +}, { +"frames": [ ExtResource( 18 ) ], +"loop": true, +"name": "jump", +"speed": 5.0 +}, { +"frames": [ ExtResource( 34 ), ExtResource( 39 ), ExtResource( 41 ), ExtResource( 43 ), ExtResource( 32 ), ExtResource( 11 ), ExtResource( 1 ), ExtResource( 35 ), ExtResource( 26 ), ExtResource( 37 ), ExtResource( 16 ), ExtResource( 40 ) ], +"loop": true, +"name": "run", +"speed": 25.0 +} ] + +[sub_resource type="Animation" id=3] +length = 0.001 +tracks/0/type = "value" +tracks/0/path = NodePath(".:animation") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 0, +"values": [ "idle" ] +} +tracks/1/type = "value" +tracks/1/path = NodePath(".:frame") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 0, +"values": [ 0 ] +} + +[sub_resource type="Animation" id=7] +resource_name = "hit" +tracks/0/type = "value" +tracks/0/path = NodePath(".:animation") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ "hit" ] +} +tracks/1/type = "value" +tracks/1/path = NodePath(".:frame") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4, 0.5 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ), +"update": 1, +"values": [ 1, 2, 3, 4, 5, 6 ] +} + +[sub_resource type="Animation" id=4] +resource_name = "idle" +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath(".:animation") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ "idle" ] +} +tracks/1/type = "value" +tracks/1/path = NodePath(".:frame") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ), +"update": 1, +"values": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ] +} + +[sub_resource type="Animation" id=5] +resource_name = "jump" +tracks/0/type = "value" +tracks/0/path = NodePath(".:animation") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ "jump" ] +} +tracks/1/type = "value" +tracks/1/path = NodePath(".:frame") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ 0 ] +} + +[sub_resource type="Animation" id=6] +resource_name = "run" +tracks/0/type = "value" +tracks/0/path = NodePath(".:animation") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ "run" ] +} +tracks/1/type = "value" +tracks/1/path = NodePath(".:frame") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9 ), +"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ), +"update": 1, +"values": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ] +} + +[node name="Player" type="KinematicBody2D" groups=["player"]] +z_index = 1 +script = ExtResource( 44 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +position = Vector2( 0, 2 ) +shape = SubResource( 2 ) + +[node name="Area2D" type="Area2D" parent="."] + +[node name="CollisionShape2D2" type="CollisionShape2D" parent="Area2D"] +position = Vector2( 0, 2 ) +shape = SubResource( 2 ) + +[node name="AnimatedSprite" type="AnimatedSprite" parent="."] +frames = SubResource( 1 ) +animation = "idle" + +[node name="AnimationPlayer" type="AnimationPlayer" parent="AnimatedSprite"] +anims/RESET = SubResource( 3 ) +anims/hit = SubResource( 7 ) +anims/idle = SubResource( 4 ) +anims/jump = SubResource( 5 ) +anims/run = SubResource( 6 ) -- cgit v1.2.3