Skip to content

Commit

Permalink
v1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ReloadedK-git committed Dec 24, 2023
1 parent f3e999e commit e4ad674
Show file tree
Hide file tree
Showing 51 changed files with 1,359 additions and 126 deletions.
Binary file added Graphics/Sprites/Collectables/sprOrb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions Graphics/Sprites/Collectables/sprOrb.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://boyplbrlfxs2r"
path="res://.godot/imported/sprOrb.png-0eac0982d6211617c8157565039e843a.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://Graphics/Sprites/Collectables/sprOrb.png"
dest_files=["res://.godot/imported/sprOrb.png-0eac0982d6211617c8157565039e843a.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Binary file added Graphics/Sprites/Hazards/sprLaserBeam.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions Graphics/Sprites/Hazards/sprLaserBeam.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://dsk1yw0sff3bo"
path="res://.godot/imported/sprLaserBeam.png-5cadab7b50537520973ff3f0870545ea.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://Graphics/Sprites/Hazards/sprLaserBeam.png"
dest_files=["res://.godot/imported/sprLaserBeam.png-5cadab7b50537520973ff3f0870545ea.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Binary file added Graphics/Sprites/Hazards/sprLaserMask.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions Graphics/Sprites/Hazards/sprLaserMask.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://0ikbx7jpykgk"
path="res://.godot/imported/sprLaserMask.png-37d08ea6d0a4f9bbd4d294e85efe7321.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://Graphics/Sprites/Hazards/sprLaserMask.png"
dest_files=["res://.godot/imported/sprLaserMask.png-37d08ea6d0a4f9bbd4d294e85efe7321.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
21 changes: 12 additions & 9 deletions Objects/Backgrounds/Specific_backgrounds/objBackgroundMenus.tscn
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
[gd_scene load_steps=3 format=3]
[gd_scene load_steps=4 format=3 uid="uid://dihcyhsflfr2g"]

[ext_resource type="Script" path="res://Scripts/Backgrounds/scrBackgroundMenus.gd" id="1_skdyl"]
[ext_resource type="Shader" path="res://Scripts/Shaders/shScrollMotion.gdshader" id="1_ainbh"]
[ext_resource type="Texture2D" uid="uid://dlit77pi2a0te" path="res://Graphics/Backgrounds/bckPixelStarfield.png" id="2_1odoo"]

[node name="objMainMenuBackground" type="ParallaxBackground"]
scroll_ignore_camera_zoom = true
script = ExtResource("1_skdyl")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_b4k22"]
shader = ExtResource("1_ainbh")
shader_parameter/motion = Vector2(80, 0)
shader_parameter/scale = 1.0
shader_parameter/offset = Vector2(0, 0)

[node name="objBackgroundMenus" type="Node2D"]

[node name="ColorRect" type="ColorRect" parent="."]
offset_right = 800.0
offset_bottom = 608.0
color = Color(0, 0, 0, 1)

[node name="ParallaxLayer" type="ParallaxLayer" parent="."]
motion_mirroring = Vector2(200, 0)

[node name="TextureRect" type="TextureRect" parent="ParallaxLayer"]
[node name="TextureRect" type="TextureRect" parent="."]
texture_repeat = 2
material = SubResource("ShaderMaterial_b4k22")
offset_right = 800.0
offset_bottom = 608.0
texture = ExtResource("2_1odoo")
Expand Down
Empty file modified Objects/Backgrounds/objBackgroundScrolling.tscn
100755 → 100644
Empty file.
Empty file modified Objects/Collectables/objCollectableItem.tscn
100755 → 100644
Empty file.
4 changes: 3 additions & 1 deletion Objects/Dialog_system/objSign.tscn
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[gd_scene load_steps=5 format=3]
[gd_scene load_steps=5 format=3 uid="uid://d2676jrukcata"]

[ext_resource type="Script" path="res://Scripts/Dialog/scrSign.gd" id="1_2joc5"]
[ext_resource type="Texture2D" uid="uid://ox7qqy44wanl" path="res://Graphics/Sprites/Dialog_system/sprSign.png" id="1_86i65"]
Expand All @@ -8,9 +8,11 @@
size = Vector2(32, 32)

[node name="objSign" type="Area2D"]
collision_layer = 0
script = ExtResource("1_2joc5")

[node name="Sprite2D" type="Sprite2D" parent="."]
z_index = 1
texture = ExtResource("1_86i65")

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
Expand Down
Empty file modified Objects/Gimmicks/objCoin.tscn
100755 → 100644
Empty file.
2 changes: 2 additions & 0 deletions Objects/Gimmicks/objMovingPlatform.tscn
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ script = ExtResource("1_5ngkx")

[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_12dda")
offset = Vector2(0, 8)

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, 8)
shape = SubResource("RectangleShape2D_5cfgk")
one_way_collision = true
30 changes: 30 additions & 0 deletions Objects/Hazards/objLaserDynamic.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[gd_scene load_steps=4 format=3 uid="uid://cp85j3jgqvoma"]

[ext_resource type="Texture2D" uid="uid://dsk1yw0sff3bo" path="res://Graphics/Sprites/Hazards/sprLaserBeam.png" id="1_5flvw"]
[ext_resource type="Script" path="res://Scripts/Hazards/scrLaserDynamic.gd" id="1_dytci"]
[ext_resource type="Texture2D" uid="uid://0ikbx7jpykgk" path="res://Graphics/Sprites/Hazards/sprLaserMask.png" id="2_308sr"]

[node name="objLaserDynamic" type="Node2D"]
script = ExtResource("1_dytci")

[node name="laserComponents" type="Node2D" parent="."]

[node name="RayCast2D" type="RayCast2D" parent="laserComponents"]
target_position = Vector2(0, 0)
collision_mask = 3
hit_from_inside = true

[node name="Sprite2D" type="Sprite2D" parent="laserComponents"]
z_index = -1
texture_repeat = 2
texture = ExtResource("1_5flvw")
centered = false
offset = Vector2(-8, -7)
region_enabled = true
region_rect = Rect2(-8, 0, 8, 14)

[node name="Sprite2D2" type="Sprite2D" parent="laserComponents"]
z_index = 1
texture = ExtResource("2_308sr")

[node name="beamTarget" type="Marker2D" parent="."]
29 changes: 29 additions & 0 deletions Objects/Hazards/objLaserStatic.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[gd_scene load_steps=4 format=3 uid="uid://dflbh74106rum"]

[ext_resource type="Script" path="res://Scripts/Hazards/scrLaserStatic.gd" id="1_umlje"]
[ext_resource type="Texture2D" uid="uid://dsk1yw0sff3bo" path="res://Graphics/Sprites/Hazards/sprLaserBeam.png" id="2_owvxd"]
[ext_resource type="Texture2D" uid="uid://0ikbx7jpykgk" path="res://Graphics/Sprites/Hazards/sprLaserMask.png" id="3_xgkpo"]

[node name="objLaserStatic" type="Node2D"]
script = ExtResource("1_umlje")

[node name="laserComponents" type="Node2D" parent="."]

[node name="RayCast2D" type="RayCast2D" parent="laserComponents"]
target_position = Vector2(0, 0)
hit_from_inside = true

[node name="Sprite2D" type="Sprite2D" parent="laserComponents"]
z_index = -1
texture_repeat = 2
texture = ExtResource("2_owvxd")
centered = false
offset = Vector2(-8, -7)
region_enabled = true
region_rect = Rect2(-47.5, 0, 8, 14)

[node name="Sprite2D2" type="Sprite2D" parent="laserComponents"]
z_index = 1
texture = ExtResource("3_xgkpo")

[node name="beamTarget" type="Marker2D" parent="."]
1 change: 1 addition & 0 deletions Objects/Room_objects/objCameraDynamic.tscn
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[ext_resource type="Texture2D" uid="uid://b6wjn6wemp8tk" path="res://Graphics/Sprites/Room_objects/sprCamera.png" id="2_uq2mm"]

[node name="objCameraDynamic" type="Camera2D"]
process_callback = 0
script = ExtResource("1_335kd")

[node name="Sprite2D" type="Sprite2D" parent="."]
Expand Down
1 change: 1 addition & 0 deletions Objects/Room_objects/objCameraFixed.tscn
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[ext_resource type="Texture2D" uid="uid://b6wjn6wemp8tk" path="res://Graphics/Sprites/Room_objects/sprCamera.png" id="1_dxfkf"]

[node name="objCameraFixed" type="Camera2D"]
process_callback = 0
script = ExtResource("1_70ng6")

[node name="Sprite2D" type="Sprite2D" parent="."]
Expand Down
Empty file modified Objects/Room_objects/objSaveBlocker.tscn
100755 → 100644
Empty file.
46 changes: 46 additions & 0 deletions Objects/Room_objects/objSignProximity.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
[gd_scene load_steps=5 format=3 uid="uid://cu54hxafh2i6t"]

[ext_resource type="Script" path="res://Scripts/Room_objects/scrSignProximity.gd" id="1_8wc6x"]
[ext_resource type="Texture2D" uid="uid://ox7qqy44wanl" path="res://Graphics/Sprites/Dialog_system/sprSign.png" id="2_knnk8"]
[ext_resource type="FontFile" uid="uid://4m283seugry" path="res://Graphics/Fonts/NFPixels-Regular.otf" id="3_mwrcr"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_gjj3h"]
size = Vector2(32, 32)

[node name="objSignProximity" type="Area2D"]
script = ExtResource("1_8wc6x")

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_gjj3h")

[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2_knnk8")

[node name="Label" type="Label" parent="."]
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -112.0
offset_top = -56.0
offset_right = 112.0
offset_bottom = -32.0
grow_horizontal = 2
grow_vertical = 0
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
theme_override_constants/outline_size = 3
theme_override_fonts/font = ExtResource("3_mwrcr")
theme_override_font_sizes/font_size = 20
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2

[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
position = Vector2(9.53674e-07, -88)
scale = Vector2(11.2, 10.4)

[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="body_exited" from="." to="." method="_on_body_exited"]
[connection signal="screen_entered" from="VisibleOnScreenNotifier2D" to="." method="_on_visible_on_screen_notifier_2d_screen_entered"]
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]
45 changes: 43 additions & 2 deletions Objects/System/objHUD.tscn
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[gd_scene load_steps=4 format=3 uid="uid://cvx8in7r4d7ml"]
[gd_scene load_steps=5 format=3 uid="uid://cvx8in7r4d7ml"]

[ext_resource type="Script" path="res://Scripts/System/scrHUD.gd" id="1_mo0wy"]
[ext_resource type="FontFile" uid="uid://4m283seugry" path="res://Graphics/Fonts/NFPixels-Regular.otf" id="2_1aw6v"]
[ext_resource type="Texture2D" uid="uid://cs7d7k2kmj13y" path="res://Graphics/Sprites/Collectables/sprSecretItem.png" id="3_2my7r"]
[ext_resource type="Texture2D" uid="uid://dd3vx3fvdxdrh" path="res://Graphics/Sprites/Player/sprPlayerIdle.png" id="3_ncdqv"]

[node name="objHUD" type="Control"]
Expand All @@ -20,10 +21,11 @@ offset_top = 8.0
offset_right = -8.0
offset_bottom = 108.0
grow_horizontal = 0
pivot_offset = Vector2(184, 0)
theme_override_constants/margin_top = 0

[node name="Panel" type="Panel" parent="Display/MarginContainer"]
custom_minimum_size = Vector2(100, 100)
custom_minimum_size = Vector2(112, 96)
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 5.73
Expand Down Expand Up @@ -62,8 +64,47 @@ theme_override_font_sizes/font_size = 20
text = "Room Name"
horizontal_alignment = 2

[node name="MarginContainer2" type="MarginContainer" parent="Display"]
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 8.0
offset_top = -72.0
offset_right = 200.0
offset_bottom = -8.0
grow_vertical = 0
pivot_offset = Vector2(0, 64)

[node name="Panel" type="Panel" parent="Display/MarginContainer2"]
layout_mode = 2

[node name="Sprite2D" type="Sprite2D" parent="Display/MarginContainer2/Panel"]
position = Vector2(24, 32)
texture = ExtResource("3_2my7r")

[node name="Label" type="Label" parent="Display/MarginContainer2/Panel"]
layout_mode = 0
offset_left = 48.0
offset_right = 192.0
offset_bottom = 64.0
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
theme_override_constants/outline_size = 3
theme_override_fonts/font = ExtResource("2_1aw6v")
theme_override_font_sizes/font_size = 20
text = "Item info"
vertical_alignment = 1
autowrap_mode = 2
clip_text = true

[node name="Timer" type="Timer" parent="Display/MarginContainer2"]
process_callback = 0
wait_time = 5.0
one_shot = true

[node name="Sprite2D" type="Sprite2D" parent="."]
modulate = Color(1, 1, 1, 0.392157)
z_index = 100
texture = ExtResource("3_ncdqv")
hframes = 4

[connection signal="timeout" from="Display/MarginContainer2/Timer" to="." method="_on_timer_timeout"]
Loading

0 comments on commit e4ad674

Please sign in to comment.