Ghost enemy and other changes
This commit is contained in:
@@ -6,18 +6,20 @@
|
|||||||
[ext_resource path="res://Enemies/Creepy Glowing Ghost.gd" type="Script" id=4]
|
[ext_resource path="res://Enemies/Creepy Glowing Ghost.gd" type="Script" id=4]
|
||||||
[ext_resource path="res://Enemies/Projectiles/Creepy Hand.tscn" type="PackedScene" id=5]
|
[ext_resource path="res://Enemies/Projectiles/Creepy Hand.tscn" type="PackedScene" id=5]
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape2D" id=3]
|
[sub_resource type="CapsuleShape2D" id=1]
|
||||||
radius = 1.5
|
radius = 1.5
|
||||||
height = 3.0
|
height = 3.0
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape2D" id=1]
|
[sub_resource type="CapsuleShape2D" id=2]
|
||||||
radius = 3.0
|
radius = 3.0
|
||||||
height = 2.0
|
height = 2.0
|
||||||
|
|
||||||
[sub_resource type="CircleShape2D" id=2]
|
[sub_resource type="CircleShape2D" id=3]
|
||||||
radius = 60.0
|
radius = 60.0
|
||||||
|
|
||||||
[node name="Creepy Glowing Ghost" type="KinematicBody2D" groups=["enemy"]]
|
[node name="Creepy Glowing Ghost" type="KinematicBody2D" groups=[
|
||||||
|
"enemy",
|
||||||
|
]]
|
||||||
light_mask = 0
|
light_mask = 0
|
||||||
collision_layer = 4
|
collision_layer = 4
|
||||||
collision_mask = 5
|
collision_mask = 5
|
||||||
@@ -34,9 +36,11 @@ offset = Vector2( 0, 0.5 )
|
|||||||
visible = false
|
visible = false
|
||||||
light_mask = 0
|
light_mask = 0
|
||||||
rotation = 1.5708
|
rotation = 1.5708
|
||||||
shape = SubResource( 3 )
|
shape = SubResource( 1 )
|
||||||
|
|
||||||
[node name="Hitbox" type="Area2D" parent="." groups=["enemy_hitbox_1"]]
|
[node name="Hitbox" type="Area2D" parent="." groups=[
|
||||||
|
"enemy_hitbox_1",
|
||||||
|
]]
|
||||||
light_mask = 0
|
light_mask = 0
|
||||||
collision_layer = 4
|
collision_layer = 4
|
||||||
collision_mask = 2
|
collision_mask = 2
|
||||||
@@ -45,19 +49,19 @@ collision_mask = 2
|
|||||||
visible = false
|
visible = false
|
||||||
light_mask = 0
|
light_mask = 0
|
||||||
position = Vector2( 0, -2.5 )
|
position = Vector2( 0, -2.5 )
|
||||||
shape = SubResource( 1 )
|
shape = SubResource( 2 )
|
||||||
|
|
||||||
[node name="Player Detector" type="Area2D" parent="."]
|
[node name="Player Detector" type="Area2D" parent="."]
|
||||||
light_mask = 0
|
light_mask = 0
|
||||||
collision_layer = 0
|
|
||||||
collision_mask = 2
|
|
||||||
input_pickable = false
|
input_pickable = false
|
||||||
monitorable = false
|
monitorable = false
|
||||||
|
collision_layer = 0
|
||||||
|
collision_mask = 2
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector"]
|
||||||
visible = false
|
visible = false
|
||||||
light_mask = 0
|
light_mask = 0
|
||||||
shape = SubResource( 2 )
|
shape = SubResource( 3 )
|
||||||
|
|
||||||
[node name="Light" type="Light2D" parent="."]
|
[node name="Light" type="Light2D" parent="."]
|
||||||
texture = ExtResource( 2 )
|
texture = ExtResource( 2 )
|
||||||
|
@@ -5,378 +5,321 @@
|
|||||||
[ext_resource path="res://Sprites/Enemies/Demon_Slime_Spritesheet.png" type="Texture" id=3]
|
[ext_resource path="res://Sprites/Enemies/Demon_Slime_Spritesheet.png" type="Texture" id=3]
|
||||||
[ext_resource path="res://Enemies/DemonBoss.gd" type="Script" id=4]
|
[ext_resource path="res://Enemies/DemonBoss.gd" type="Script" id=4]
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=3]
|
[sub_resource type="AtlasTexture" id=1]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 0, 640, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=4]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 288, 640, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=5]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 576, 640, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=6]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 864, 640, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=7]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 1152, 640, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=8]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 1440, 640, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=9]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 1728, 640, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=10]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 2016, 640, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=11]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 2304, 640, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=12]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 2592, 640, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=13]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 2880, 640, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=14]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 3168, 640, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=15]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 3456, 640, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=16]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 3744, 640, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=17]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 4032, 640, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=18]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 4320, 640, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=19]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 4608, 640, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=20]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 4896, 640, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=21]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 5184, 640, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=22]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 5472, 640, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=23]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 5760, 640, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=24]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 6048, 640, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=25]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 0, 160, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=26]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 288, 160, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=27]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 576, 160, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=28]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 864, 160, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=29]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 1152, 160, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=30]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 1440, 160, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=31]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 1728, 160, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=32]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 2016, 160, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=33]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 2304, 160, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=34]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 2592, 160, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=35]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 2880, 160, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=36]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 3168, 160, 288, 160 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=37]
|
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 0, 0, 288, 160 )
|
region = Rect2( 0, 0, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=38]
|
[sub_resource type="AtlasTexture" id=2]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 288, 0, 288, 160 )
|
region = Rect2( 288, 0, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=39]
|
[sub_resource type="AtlasTexture" id=3]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 576, 0, 288, 160 )
|
region = Rect2( 576, 0, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=40]
|
[sub_resource type="AtlasTexture" id=4]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 864, 0, 288, 160 )
|
region = Rect2( 864, 0, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=41]
|
[sub_resource type="AtlasTexture" id=5]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 1152, 0, 288, 160 )
|
region = Rect2( 1152, 0, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=42]
|
[sub_resource type="AtlasTexture" id=6]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 1440, 0, 288, 160 )
|
region = Rect2( 1440, 0, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=43]
|
[sub_resource type="AtlasTexture" id=7]
|
||||||
flags = 4
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 0, 160, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=8]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 288, 160, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=9]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 576, 160, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=10]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 864, 160, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=11]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 1152, 160, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=12]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 1440, 160, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=13]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 1728, 160, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=14]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 2016, 160, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=15]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 2304, 160, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=16]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 2592, 160, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=17]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 2880, 160, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=18]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 3168, 160, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=19]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 0, 640, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=20]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 288, 640, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=21]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 576, 640, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=22]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 864, 640, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=23]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 1152, 640, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=24]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 1440, 640, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=25]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 1728, 640, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=26]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 2016, 640, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=27]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 2304, 640, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=28]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 2592, 640, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=29]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 2880, 640, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=30]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 3168, 640, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=31]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 3456, 640, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=32]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 3744, 640, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=33]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 4032, 640, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=34]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 4320, 640, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=35]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 4608, 640, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=36]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 4896, 640, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=37]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 5184, 640, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=38]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 5472, 640, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=39]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 5760, 640, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=40]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 6048, 640, 288, 160 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=41]
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 0, 320, 288, 160 )
|
region = Rect2( 0, 320, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=44]
|
[sub_resource type="AtlasTexture" id=42]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 288, 320, 288, 160 )
|
region = Rect2( 288, 320, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=45]
|
[sub_resource type="AtlasTexture" id=43]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 576, 320, 288, 160 )
|
region = Rect2( 576, 320, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=46]
|
[sub_resource type="AtlasTexture" id=44]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 864, 320, 288, 160 )
|
region = Rect2( 864, 320, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=47]
|
[sub_resource type="AtlasTexture" id=45]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 1152, 320, 288, 160 )
|
region = Rect2( 1152, 320, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=48]
|
[sub_resource type="AtlasTexture" id=46]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 1440, 320, 288, 160 )
|
region = Rect2( 1440, 320, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=49]
|
[sub_resource type="AtlasTexture" id=47]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 1728, 320, 288, 160 )
|
region = Rect2( 1728, 320, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=50]
|
[sub_resource type="AtlasTexture" id=48]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 2016, 320, 288, 160 )
|
region = Rect2( 2016, 320, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=51]
|
[sub_resource type="AtlasTexture" id=49]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 2304, 320, 288, 160 )
|
region = Rect2( 2304, 320, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=52]
|
[sub_resource type="AtlasTexture" id=50]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 2592, 320, 288, 160 )
|
region = Rect2( 2592, 320, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=53]
|
[sub_resource type="AtlasTexture" id=51]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 2880, 320, 288, 160 )
|
region = Rect2( 2880, 320, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=54]
|
[sub_resource type="AtlasTexture" id=52]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 3168, 320, 288, 160 )
|
region = Rect2( 3168, 320, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=55]
|
[sub_resource type="AtlasTexture" id=53]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 3456, 320, 288, 160 )
|
region = Rect2( 3456, 320, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=56]
|
[sub_resource type="AtlasTexture" id=54]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 3744, 320, 288, 160 )
|
region = Rect2( 3744, 320, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=57]
|
[sub_resource type="AtlasTexture" id=55]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 4032, 320, 288, 160 )
|
region = Rect2( 4032, 320, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=58]
|
[sub_resource type="AtlasTexture" id=56]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 0, 480, 288, 160 )
|
region = Rect2( 0, 480, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=59]
|
[sub_resource type="AtlasTexture" id=57]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 288, 480, 288, 160 )
|
region = Rect2( 288, 480, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=60]
|
[sub_resource type="AtlasTexture" id=58]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 576, 480, 288, 160 )
|
region = Rect2( 576, 480, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=61]
|
[sub_resource type="AtlasTexture" id=59]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 864, 480, 288, 160 )
|
region = Rect2( 864, 480, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=62]
|
[sub_resource type="AtlasTexture" id=60]
|
||||||
flags = 4
|
|
||||||
atlas = ExtResource( 3 )
|
atlas = ExtResource( 3 )
|
||||||
region = Rect2( 1152, 480, 288, 160 )
|
region = Rect2( 1152, 480, 288, 160 )
|
||||||
|
|
||||||
[sub_resource type="SpriteFrames" id=63]
|
[sub_resource type="SpriteFrames" id=61]
|
||||||
animations = [ {
|
animations = [ {
|
||||||
"frames": [ SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ), SubResource( 9 ), SubResource( 10 ), SubResource( 11 ), SubResource( 12 ), SubResource( 13 ), SubResource( 14 ), SubResource( 15 ), SubResource( 16 ), SubResource( 17 ), SubResource( 18 ), SubResource( 19 ), SubResource( 20 ), SubResource( 21 ), SubResource( 22 ), SubResource( 23 ), SubResource( 24 ) ],
|
"frames": [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ) ],
|
||||||
"loop": true,
|
|
||||||
"name": "Death",
|
|
||||||
"speed": 5.0
|
|
||||||
}, {
|
|
||||||
"frames": [ SubResource( 25 ), SubResource( 26 ), SubResource( 27 ), SubResource( 28 ), SubResource( 29 ), SubResource( 30 ), SubResource( 31 ), SubResource( 32 ), SubResource( 33 ), SubResource( 34 ), SubResource( 35 ), SubResource( 36 ) ],
|
|
||||||
"loop": true,
|
|
||||||
"name": "Walk",
|
|
||||||
"speed": 5.0
|
|
||||||
}, {
|
|
||||||
"frames": [ SubResource( 37 ), SubResource( 38 ), SubResource( 39 ), SubResource( 40 ), SubResource( 41 ), SubResource( 42 ) ],
|
|
||||||
"loop": true,
|
"loop": true,
|
||||||
"name": "Idle",
|
"name": "Idle",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}, {
|
}, {
|
||||||
"frames": [ SubResource( 43 ), SubResource( 44 ), SubResource( 45 ), SubResource( 46 ), SubResource( 47 ), SubResource( 48 ), SubResource( 49 ), SubResource( 50 ), SubResource( 51 ), SubResource( 52 ), SubResource( 53 ), SubResource( 54 ), SubResource( 55 ), SubResource( 56 ), SubResource( 57 ) ],
|
"frames": [ SubResource( 7 ), SubResource( 8 ), SubResource( 9 ), SubResource( 10 ), SubResource( 11 ), SubResource( 12 ), SubResource( 13 ), SubResource( 14 ), SubResource( 15 ), SubResource( 16 ), SubResource( 17 ), SubResource( 18 ) ],
|
||||||
|
"loop": true,
|
||||||
|
"name": "Walk",
|
||||||
|
"speed": 5.0
|
||||||
|
}, {
|
||||||
|
"frames": [ SubResource( 19 ), SubResource( 20 ), SubResource( 21 ), SubResource( 22 ), SubResource( 23 ), SubResource( 24 ), SubResource( 25 ), SubResource( 26 ), SubResource( 27 ), SubResource( 28 ), SubResource( 29 ), SubResource( 30 ), SubResource( 31 ), SubResource( 32 ), SubResource( 33 ), SubResource( 34 ), SubResource( 35 ), SubResource( 36 ), SubResource( 37 ), SubResource( 38 ), SubResource( 39 ), SubResource( 40 ) ],
|
||||||
|
"loop": true,
|
||||||
|
"name": "Death",
|
||||||
|
"speed": 5.0
|
||||||
|
}, {
|
||||||
|
"frames": [ SubResource( 41 ), SubResource( 42 ), SubResource( 43 ), SubResource( 44 ), SubResource( 45 ), SubResource( 46 ), SubResource( 47 ), SubResource( 48 ), SubResource( 49 ), SubResource( 50 ), SubResource( 51 ), SubResource( 52 ), SubResource( 53 ), SubResource( 54 ), SubResource( 55 ) ],
|
||||||
"loop": true,
|
"loop": true,
|
||||||
"name": "Attack",
|
"name": "Attack",
|
||||||
"speed": 15.0
|
"speed": 15.0
|
||||||
}, {
|
}, {
|
||||||
"frames": [ SubResource( 58 ), SubResource( 59 ), SubResource( 60 ), SubResource( 61 ), SubResource( 62 ) ],
|
"frames": [ SubResource( 56 ), SubResource( 57 ), SubResource( 58 ), SubResource( 59 ), SubResource( 60 ) ],
|
||||||
"loop": true,
|
"loop": true,
|
||||||
"name": "Hit",
|
"name": "Hit",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
} ]
|
} ]
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape2D" id=1]
|
[sub_resource type="CapsuleShape2D" id=62]
|
||||||
radius = 3.0
|
radius = 3.0
|
||||||
height = 2.0
|
height = 2.0
|
||||||
|
|
||||||
[sub_resource type="CircleShape2D" id=2]
|
[sub_resource type="CircleShape2D" id=63]
|
||||||
radius = 50.0
|
radius = 50.0
|
||||||
|
|
||||||
[node name="DemonBoss" type="KinematicBody2D" groups=["enemies"]]
|
[node name="DemonBoss" type="KinematicBody2D" groups=[
|
||||||
|
"enemies",
|
||||||
|
]]
|
||||||
collision_layer = 2
|
collision_layer = 2
|
||||||
script = ExtResource( 4 )
|
script = ExtResource( 4 )
|
||||||
|
|
||||||
[node name="AnimatedSprite1" type="AnimatedSprite" parent="."]
|
[node name="AnimatedSprite1" type="AnimatedSprite" parent="."]
|
||||||
position = Vector2( 1, -3 )
|
position = Vector2( 1, -3 )
|
||||||
scale = Vector2( 0.5, 0.5 )
|
scale = Vector2( 0.5, 0.5 )
|
||||||
frames = SubResource( 63 )
|
frames = SubResource( 61 )
|
||||||
animation = "Idle"
|
animation = "Idle"
|
||||||
|
frame = 3
|
||||||
playing = true
|
playing = true
|
||||||
|
|
||||||
[node name="Hitbox" type="CollisionShape2D" parent="."]
|
[node name="Hitbox" type="CollisionShape2D" parent="."]
|
||||||
visible = false
|
visible = false
|
||||||
position = Vector2( 0, -3 )
|
position = Vector2( 0, -3 )
|
||||||
shape = SubResource( 1 )
|
shape = SubResource( 62 )
|
||||||
|
|
||||||
[node name="Player Detector" type="Area2D" parent="."]
|
[node name="Player Detector" type="Area2D" parent="."]
|
||||||
collision_layer = 0
|
|
||||||
collision_mask = 2
|
|
||||||
input_pickable = false
|
input_pickable = false
|
||||||
monitorable = false
|
monitorable = false
|
||||||
|
collision_layer = 0
|
||||||
|
collision_mask = 2
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector"]
|
||||||
scale = Vector2( 2, 2 )
|
scale = Vector2( 2, 2 )
|
||||||
shape = SubResource( 2 )
|
shape = SubResource( 63 )
|
||||||
|
|
||||||
[node name="Player Attack" type="Area2D" parent="."]
|
[node name="Player Attack" type="Area2D" parent="."]
|
||||||
visible = false
|
visible = false
|
||||||
collision_layer = 0
|
|
||||||
collision_mask = 2
|
|
||||||
input_pickable = false
|
input_pickable = false
|
||||||
monitorable = false
|
monitorable = false
|
||||||
|
collision_layer = 0
|
||||||
|
collision_mask = 2
|
||||||
|
|
||||||
[node name="Attack" type="CollisionShape2D" parent="Player Attack"]
|
[node name="Attack" type="CollisionShape2D" parent="Player Attack"]
|
||||||
position = Vector2( 0, 7 )
|
position = Vector2( 0, 7 )
|
||||||
scale = Vector2( 1, 0.75 )
|
scale = Vector2( 1, 0.75 )
|
||||||
shape = SubResource( 2 )
|
shape = SubResource( 63 )
|
||||||
|
|
||||||
[node name="Light2D" type="Light2D" parent="."]
|
[node name="Light2D" type="Light2D" parent="."]
|
||||||
visible = false
|
visible = false
|
||||||
|
@@ -1,26 +1,61 @@
|
|||||||
extends Node2D
|
extends KinematicBody2D
|
||||||
|
|
||||||
|
|
||||||
# Declare member variables here. Examples:
|
# Declare member variables here. Examples:
|
||||||
# var a: int = 2
|
# var a: int = 2
|
||||||
# var b: String = "text"
|
# var b: String = "text"
|
||||||
onready var animated_sprite = $AnimatedSprite
|
export var Fireball: PackedScene
|
||||||
|
onready var player = null
|
||||||
|
var move = Vector2.ZERO
|
||||||
|
var SPEED = 50
|
||||||
|
var counter = 0
|
||||||
|
var velocity: Vector2 = Vector2.ZERO
|
||||||
|
var health: int = 4
|
||||||
|
|
||||||
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
# Called when the node enters the scene tree for the first time.
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
self.visible = false
|
self.visible = false
|
||||||
|
|
||||||
|
|
||||||
|
func _physics_process(delta):
|
||||||
|
velocity = Vector2.ZERO
|
||||||
|
|
||||||
|
if player and position.distance_to(player.position) > 1:
|
||||||
|
velocity = position.direction_to(player.position).normalized() * SPEED
|
||||||
|
velocity = move_and_slide(velocity)
|
||||||
|
|
||||||
func _process(delta: float) -> void:
|
|
||||||
pass
|
|
||||||
#animated_sprite.play("idle")
|
|
||||||
|
|
||||||
|
|
||||||
func _on_Area2D_body_entered(body):
|
func _on_Area2D_body_entered(body):
|
||||||
|
if body.is_in_group('player'):
|
||||||
|
player = body
|
||||||
|
if counter == 0:
|
||||||
self.visible = true
|
self.visible = true
|
||||||
animated_sprite.play("appear")
|
$AnimatedSprite.play("appear")
|
||||||
|
counter = 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
func _on_AnimatedSprite_animation_finished():
|
func _on_AnimatedSprite_animation_finished():
|
||||||
animated_sprite.play("idle")
|
$AnimatedSprite.play("idle")
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Hitbox_area_entered(area):
|
||||||
|
if area.is_in_group('player_weapon_1'):
|
||||||
|
health -= 1
|
||||||
|
elif area.is_in_group('player_weapon_2'):
|
||||||
|
health -= 2
|
||||||
|
if health <= 0:
|
||||||
|
$AnimatedSprite.play("vanish")
|
||||||
|
yield($AnimatedSprite, "animation_finished")
|
||||||
|
call_deferred('queue_free')
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Projectile_Timer_timeout():
|
||||||
|
if player:
|
||||||
|
var projectile: Node = Fireball.instance()
|
||||||
|
projectile.init($AnimatedSprite.global_position, player.position)
|
||||||
|
get_tree().get_current_scene().get_node('Projectiles').add_child(projectile)
|
||||||
|
$AnimatedSprite.play("shriek")
|
||||||
|
@@ -1,147 +1,193 @@
|
|||||||
[gd_scene load_steps=32 format=2]
|
[gd_scene load_steps=37 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://Sprites/Assets/ghost-appears.png" type="Texture" id=1]
|
[ext_resource path="res://Sprites/Assets/ghost-appears.png" type="Texture" id=1]
|
||||||
[ext_resource path="res://Sprites/Assets/ghost-idle.png" type="Texture" id=2]
|
[ext_resource path="res://Sprites/Assets/ghost-idle.png" type="Texture" id=2]
|
||||||
[ext_resource path="res://Sprites/Assets/ghost-shriek.png" type="Texture" id=3]
|
[ext_resource path="res://Sprites/Assets/ghost-shriek.png" type="Texture" id=3]
|
||||||
[ext_resource path="res://Sprites/Assets/ghost-vanish.png" type="Texture" id=4]
|
[ext_resource path="res://Sprites/Assets/ghost-vanish.png" type="Texture" id=4]
|
||||||
[ext_resource path="res://Enemies/Ghost_Enemy.gd" type="Script" id=5]
|
[ext_resource path="res://Enemies/Ghost_Enemy.gd" type="Script" id=5]
|
||||||
|
[ext_resource path="res://Enemies/Projectiles/Fireball.tscn" type="PackedScene" id=6]
|
||||||
|
[ext_resource path="res://Sprites/Assets/fire_column_medium_14.png" type="Texture" id=7]
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=1]
|
||||||
|
atlas = ExtResource( 2 )
|
||||||
|
region = Rect2( 0, 0, 64, 80 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=2]
|
||||||
|
atlas = ExtResource( 2 )
|
||||||
|
region = Rect2( 64, 0, 64, 80 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=3]
|
[sub_resource type="AtlasTexture" id=3]
|
||||||
atlas = ExtResource( 2 )
|
atlas = ExtResource( 2 )
|
||||||
region = Rect2( 0, 0, 64, 80 )
|
region = Rect2( 128, 0, 64, 80 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=4]
|
[sub_resource type="AtlasTexture" id=4]
|
||||||
atlas = ExtResource( 2 )
|
atlas = ExtResource( 2 )
|
||||||
region = Rect2( 64, 0, 64, 80 )
|
region = Rect2( 192, 0, 64, 80 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=5]
|
[sub_resource type="AtlasTexture" id=5]
|
||||||
atlas = ExtResource( 2 )
|
atlas = ExtResource( 2 )
|
||||||
region = Rect2( 128, 0, 64, 80 )
|
region = Rect2( 256, 0, 64, 80 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=6]
|
[sub_resource type="AtlasTexture" id=6]
|
||||||
atlas = ExtResource( 2 )
|
atlas = ExtResource( 2 )
|
||||||
region = Rect2( 192, 0, 64, 80 )
|
region = Rect2( 320, 0, 64, 80 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=7]
|
[sub_resource type="AtlasTexture" id=7]
|
||||||
atlas = ExtResource( 2 )
|
atlas = ExtResource( 2 )
|
||||||
region = Rect2( 256, 0, 64, 80 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=8]
|
|
||||||
atlas = ExtResource( 2 )
|
|
||||||
region = Rect2( 320, 0, 64, 80 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=9]
|
|
||||||
atlas = ExtResource( 2 )
|
|
||||||
region = Rect2( 384, 0, 64, 80 )
|
region = Rect2( 384, 0, 64, 80 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=10]
|
[sub_resource type="AtlasTexture" id=8]
|
||||||
atlas = ExtResource( 1 )
|
atlas = ExtResource( 1 )
|
||||||
region = Rect2( 0, 0, 64, 48 )
|
region = Rect2( 0, 0, 64, 48 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=11]
|
[sub_resource type="AtlasTexture" id=9]
|
||||||
atlas = ExtResource( 1 )
|
atlas = ExtResource( 1 )
|
||||||
region = Rect2( 64, 0, 64, 48 )
|
region = Rect2( 64, 0, 64, 48 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=12]
|
[sub_resource type="AtlasTexture" id=10]
|
||||||
atlas = ExtResource( 1 )
|
atlas = ExtResource( 1 )
|
||||||
region = Rect2( 128, 0, 64, 48 )
|
region = Rect2( 128, 0, 64, 48 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=13]
|
[sub_resource type="AtlasTexture" id=11]
|
||||||
atlas = ExtResource( 1 )
|
atlas = ExtResource( 1 )
|
||||||
region = Rect2( 192, 0, 64, 48 )
|
region = Rect2( 192, 0, 64, 48 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=14]
|
[sub_resource type="AtlasTexture" id=12]
|
||||||
atlas = ExtResource( 1 )
|
atlas = ExtResource( 1 )
|
||||||
region = Rect2( 256, 0, 64, 48 )
|
region = Rect2( 256, 0, 64, 48 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=15]
|
[sub_resource type="AtlasTexture" id=13]
|
||||||
atlas = ExtResource( 1 )
|
atlas = ExtResource( 1 )
|
||||||
region = Rect2( 320, 0, 64, 48 )
|
region = Rect2( 320, 0, 64, 48 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=16]
|
[sub_resource type="AtlasTexture" id=14]
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 0, 0, 64, 80 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=17]
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 64, 0, 64, 80 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=18]
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 128, 0, 64, 80 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=19]
|
|
||||||
atlas = ExtResource( 3 )
|
|
||||||
region = Rect2( 192, 0, 64, 80 )
|
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=20]
|
|
||||||
atlas = ExtResource( 4 )
|
atlas = ExtResource( 4 )
|
||||||
region = Rect2( 0, 0, 64, 64 )
|
region = Rect2( 0, 0, 64, 64 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=21]
|
[sub_resource type="AtlasTexture" id=15]
|
||||||
atlas = ExtResource( 4 )
|
atlas = ExtResource( 4 )
|
||||||
region = Rect2( 64, 0, 64, 64 )
|
region = Rect2( 64, 0, 64, 64 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=22]
|
[sub_resource type="AtlasTexture" id=16]
|
||||||
atlas = ExtResource( 4 )
|
atlas = ExtResource( 4 )
|
||||||
region = Rect2( 128, 0, 64, 64 )
|
region = Rect2( 128, 0, 64, 64 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=23]
|
[sub_resource type="AtlasTexture" id=17]
|
||||||
atlas = ExtResource( 4 )
|
atlas = ExtResource( 4 )
|
||||||
region = Rect2( 192, 0, 64, 64 )
|
region = Rect2( 192, 0, 64, 64 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=24]
|
[sub_resource type="AtlasTexture" id=18]
|
||||||
atlas = ExtResource( 4 )
|
atlas = ExtResource( 4 )
|
||||||
region = Rect2( 256, 0, 64, 64 )
|
region = Rect2( 256, 0, 64, 64 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=25]
|
[sub_resource type="AtlasTexture" id=19]
|
||||||
atlas = ExtResource( 4 )
|
atlas = ExtResource( 4 )
|
||||||
region = Rect2( 320, 0, 64, 64 )
|
region = Rect2( 320, 0, 64, 64 )
|
||||||
|
|
||||||
[sub_resource type="AtlasTexture" id=26]
|
[sub_resource type="AtlasTexture" id=20]
|
||||||
atlas = ExtResource( 4 )
|
atlas = ExtResource( 4 )
|
||||||
region = Rect2( 384, 0, 64, 64 )
|
region = Rect2( 384, 0, 64, 64 )
|
||||||
|
|
||||||
[sub_resource type="SpriteFrames" id=27]
|
[sub_resource type="AtlasTexture" id=23]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 128, 0, 64, 80 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=24]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 192, 0, 64, 80 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=22]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 64, 0, 64, 80 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=21]
|
||||||
|
atlas = ExtResource( 3 )
|
||||||
|
region = Rect2( 0, 0, 64, 80 )
|
||||||
|
|
||||||
|
[sub_resource type="SpriteFrames" id=25]
|
||||||
animations = [ {
|
animations = [ {
|
||||||
"frames": [ SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ), SubResource( 9 ) ],
|
"frames": [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ), SubResource( 7 ) ],
|
||||||
"loop": true,
|
"loop": true,
|
||||||
"name": "idle",
|
"name": "idle",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}, {
|
}, {
|
||||||
"frames": [ SubResource( 10 ), SubResource( 11 ), SubResource( 12 ), SubResource( 13 ), SubResource( 14 ), SubResource( 15 ) ],
|
"frames": [ SubResource( 8 ), SubResource( 9 ), SubResource( 10 ), SubResource( 11 ), SubResource( 12 ), SubResource( 13 ) ],
|
||||||
"loop": true,
|
"loop": true,
|
||||||
"name": "appear",
|
"name": "appear",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}, {
|
}, {
|
||||||
"frames": [ SubResource( 16 ), SubResource( 17 ), SubResource( 18 ), SubResource( 19 ) ],
|
"frames": [ SubResource( 14 ), SubResource( 15 ), SubResource( 16 ), SubResource( 17 ), SubResource( 18 ), SubResource( 19 ), SubResource( 20 ) ],
|
||||||
"loop": true,
|
|
||||||
"name": "shriek",
|
|
||||||
"speed": 5.0
|
|
||||||
}, {
|
|
||||||
"frames": [ SubResource( 20 ), SubResource( 21 ), SubResource( 22 ), SubResource( 23 ), SubResource( 24 ), SubResource( 25 ), SubResource( 26 ) ],
|
|
||||||
"loop": true,
|
"loop": true,
|
||||||
"name": "vanish",
|
"name": "vanish",
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
|
}, {
|
||||||
|
"frames": [ SubResource( 23 ), SubResource( 24 ), SubResource( 22 ), SubResource( 21 ) ],
|
||||||
|
"loop": true,
|
||||||
|
"name": "shriek",
|
||||||
|
"speed": 5.0
|
||||||
} ]
|
} ]
|
||||||
|
|
||||||
[sub_resource type="CircleShape2D" id=28]
|
[sub_resource type="CircleShape2D" id=26]
|
||||||
radius = 37.8109
|
radius = 57.5936
|
||||||
|
|
||||||
[node name="Node2D" type="Node2D"]
|
[sub_resource type="CircleShape2D" id=27]
|
||||||
|
|
||||||
|
[sub_resource type="CapsuleShape2D" id=28]
|
||||||
|
radius = 12.0077
|
||||||
|
height = 18.3862
|
||||||
|
|
||||||
|
[sub_resource type="ParticlesMaterial" id=29]
|
||||||
|
flag_disable_z = true
|
||||||
|
gravity = Vector3( 0, 0, 0 )
|
||||||
|
orbit_velocity = 0.0
|
||||||
|
orbit_velocity_random = 0.0
|
||||||
|
color = Color( 0.729412, 0, 0, 1 )
|
||||||
|
hue_variation = 1.0
|
||||||
|
|
||||||
|
[node name="KinematicBody2D" type="KinematicBody2D"]
|
||||||
|
z_index = 2
|
||||||
script = ExtResource( 5 )
|
script = ExtResource( 5 )
|
||||||
|
Fireball = ExtResource( 6 )
|
||||||
|
|
||||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||||||
frames = SubResource( 27 )
|
frames = SubResource( 25 )
|
||||||
animation = "appear"
|
animation = "idle"
|
||||||
|
|
||||||
[node name="Area2D" type="Area2D" parent="."]
|
[node name="Player Detector" type="Area2D" parent="."]
|
||||||
position = Vector2( 0.209557, 1.52058 )
|
position = Vector2( 0.209557, 1.52058 )
|
||||||
collision_mask = 2
|
collision_mask = 2
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector"]
|
||||||
position = Vector2( 0.187286, 0 )
|
position = Vector2( 0.396843, 1.52058 )
|
||||||
|
shape = SubResource( 26 )
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
|
position = Vector2( 0.530334, 11.3032 )
|
||||||
|
shape = SubResource( 27 )
|
||||||
|
|
||||||
|
[node name="Hitbox" type="Area2D" parent="." groups=[
|
||||||
|
"enemy_hitbox_1",
|
||||||
|
]]
|
||||||
|
light_mask = 0
|
||||||
|
collision_layer = 4
|
||||||
|
collision_mask = 2
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
|
||||||
|
light_mask = 0
|
||||||
shape = SubResource( 28 )
|
shape = SubResource( 28 )
|
||||||
|
|
||||||
|
[node name="Projectile Timer" type="Timer" parent="."]
|
||||||
|
wait_time = 3.0
|
||||||
|
autostart = true
|
||||||
|
|
||||||
|
[node name="Particles2D" type="Particles2D" parent="."]
|
||||||
|
visible = false
|
||||||
|
amount = 15
|
||||||
|
explosiveness = 1.0
|
||||||
|
process_material = SubResource( 29 )
|
||||||
|
texture = ExtResource( 7 )
|
||||||
|
|
||||||
[connection signal="animation_finished" from="AnimatedSprite" to="." method="_on_AnimatedSprite_animation_finished"]
|
[connection signal="animation_finished" from="AnimatedSprite" to="." method="_on_AnimatedSprite_animation_finished"]
|
||||||
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]
|
[connection signal="body_entered" from="Player Detector" to="." method="_on_Area2D_body_entered"]
|
||||||
|
[connection signal="area_entered" from="Hitbox" to="." method="_on_Hitbox_area_entered"]
|
||||||
|
[connection signal="timeout" from="Projectile Timer" to="." method="_on_Projectile_Timer_timeout"]
|
||||||
|
@@ -7,13 +7,15 @@
|
|||||||
[sub_resource type="CircleShape2D" id=1]
|
[sub_resource type="CircleShape2D" id=1]
|
||||||
radius = 12.0
|
radius = 12.0
|
||||||
|
|
||||||
[node name="Creepy Hand" type="Area2D" groups=["enemy_projectile_1"]]
|
[node name="Creepy Hand" type="Area2D" groups=[
|
||||||
|
"enemy_projectile_1",
|
||||||
|
]]
|
||||||
light_mask = 0
|
light_mask = 0
|
||||||
scale = Vector2( 0.5, 0.5 )
|
scale = Vector2( 0.5, 0.5 )
|
||||||
collision_layer = 0
|
|
||||||
collision_mask = 2
|
|
||||||
input_pickable = false
|
input_pickable = false
|
||||||
monitoring = false
|
monitoring = false
|
||||||
|
collision_layer = 0
|
||||||
|
collision_mask = 2
|
||||||
script = ExtResource( 3 )
|
script = ExtResource( 3 )
|
||||||
|
|
||||||
[node name="Sprite" type="Sprite" parent="."]
|
[node name="Sprite" type="Sprite" parent="."]
|
||||||
|
23
Enemies/Projectiles/Fireball.gd
Normal file
23
Enemies/Projectiles/Fireball.gd
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
extends Area2D
|
||||||
|
|
||||||
|
const SPEED: int = 200
|
||||||
|
|
||||||
|
var player_position: Vector2
|
||||||
|
var velocity: Vector2 = Vector2.ZERO
|
||||||
|
|
||||||
|
|
||||||
|
func init(spawn_position: Vector2, shoot_position: Vector2) -> void:
|
||||||
|
position = spawn_position
|
||||||
|
player_position = shoot_position
|
||||||
|
velocity = position.direction_to(player_position).normalized() * SPEED
|
||||||
|
$Sprite.rotation = player_position.angle_to_point(position) + deg2rad(180)
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
|
func _physics_process(delta: float) -> void:
|
||||||
|
position += velocity * delta
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Lifetime_timeout():
|
||||||
|
call_deferred('queue_free')
|
80
Enemies/Projectiles/Fireball.tscn
Normal file
80
Enemies/Projectiles/Fireball.tscn
Normal file
@@ -0,0 +1,80 @@
|
|||||||
|
[gd_scene load_steps=15 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Enemies/Projectiles/Fireball.gd" type="Script" id=1]
|
||||||
|
[ext_resource path="res://Sprites/Enemies/Projectiles/Iceball_84x9.png" type="Texture" id=2]
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=1]
|
||||||
|
atlas = ExtResource( 2 )
|
||||||
|
region = Rect2( 0, 0, 84, 63 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=2]
|
||||||
|
atlas = ExtResource( 2 )
|
||||||
|
region = Rect2( 84, 0, 84, 63 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=3]
|
||||||
|
atlas = ExtResource( 2 )
|
||||||
|
region = Rect2( 168, 0, 84, 63 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=4]
|
||||||
|
atlas = ExtResource( 2 )
|
||||||
|
region = Rect2( 252, 0, 84, 63 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=5]
|
||||||
|
atlas = ExtResource( 2 )
|
||||||
|
region = Rect2( 336, 0, 84, 63 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=6]
|
||||||
|
atlas = ExtResource( 2 )
|
||||||
|
region = Rect2( 420, 0, 84, 63 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=7]
|
||||||
|
atlas = ExtResource( 2 )
|
||||||
|
region = Rect2( 504, 0, 84, 63 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=8]
|
||||||
|
atlas = ExtResource( 2 )
|
||||||
|
region = Rect2( 588, 0, 84, 63 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=9]
|
||||||
|
atlas = ExtResource( 2 )
|
||||||
|
region = Rect2( 672, 0, 84, 63 )
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id=10]
|
||||||
|
atlas = ExtResource( 2 )
|
||||||
|
region = Rect2( 756, 0, 84, 63 )
|
||||||
|
|
||||||
|
[sub_resource type="SpriteFrames" id=11]
|
||||||
|
animations = [ {
|
||||||
|
"frames": [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ), SubResource( 9 ), SubResource( 10 ) ],
|
||||||
|
"loop": true,
|
||||||
|
"name": "fire",
|
||||||
|
"speed": 5.0
|
||||||
|
} ]
|
||||||
|
|
||||||
|
[sub_resource type="CapsuleShape2D" id=12]
|
||||||
|
height = 36.5213
|
||||||
|
|
||||||
|
[node name="Fireball" type="Area2D" groups=[
|
||||||
|
"enemy_projectile_2",
|
||||||
|
]]
|
||||||
|
scale = Vector2( 0.5, 0.5 )
|
||||||
|
collision_layer = 0
|
||||||
|
collision_mask = 2
|
||||||
|
script = ExtResource( 1 )
|
||||||
|
|
||||||
|
[node name="Sprite" type="AnimatedSprite" parent="."]
|
||||||
|
frames = SubResource( 11 )
|
||||||
|
animation = "fire"
|
||||||
|
frame = 7
|
||||||
|
playing = true
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
|
position = Vector2( -34.9228, -2.77795 )
|
||||||
|
shape = SubResource( 12 )
|
||||||
|
|
||||||
|
[node name="Lifetime" type="Timer" parent="."]
|
||||||
|
wait_time = 2.0
|
||||||
|
one_shot = true
|
||||||
|
autostart = true
|
||||||
|
|
||||||
|
[connection signal="timeout" from="Lifetime" to="." method="_on_Lifetime_timeout"]
|
File diff suppressed because one or more lines are too long
@@ -54,7 +54,7 @@ shadow_enabled = true
|
|||||||
[node name="Enemies" type="YSort" parent="YSort"]
|
[node name="Enemies" type="YSort" parent="YSort"]
|
||||||
|
|
||||||
[node name="Chasing Glowing Ghost 0" parent="YSort/Enemies" instance=ExtResource( 9 )]
|
[node name="Chasing Glowing Ghost 0" parent="YSort/Enemies" instance=ExtResource( 9 )]
|
||||||
position = Vector2( 281, 109 )
|
position = Vector2( 280.47, 109 )
|
||||||
|
|
||||||
[node name="Chasing Glowing Ghost 1" parent="YSort/Enemies" instance=ExtResource( 9 )]
|
[node name="Chasing Glowing Ghost 1" parent="YSort/Enemies" instance=ExtResource( 9 )]
|
||||||
position = Vector2( 328.5, 20 )
|
position = Vector2( 328.5, 20 )
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
extends Area2D
|
extends Area2D
|
||||||
|
|
||||||
export var enemy_path: String = 'res://Enemies/ENEMY.tscn'
|
export var enemy_path: String = 'res://Enemies/Ghost_Enemy.tscn'
|
||||||
export var relative_x_tiles: int
|
export var relative_x_tiles: int
|
||||||
export var relative_y_tiles: int
|
export var relative_y_tiles: int
|
||||||
|
|
||||||
|
@@ -7,10 +7,10 @@ extents = Vector2( 8, 8 )
|
|||||||
|
|
||||||
[node name="Spawn Trap" type="Area2D"]
|
[node name="Spawn Trap" type="Area2D"]
|
||||||
light_mask = 0
|
light_mask = 0
|
||||||
collision_layer = 0
|
|
||||||
collision_mask = 2
|
|
||||||
input_pickable = false
|
input_pickable = false
|
||||||
monitorable = false
|
monitorable = false
|
||||||
|
collision_layer = 0
|
||||||
|
collision_mask = 2
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
|
|
||||||
[node name="Tile" type="CollisionShape2D" parent="."]
|
[node name="Tile" type="CollisionShape2D" parent="."]
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 29 KiB |
BIN
Sprites/Assets/Skull.png
Normal file
BIN
Sprites/Assets/Skull.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
@@ -2,15 +2,15 @@
|
|||||||
|
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="StreamTexture"
|
type="StreamTexture"
|
||||||
path="res://.import/NightBorne.png-6e8a6563ccb5e180c914fc34932a1165.stex"
|
path="res://.import/Skull.png-6300211c1d2c4b4f4c48960472f63b50.stex"
|
||||||
metadata={
|
metadata={
|
||||||
"vram_texture": false
|
"vram_texture": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://Sprites/Assets/NightBorne.png"
|
source_file="res://Sprites/Assets/Skull.png"
|
||||||
dest_files=[ "res://.import/NightBorne.png-6e8a6563ccb5e180c914fc34932a1165.stex" ]
|
dest_files=[ "res://.import/Skull.png-6300211c1d2c4b4f4c48960472f63b50.stex" ]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
@@ -28,7 +28,6 @@ process/fix_alpha_border=false
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
|
BIN
Sprites/Assets/flame_06.png
Normal file
BIN
Sprites/Assets/flame_06.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
34
Sprites/Assets/flame_06.png.import
Normal file
34
Sprites/Assets/flame_06.png.import
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/flame_06.png-0e1768302ebcb499c8fb111ba5d9294f.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Sprites/Assets/flame_06.png"
|
||||||
|
dest_files=[ "res://.import/flame_06.png-0e1768302ebcb499c8fb111ba5d9294f.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=true
|
||||||
|
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
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=true
|
||||||
|
svg/scale=1.0
|
BIN
Sprites/Assets/grassPatch.png
Normal file
BIN
Sprites/Assets/grassPatch.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 213 B |
34
Sprites/Assets/grassPatch.png.import
Normal file
34
Sprites/Assets/grassPatch.png.import
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/grassPatch.png-26b875625595bc3b9c98a673f45928ec.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Sprites/Assets/grassPatch.png"
|
||||||
|
dest_files=[ "res://.import/grassPatch.png-26b875625595bc3b9c98a673f45928ec.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
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
BIN
Sprites/Assets/light_02.png
Normal file
BIN
Sprites/Assets/light_02.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 91 KiB |
34
Sprites/Assets/light_02.png.import
Normal file
34
Sprites/Assets/light_02.png.import
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/light_02.png-a749081350ad8cf3ce1f5f90fee6215e.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Sprites/Assets/light_02.png"
|
||||||
|
dest_files=[ "res://.import/light_02.png-a749081350ad8cf3ce1f5f90fee6215e.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=true
|
||||||
|
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
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=true
|
||||||
|
svg/scale=1.0
|
@@ -28,7 +28,6 @@ process/fix_alpha_border=false
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
|
@@ -28,7 +28,6 @@ process/fix_alpha_border=false
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
|
@@ -28,7 +28,6 @@ process/fix_alpha_border=false
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
|
@@ -28,7 +28,6 @@ process/fix_alpha_border=false
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
|
@@ -28,7 +28,6 @@ process/fix_alpha_border=false
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
|
@@ -28,7 +28,6 @@ process/fix_alpha_border=false
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
|
BIN
Sprites/Enemies/Projectiles/Iceball_84x9.png
Normal file
BIN
Sprites/Enemies/Projectiles/Iceball_84x9.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.5 KiB |
34
Sprites/Enemies/Projectiles/Iceball_84x9.png.import
Normal file
34
Sprites/Enemies/Projectiles/Iceball_84x9.png.import
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/Iceball_84x9.png-e40a7495b0d0fcda595787c0ec9f0f01.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Sprites/Enemies/Projectiles/Iceball_84x9.png"
|
||||||
|
dest_files=[ "res://.import/Iceball_84x9.png-e40a7495b0d0fcda595787c0ec9f0f01.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
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
@@ -28,7 +28,6 @@ process/fix_alpha_border=false
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
|
@@ -28,7 +28,6 @@ process/fix_alpha_border=false
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
|
@@ -28,7 +28,6 @@ process/fix_alpha_border=false
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
|
@@ -28,7 +28,6 @@ process/fix_alpha_border=false
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
|
@@ -28,7 +28,6 @@ process/fix_alpha_border=false
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
|
@@ -28,7 +28,6 @@ process/fix_alpha_border=false
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
|
@@ -28,7 +28,6 @@ process/fix_alpha_border=false
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
|
@@ -28,7 +28,6 @@ process/fix_alpha_border=false
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
|
@@ -28,7 +28,6 @@ process/fix_alpha_border=false
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
|
@@ -28,7 +28,6 @@ process/fix_alpha_border=false
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
|
@@ -28,7 +28,6 @@ process/fix_alpha_border=false
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
|
@@ -28,7 +28,6 @@ process/fix_alpha_border=false
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
|
@@ -28,7 +28,6 @@ process/fix_alpha_border=false
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
|
@@ -28,7 +28,6 @@ process/fix_alpha_border=false
|
|||||||
process/premult_alpha=false
|
process/premult_alpha=false
|
||||||
process/HDR_as_SRGB=false
|
process/HDR_as_SRGB=false
|
||||||
process/invert_color=false
|
process/invert_color=false
|
||||||
process/normal_map_invert_y=false
|
|
||||||
stream=false
|
stream=false
|
||||||
size_limit=0
|
size_limit=0
|
||||||
detect_3d=false
|
detect_3d=false
|
||||||
|
@@ -47,19 +47,17 @@ player_up={
|
|||||||
player_down={
|
player_down={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"unicode":0,"echo":false,"script":null)
|
||||||
|
]
|
||||||
|
}
|
||||||
|
screenshot={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777245,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
player_attack={
|
player_attack={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null)
|
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"unicode":0,"echo":false,"script":null)
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"unicode":0,"echo":false,"script":null)
|
||||||
|
|
||||||
]
|
|
||||||
}
|
|
||||||
screenshot={
|
|
||||||
"deadzone": 0.5,
|
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777245,"unicode":0,"echo":false,"script":null)
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user