Merge branch 'main' of github.com:MarcEricMartel/Game-Jam-A23
This commit is contained in:
commit
85d6d620b8
@ -11,10 +11,10 @@
|
|||||||
[node name="Decor" type="Node2D" parent="."]
|
[node name="Decor" type="Node2D" parent="."]
|
||||||
|
|
||||||
[node name="Enemy" parent="." instance=ExtResource("2_ftshv")]
|
[node name="Enemy" parent="." instance=ExtResource("2_ftshv")]
|
||||||
position = Vector2(998, 507)
|
position = Vector2(441, 312)
|
||||||
|
|
||||||
[node name="BatSpawnable" parent="." instance=ExtResource("3_a1ucf")]
|
[node name="BatSpawnable" parent="." instance=ExtResource("3_a1ucf")]
|
||||||
position = Vector2(805, 420)
|
position = Vector2(248, 225)
|
||||||
|
|
||||||
[node name="BatSpawnable2" parent="." instance=ExtResource("3_a1ucf")]
|
[node name="BatSpawnable2" parent="." instance=ExtResource("3_a1ucf")]
|
||||||
position = Vector2(1201, 446)
|
position = Vector2(644, 251)
|
||||||
|
@ -10,6 +10,8 @@ extends CharacterBody2D
|
|||||||
|
|
||||||
@onready var ai : Node = $AI
|
@onready var ai : Node = $AI
|
||||||
@onready var animatedSprite : AnimatedSprite2D = $AnimatedSprite2D
|
@onready var animatedSprite : AnimatedSprite2D = $AnimatedSprite2D
|
||||||
|
@onready var attackCollision : CollisionShape2D = $Attack/AttackCollision
|
||||||
|
@onready var damageCollision : CollisionShape2D = $Attack/DamageCollision
|
||||||
|
|
||||||
var isAlive : bool = true
|
var isAlive : bool = true
|
||||||
var isFacingLeft : bool = false
|
var isFacingLeft : bool = false
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
[gd_scene load_steps=58 format=3 uid="uid://b5lnjonlf4i1b"]
|
[gd_scene load_steps=57 format=3 uid="uid://b5lnjonlf4i1b"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://Scripts/Enemy.gd" id="1_xj62t"]
|
[ext_resource type="Script" path="res://Scripts/Enemy.gd" id="1_xj62t"]
|
||||||
[ext_resource type="Texture2D" uid="uid://xn7yb3f5w17m" path="res://Assets/Knight/noBKG_KnightAttack_strip.png" id="2_dclcl"]
|
[ext_resource type="Texture2D" uid="uid://xn7yb3f5w17m" path="res://Assets/Knight/noBKG_KnightAttack_strip.png" id="2_dclcl"]
|
||||||
@ -273,7 +273,7 @@ animations = [{
|
|||||||
"duration": 1.0,
|
"duration": 1.0,
|
||||||
"texture": SubResource("AtlasTexture_y20yo")
|
"texture": SubResource("AtlasTexture_y20yo")
|
||||||
}],
|
}],
|
||||||
"loop": false,
|
"loop": true,
|
||||||
"name": &"Die",
|
"name": &"Die",
|
||||||
"speed": 6.0
|
"speed": 6.0
|
||||||
}, {
|
}, {
|
||||||
@ -363,12 +363,6 @@ max_value = 200.0
|
|||||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.0153061, 183.158), 0.0, 0.0, 0, 0, Vector2(1, -98.9474), 0.0, 0.0, 0, 0]
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.0153061, 183.158), 0.0, 0.0, 0, 0, Vector2(1, -98.9474), 0.0, 0.0, 0, 0]
|
||||||
point_count = 3
|
point_count = 3
|
||||||
|
|
||||||
[sub_resource type="Curve" id="Curve_m1iqx"]
|
|
||||||
min_value = -360.0
|
|
||||||
max_value = 360.0
|
|
||||||
_data = [Vector2(1e-05, -276.632), 0.0, 0.0, 0, 0, Vector2(0.994898, 284.211), 0.0, 0.0, 0, 0]
|
|
||||||
point_count = 2
|
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_p2hkm"]
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_p2hkm"]
|
||||||
height = 38.0
|
height = 38.0
|
||||||
|
|
||||||
@ -377,6 +371,7 @@ radius = 16.0
|
|||||||
height = 72.0
|
height = 72.0
|
||||||
|
|
||||||
[node name="Enemy" type="CharacterBody2D"]
|
[node name="Enemy" type="CharacterBody2D"]
|
||||||
|
position = Vector2(10, 10)
|
||||||
collision_layer = 5
|
collision_layer = 5
|
||||||
collision_mask = 5
|
collision_mask = 5
|
||||||
script = ExtResource("1_xj62t")
|
script = ExtResource("1_xj62t")
|
||||||
@ -385,17 +380,18 @@ script = ExtResource("1_xj62t")
|
|||||||
sprite_frames = SubResource("SpriteFrames_dqf8u")
|
sprite_frames = SubResource("SpriteFrames_dqf8u")
|
||||||
animation = &"Idle"
|
animation = &"Idle"
|
||||||
autoplay = "Idle"
|
autoplay = "Idle"
|
||||||
|
frame_progress = 0.487368
|
||||||
flip_h = true
|
flip_h = true
|
||||||
|
|
||||||
[node name="Atk_cooldown" type="Timer" parent="."]
|
[node name="Atk_cooldown" type="Timer" parent="."]
|
||||||
autostart = true
|
autostart = true
|
||||||
|
|
||||||
[node name="LvlUp" type="CPUParticles2D" parent="."]
|
[node name="LvlUp" type="CPUParticles2D" parent="."]
|
||||||
modulate = Color(0.701961, 0.6, 0.133333, 1)
|
|
||||||
emitting = false
|
emitting = false
|
||||||
amount = 14
|
amount = 14
|
||||||
one_shot = true
|
one_shot = true
|
||||||
explosiveness = 0.24
|
explosiveness = 0.24
|
||||||
|
local_coords = true
|
||||||
texture = ExtResource("6_53bg1")
|
texture = ExtResource("6_53bg1")
|
||||||
emission_shape = 1
|
emission_shape = 1
|
||||||
emission_sphere_radius = 30.23
|
emission_sphere_radius = 30.23
|
||||||
@ -410,32 +406,12 @@ scale_amount_min = 0.01
|
|||||||
scale_amount_max = 0.01
|
scale_amount_max = 0.01
|
||||||
color = Color(1, 1, 1, 0.423529)
|
color = Color(1, 1, 1, 0.423529)
|
||||||
|
|
||||||
[node name="Hit" type="CPUParticles2D" parent="."]
|
|
||||||
emitting = false
|
|
||||||
amount = 10
|
|
||||||
lifetime = 0.2
|
|
||||||
one_shot = true
|
|
||||||
explosiveness = 0.55
|
|
||||||
randomness = 0.65
|
|
||||||
emission_shape = 1
|
|
||||||
emission_sphere_radius = 11.79
|
|
||||||
spread = 56.89
|
|
||||||
initial_velocity_max = 2.0
|
|
||||||
angular_velocity_min = 27.17
|
|
||||||
angular_velocity_max = 27.17
|
|
||||||
angular_velocity_curve = SubResource("Curve_m1iqx")
|
|
||||||
angle_max = 20.0
|
|
||||||
scale_amount_max = 3.0
|
|
||||||
color = Color(0.713726, 0, 0, 0.717647)
|
|
||||||
|
|
||||||
[node name="LvlUpSnd" type="AudioStreamPlayer2D" parent="."]
|
[node name="LvlUpSnd" type="AudioStreamPlayer2D" parent="."]
|
||||||
|
|
||||||
[node name="CharacterCollision" type="CollisionShape2D" parent="."]
|
[node name="CharacterCollision" type="CollisionShape2D" parent="."]
|
||||||
visible = false
|
|
||||||
shape = SubResource("CapsuleShape2D_p2hkm")
|
shape = SubResource("CapsuleShape2D_p2hkm")
|
||||||
|
|
||||||
[node name="AttackArea" type="Area2D" parent="."]
|
[node name="AttackArea" type="Area2D" parent="."]
|
||||||
visible = false
|
|
||||||
collision_layer = 2
|
collision_layer = 2
|
||||||
collision_mask = 2
|
collision_mask = 2
|
||||||
|
|
||||||
|
@ -17,9 +17,11 @@ config/icon="res://icon.svg"
|
|||||||
|
|
||||||
[display]
|
[display]
|
||||||
|
|
||||||
window/size/viewport_width=1920
|
window/size/viewport_width=960
|
||||||
window/size/viewport_height=1080
|
window/size/viewport_height=540
|
||||||
window/size/mode=3
|
window/size/mode=3
|
||||||
|
window/size/resizable=false
|
||||||
|
window/stretch/mode="viewport"
|
||||||
|
|
||||||
[rendering]
|
[rendering]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user