Skip to content

Commit 1db9de0

Browse files
committed
Added no-texture checkpoint
1 parent f0e5052 commit 1db9de0

File tree

14 files changed

+192
-44
lines changed

14 files changed

+192
-44
lines changed
127 Bytes
Loading
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[remap]
2+
3+
importer="texture"
4+
type="CompressedTexture2D"
5+
uid="uid://csxmfohsd6u87"
6+
path="res://.godot/imported/BigDroneParticle.png-87c73bbbe21e2c2e6fc1271bd9cb4383.ctex"
7+
metadata={
8+
"vram_texture": false
9+
}
10+
11+
[deps]
12+
13+
source_file="res://Assets/Images/Objects/BigDroneParticle.png"
14+
dest_files=["res://.godot/imported/BigDroneParticle.png-87c73bbbe21e2c2e6fc1271bd9cb4383.ctex"]
15+
16+
[params]
17+
18+
compress/mode=0
19+
compress/high_quality=false
20+
compress/lossy_quality=0.7
21+
compress/hdr_compression=1
22+
compress/normal_map=0
23+
compress/channel_pack=0
24+
mipmaps/generate=false
25+
mipmaps/limit=-1
26+
roughness/mode=0
27+
roughness/src_normal=""
28+
process/fix_alpha_border=true
29+
process/premult_alpha=false
30+
process/normal_map_invert_y=false
31+
process/hdr_as_srgb=false
32+
process/hdr_clamp_exposure=false
33+
process/size_limit=0
34+
detect_3d/compress_to=1
3.37 KB
Loading
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[remap]
2+
3+
importer="texture"
4+
type="CompressedTexture2D"
5+
uid="uid://dpkebxe2qa4tu"
6+
path="res://.godot/imported/BigDroneSpritesheet.png-4070104e5136d2176ae0e52bfb0887ae.ctex"
7+
metadata={
8+
"vram_texture": false
9+
}
10+
11+
[deps]
12+
13+
source_file="res://Assets/Images/Objects/BigDroneSpritesheet.png"
14+
dest_files=["res://.godot/imported/BigDroneSpritesheet.png-4070104e5136d2176ae0e52bfb0887ae.ctex"]
15+
16+
[params]
17+
18+
compress/mode=0
19+
compress/high_quality=false
20+
compress/lossy_quality=0.7
21+
compress/hdr_compression=1
22+
compress/normal_map=0
23+
compress/channel_pack=0
24+
mipmaps/generate=false
25+
mipmaps/limit=-1
26+
roughness/mode=0
27+
roughness/src_normal=""
28+
process/fix_alpha_border=true
29+
process/premult_alpha=false
30+
process/normal_map_invert_y=false
31+
process/hdr_as_srgb=false
32+
process/hdr_clamp_exposure=false
33+
process/size_limit=0
34+
detect_3d/compress_to=1

Levels/Playable/Level3/Floor1.tscn

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[gd_scene load_steps=30 format=3 uid="uid://csninrbdqanot"]
1+
[gd_scene load_steps=31 format=3 uid="uid://csninrbdqanot"]
22

33
[ext_resource type="Script" path="res://Scripts/LevelScripts/LevelManager.gd" id="1_2k2wj"]
44
[ext_resource type="Texture2D" uid="uid://ihc38o5sadbo" path="res://Assets/Images/Objects/WorkerHelmetProp.png" id="2_d4qao"]
@@ -20,6 +20,7 @@
2020
[ext_resource type="PackedScene" uid="uid://cm566haiwff2j" path="res://Objects/StaticObjects/Floodlight.tscn" id="18_dmsa8"]
2121
[ext_resource type="PackedScene" uid="uid://dvftqxgnkhk7v" path="res://Objects/StaticObjects/WallTurret.tscn" id="19_oxovb"]
2222
[ext_resource type="PackedScene" uid="uid://bqy1gmd6wwrqx" path="res://Objects/StaticObjects/LargeDrone.tscn" id="20_pkmjd"]
23+
[ext_resource type="PackedScene" uid="uid://kupdltxkw0wt" path="res://Objects/StaticObjects/Checkpoint.tscn" id="21_o2r4d"]
2324

2425
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_yd36w"]
2526
texture = ExtResource("2_pcvgh")
@@ -180,7 +181,7 @@ size = Vector2(206, 520)
180181

181182
[node name="Level3" type="Node2D"]
182183
script = ExtResource("1_2k2wj")
183-
level = 1
184+
level = 2
184185

185186
[node name="Decorations" type="TileMap" parent="."]
186187
tile_set = SubResource("TileSet_dgxbs")
@@ -265,7 +266,7 @@ position = Vector2(-879, -312)
265266

266267
[node name="DronePatrolPoints" parent="DroneManager" index="1"]
267268
visible = false
268-
points = PackedVector2Array(0, 98, 0, 213, 410, 215, 416, -114, 249, -116)
269+
points = PackedVector2Array(0, 213, 410, 215, 416, -114, 249, -116)
269270

270271
[node name="WeaponDetected" parent="DroneManager" index="7"]
271272
bus = &"Master"
@@ -529,6 +530,9 @@ position = Vector2(-336, -187)
529530
visible = false
530531
points = PackedVector2Array(2, 140, -555, 144, 251, 153, 83, -213)
531532

533+
[node name="Checkpoint" parent="." instance=ExtResource("21_o2r4d")]
534+
position = Vector2(-3717, -784)
535+
532536
[connection signal="area_entered" from="NextLevel" to="NextLevel" method="_on_area_entered"]
533537
[connection signal="finished" from="AmbiantBackground" to="." method="_on_ambiant_background_finished"]
534538

Objects/Player.tscn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ height = 1
143143
offsets = PackedFloat32Array(0, 0.197279, 0.326531, 0.707483, 0.965986)
144144
colors = PackedColorArray(0.137255, 0.129412, 1, 1, 1, 1, 1, 1, 1, 0.773333, 0.15, 1, 0.670588, 0, 0, 0.654902, 1, 0, 0, 0)
145145

146-
[sub_resource type="GradientTexture1D" id="GradientTexture1D_3yeic"]
146+
[sub_resource type="GradientTexture1D" id="GradientTexture1D_ajew4"]
147147
gradient = SubResource("Gradient_xg2ih")
148148

149149
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_nvq35"]
@@ -161,7 +161,7 @@ gravity = Vector3(0, 500, 0)
161161
scale_min = 0.0
162162
scale_max = 0.8
163163
color = Color(1, 1, 1, 0.607843)
164-
color_ramp = SubResource("GradientTexture1D_3yeic")
164+
color_ramp = SubResource("GradientTexture1D_ajew4")
165165

166166
[sub_resource type="Gradient" id="Gradient_sgf2g"]
167167
colors = PackedColorArray(1, 1, 1, 1, 0, 0, 0, 0)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[gd_scene load_steps=2 format=3 uid="uid://kupdltxkw0wt"]
2+
3+
[ext_resource type="Texture2D" uid="uid://dcfkiv764iaqk" path="res://Assets/Images/Objects/PlaceHolder1-1.png" id="1_83nyy"]
4+
5+
[node name="Checkpoint" type="Node2D"]
6+
7+
[node name="CheckpointSprite" type="Sprite2D" parent="."]
8+
texture = ExtResource("1_83nyy")
9+
10+
[node name="CheckpointCollision" type="Area2D" parent="."]
11+
12+
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="CheckpointCollision"]
13+
polygon = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)

Objects/StaticObjects/GrappleHook.tscn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ script = ExtResource("1_x5bcy")
1818
shape = SubResource("RectangleShape2D_sw17c")
1919

2020
[node name="PlaceHolder1-1" type="Sprite2D" parent="."]
21+
self_modulate = Color(3, 3, 3, 1)
2122
position = Vector2(-1, -4)
2223
texture = ExtResource("2_c6k1s")
2324

Objects/StaticObjects/LargeDrone.tscn

Lines changed: 67 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,36 @@
1-
[gd_scene load_steps=14 format=3 uid="uid://bqy1gmd6wwrqx"]
1+
[gd_scene load_steps=16 format=3 uid="uid://bqy1gmd6wwrqx"]
22

33
[ext_resource type="Script" path="res://Scripts/ObjectScripts/DroneManager.gd" id="1_fhp4c"]
4-
[ext_resource type="Texture2D" uid="uid://dp40aepcpmf30" path="res://Assets/Images/Objects/DroneSpritesheet.png" id="2_v1ycp"]
4+
[ext_resource type="Texture2D" uid="uid://dpkebxe2qa4tu" path="res://Assets/Images/Objects/BigDroneSpritesheet.png" id="2_6x22x"]
5+
[ext_resource type="Texture2D" uid="uid://failsjwtufog" path="res://Assets/Images/Objects/FireParticle1.png" id="3_k4xbe"]
56

6-
[sub_resource type="AtlasTexture" id="AtlasTexture_gp4jj"]
7-
atlas = ExtResource("2_v1ycp")
8-
region = Rect2(0, 0, 32, 32)
7+
[sub_resource type="AtlasTexture" id="AtlasTexture_sodd7"]
8+
atlas = ExtResource("2_6x22x")
9+
region = Rect2(0, 0, 128, 64)
910

10-
[sub_resource type="AtlasTexture" id="AtlasTexture_b36qc"]
11-
atlas = ExtResource("2_v1ycp")
12-
region = Rect2(0, 32, 32, 32)
11+
[sub_resource type="AtlasTexture" id="AtlasTexture_m6hsb"]
12+
atlas = ExtResource("2_6x22x")
13+
region = Rect2(0, 64, 128, 64)
1314

14-
[sub_resource type="AtlasTexture" id="AtlasTexture_d1na2"]
15-
atlas = ExtResource("2_v1ycp")
16-
region = Rect2(0, 64, 32, 32)
17-
18-
[sub_resource type="AtlasTexture" id="AtlasTexture_l6eb2"]
19-
atlas = ExtResource("2_v1ycp")
20-
region = Rect2(0, 96, 32, 32)
15+
[sub_resource type="AtlasTexture" id="AtlasTexture_336py"]
16+
atlas = ExtResource("2_6x22x")
17+
region = Rect2(0, 128, 128, 64)
2118

2219
[sub_resource type="SpriteFrames" id="SpriteFrames_okakp"]
2320
animations = [{
2421
"frames": [{
2522
"duration": 1.0,
26-
"texture": SubResource("AtlasTexture_gp4jj")
27-
}, {
28-
"duration": 1.0,
29-
"texture": SubResource("AtlasTexture_b36qc")
23+
"texture": SubResource("AtlasTexture_sodd7")
3024
}, {
3125
"duration": 1.0,
32-
"texture": SubResource("AtlasTexture_d1na2")
26+
"texture": SubResource("AtlasTexture_m6hsb")
3327
}, {
3428
"duration": 1.0,
35-
"texture": SubResource("AtlasTexture_l6eb2")
29+
"texture": SubResource("AtlasTexture_336py")
3630
}],
3731
"loop": true,
3832
"name": &"Idle",
39-
"speed": 20.0
33+
"speed": 17.0
4034
}]
4135

4236
[sub_resource type="Gradient" id="Gradient_2j5lc"]
@@ -68,8 +62,35 @@ colors = PackedColorArray(0.404511, 0.404511, 0.404511, 1, 1, 1, 1, 1)
6862
gradient = SubResource("Gradient_0awkx")
6963
width = 1
7064

71-
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4jc72"]
72-
size = Vector2(190, 22)
65+
[sub_resource type="Gradient" id="Gradient_c6iik"]
66+
offsets = PackedFloat32Array(0, 0.118081, 0.380074, 0.965986)
67+
colors = PackedColorArray(0.137255, 0.129412, 1, 1, 1, 0.772549, 0.14902, 0.235294, 0.670588, 0, 0, 0.333333, 1, 0, 0, 0)
68+
69+
[sub_resource type="GradientTexture1D" id="GradientTexture1D_udcty"]
70+
gradient = SubResource("Gradient_c6iik")
71+
72+
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_mev46"]
73+
lifetime_randomness = 0.1
74+
particle_flag_disable_z = true
75+
emission_shape = 3
76+
emission_box_extents = Vector3(2, 1, 1)
77+
angle_min = -720.0
78+
angle_max = 720.0
79+
direction = Vector3(0, 2, 0)
80+
spread = 22.209
81+
initial_velocity_min = 200.0
82+
initial_velocity_max = 300.0
83+
angular_velocity_min = -720.0
84+
angular_velocity_max = 720.0
85+
gravity = Vector3(0, -300, 0)
86+
damping_min = 59.678
87+
damping_max = 59.678
88+
scale_min = 0.0
89+
scale_max = 0.8
90+
color = Color(1, 1, 1, 0.607843)
91+
color_ramp = SubResource("GradientTexture1D_udcty")
92+
hue_variation_min = -0.01
93+
hue_variation_max = 0.01
7394

7495
[node name="DroneManager" type="Node2D"]
7596
script = ExtResource("1_fhp4c")
@@ -83,8 +104,6 @@ width = 2.0
83104
[node name="Drone" type="Node2D" parent="."]
84105

85106
[node name="DroneSpritesheet" type="AnimatedSprite2D" parent="Drone"]
86-
position = Vector2(0.249992, -10.25)
87-
scale = Vector2(5.95313, 0.703125)
88107
sprite_frames = SubResource("SpriteFrames_okakp")
89108
animation = &"Idle"
90109
autoplay = "Idle"
@@ -114,8 +133,27 @@ local_coords = true
114133

115134
[node name="DroneHitbox" type="CharacterBody2D" parent="Drone"]
116135

117-
[node name="CollisionShape2D" type="CollisionShape2D" parent="Drone/DroneHitbox"]
118-
position = Vector2(0, -10)
119-
shape = SubResource("RectangleShape2D_4jc72")
136+
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Drone/DroneHitbox"]
137+
polygon = PackedVector2Array(-32, 16, -24, 18, -15, 18, 0, 16, 15, 18, 24, 18, 32, 16, 32, 5, 49, -4, 49, -8, 32, -3, 32, -9, -32, -9, -32, -3, -50, -8, -50, -4, -32, 4)
138+
139+
[node name="FireParticlesBootsLeft" type="GPUParticles2D" parent="Drone"]
140+
self_modulate = Color(3, 3, 3, 1)
141+
position = Vector2(-20, 18)
142+
scale = Vector2(0.5, 0.5)
143+
amount = 100
144+
process_material = SubResource("ParticleProcessMaterial_mev46")
145+
texture = ExtResource("3_k4xbe")
146+
lifetime = 0.5
147+
explosiveness = 0.09
148+
149+
[node name="FireParticlesBootsRight" type="GPUParticles2D" parent="Drone"]
150+
self_modulate = Color(3, 3, 3, 1)
151+
position = Vector2(20, 18)
152+
scale = Vector2(0.5, 0.5)
153+
amount = 100
154+
process_material = SubResource("ParticleProcessMaterial_mev46")
155+
texture = ExtResource("3_k4xbe")
156+
lifetime = 0.5
157+
explosiveness = 0.09
120158

121159
[connection signal="area_entered" from="Drone/DroneHurtbox" to="." method="_on_drone_hurtbox_area_entered"]

Objects/StaticObjects/WallTurret.tscn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
[node name="WallTurret" type="Node2D"]
88
script = ExtResource("1_xu3ei")
9-
shoot_velocity = 2.0
9+
shoot_velocity = 6.0
1010

1111
[node name="Sprite2D" type="Sprite2D" parent="."]
1212
position = Vector2(7, 6)
@@ -17,5 +17,5 @@ position = Vector2(11, 9)
1717
texture = ExtResource("3_buj7f")
1818

1919
[node name="NewBulletTimer" type="Timer" parent="."]
20-
wait_time = 0.1
20+
wait_time = 0.8
2121
one_shot = true

0 commit comments

Comments
 (0)