Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 2D Assets/transformers/transformer_A-Photoroom.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://cgl53seeldvkw"
path="res://.godot/imported/transformer_A-Photoroom.png-6c1550eb71993168fa73cc44f06db8e8.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://2D Assets/transformers/transformer_A-Photoroom.png"
dest_files=["res://.godot/imported/transformer_A-Photoroom.png-6c1550eb71993168fa73cc44f06db8e8.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 2D Assets/transformers/transformer_A.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 2D Assets/transformers/transformer_A.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://b5c5u8ey1w2g1"
path="res://.godot/imported/transformer_A.png-83ed558d54b5db2719affd81c9c39a6e.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://2D Assets/transformers/transformer_A.png"
dest_files=["res://.godot/imported/transformer_A.png-83ed558d54b5db2719affd81c9c39a6e.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
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 2D Assets/transformers/transformer_B-Photoroom.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://dtppipj5vh7yx"
path="res://.godot/imported/transformer_B-Photoroom.png-611cce77c02e838f98037e3cc51ce53d.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://2D Assets/transformers/transformer_B-Photoroom.png"
dest_files=["res://.godot/imported/transformer_B-Photoroom.png-611cce77c02e838f98037e3cc51ce53d.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 2D Assets/transformers/transformer_B.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 2D Assets/transformers/transformer_B.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://uogw8a5da51y"
path="res://.godot/imported/transformer_B.png-f827aedac76be1313103b9e905422cf0.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://2D Assets/transformers/transformer_B.png"
dest_files=["res://.godot/imported/transformer_B.png-f827aedac76be1313103b9e905422cf0.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 Fonts/Sigmar-Regular.ttf
Binary file not shown.
34 changes: 34 additions & 0 deletions Fonts/Sigmar-Regular.ttf.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="font_data_dynamic"
type="FontFile"
uid="uid://btxwuo5y3bcni"
path="res://.godot/imported/Sigmar-Regular.ttf-95abda0cc5f508def45eed9e74058229.fontdata"

[deps]

source_file="res://Fonts/Sigmar-Regular.ttf"
dest_files=["res://.godot/imported/Sigmar-Regular.ttf-95abda0cc5f508def45eed9e74058229.fontdata"]

[params]

Rendering=null
antialiasing=1
generate_mipmaps=false
disable_embedded_bitmaps=true
multichannel_signed_distance_field=false
msdf_pixel_range=8
msdf_size=48
allow_system_fallback=true
force_autohinter=false
hinting=1
subpixel_positioning=1
oversampling=0.0
Fallbacks=null
fallbacks=[]
Compress=null
compress=true
preload=[]
language_support={}
script_support={}
opentype_features={}
29 changes: 29 additions & 0 deletions Scenes/alt_sinks.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[gd_scene load_steps=4 format=3 uid="uid://d1aemkotig1oa"]

[ext_resource type="Script" path="res://Scripts/alt_sinks.gd" id="1_x2mkc"]
[ext_resource type="Script" path="res://Scripts/event_box_clickable.gd" id="2_vwwes"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_i7ega"]
size = Vector2(420.37, 243.111)

[node name="Alt_sinks" type="Sprite2D"]
scale = Vector2(0.54, 0.54)
script = ExtResource("1_x2mkc")
sinkType = "Red"

[node name="Alt_sink_area" type="Area2D" parent="."]
script = ExtResource("2_vwwes")

[node name="CollisionShape2D" type="CollisionShape2D" parent="Alt_sink_area"]
position = Vector2(1.85186, -0.462963)
scale = Vector2(0.995, 0.995)
shape = SubResource("RectangleShape2D_i7ega")

[node name="Panel" type="Panel" parent="."]
offset_right = 40.0
offset_bottom = 40.0

[node name="RichTextLabel" type="RichTextLabel" parent="Panel"]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
81 changes: 81 additions & 0 deletions Scenes/another_level.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
[gd_scene load_steps=9 format=3 uid="uid://lm132yqd2mok"]

[ext_resource type="Texture2D" uid="uid://crbbdu26tlg2k" path="res://2D Assets/background.png" id="1_p2ayk"]
[ext_resource type="PackedScene" uid="uid://d1aemkotig1oa" path="res://Scenes/alt_sinks.tscn" id="1_ui11a"]
[ext_resource type="PackedScene" uid="uid://ow36qogie5w4" path="res://Scenes/source.tscn" id="2_nxu3u"]
[ext_resource type="Script" path="res://Scripts/event_button.gd" id="3_7lcje"]
[ext_resource type="FontFile" uid="uid://btxwuo5y3bcni" path="res://Fonts/Sigmar-Regular.ttf" id="4_41ki5"]
[ext_resource type="PackedScene" uid="uid://cuopmfdfv28sw" path="res://Scenes/draggable_transformer.tscn" id="5_vqv0r"]
[ext_resource type="PackedScene" uid="uid://bquha0225l1ju" path="res://Scenes/draggable_filter_blue.tscn" id="7_u8lon"]

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2vyfm"]
bg_color = Color(0.205842, 0.197159, 0.280285, 1)
corner_radius_top_left = 15
corner_radius_top_right = 15
corner_radius_bottom_right = 15
corner_radius_bottom_left = 15

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

[node name="Sprite2D" type="Sprite2D" parent="."]
z_index = -2
position = Vector2(605, 394)
texture = ExtResource("1_p2ayk")

[node name="Alt_sinks" parent="." instance=ExtResource("1_ui11a")]
position = Vector2(981, 552)
scale = Vector2(0.365, 0.365)
sourcePosition = Vector2(502.833, 131.333)

[node name="Alt_sinks3" parent="." instance=ExtResource("1_ui11a")]
position = Vector2(537, 576)
scale = Vector2(0.365, 0.365)
sourcePosition = Vector2(502.833, 131.333)

[node name="Alt_sinks2" parent="." instance=ExtResource("1_ui11a")]
position = Vector2(214, 544)
scale = Vector2(0.365, 0.365)
sourcePosition = Vector2(502.833, 131.333)
sinkType = "Green"

[node name="Source" parent="." instance=ExtResource("2_nxu3u")]
modulate = Color(0.521141, 0.521141, 0.521141, 1)
position = Vector2(520, 162)
scale = Vector2(0.6, 0.6)

[node name="Control" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_left = 1526.67
offset_top = 761.667
offset_right = 1566.67
offset_bottom = 801.667
script = ExtResource("3_7lcje")

[node name="Button" type="Button" parent="Control"]
layout_mode = 0
offset_left = -762.67
offset_top = -684.667
offset_right = -420.67
offset_bottom = -552.667
theme_override_styles/normal = SubResource("StyleBoxFlat_2vyfm")

[node name="RichTextLabel" type="RichTextLabel" parent="Control/Button"]
layout_mode = 0
offset_left = 4.99652
offset_top = 23.333
offset_right = 342.997
offset_bottom = 125.333
mouse_filter = 2
theme_override_fonts/normal_font = ExtResource("4_41ki5")
theme_override_font_sizes/normal_font_size = 50
bbcode_enabled = true
text = "[center]START"

[node name="DraggableTransformerReder_red" parent="." instance=ExtResource("5_vqv0r")]
position = Vector2(278, 298)

[node name="Draggable Filter" parent="." instance=ExtResource("7_u8lon")]
position = Vector2(800.333, 358)

[connection signal="pressed" from="Control/Button" to="Control" method="_on_button_pressed"]
56 changes: 55 additions & 1 deletion Scenes/boxClick.tscn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[gd_scene load_steps=13 format=3 uid="uid://c8lin6dur1umi"]
[gd_scene load_steps=16 format=3 uid="uid://c8lin6dur1umi"]

[ext_resource type="Texture2D" uid="uid://crbbdu26tlg2k" path="res://2D Assets/background.png" id="1_fdm6s"]
[ext_resource type="Texture2D" uid="uid://dlnjpu1sbekqf" path="res://2D Assets/conveyer texture.png" id="2_ocbiy"]
Expand All @@ -11,10 +11,25 @@
[ext_resource type="Texture2D" uid="uid://cs6prh1shv4bh" path="res://2D Assets/funnels/blueFunnel.png" id="10_w4xqm"]
[ext_resource type="Script" path="res://Scripts/draggable_filter.gd" id="10_xwwl6"]
[ext_resource type="Texture2D" uid="uid://bpkn0kgyf867u" path="res://2D Assets/funnels/redFunnel.png" id="11_2hn41"]
[ext_resource type="FontFile" uid="uid://btxwuo5y3bcni" path="res://Fonts/Sigmar-Regular.ttf" id="11_qmrvh"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_e8kq8"]
size = Vector2(160, 185)

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_yukuu"]
bg_color = Color(0.396802, 0.593587, 0.949038, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ahp62"]
bg_color = Color(0.900372, 0.458096, 0.249774, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5

[node name="base" type="Node2D"]
scale = Vector2(0.6, 0.6)

Expand Down Expand Up @@ -103,6 +118,25 @@ shape = SubResource("RectangleShape2D_e8kq8")
position = Vector2(0.333374, 0.333313)
texture = ExtResource("10_w4xqm")

[node name="Panel" type="Panel" parent="Draggable Filter"]
visible = false
offset_left = 71.667
offset_top = -120.0
offset_right = 249.667
offset_bottom = -62.0
theme_override_styles/panel = SubResource("StyleBoxFlat_yukuu")

[node name="RichTextLabel" type="RichTextLabel" parent="Draggable Filter/Panel"]
layout_mode = 0
offset_left = 13.3333
offset_top = 10.0
offset_right = 163.333
offset_bottom = 50.0
theme_override_fonts/normal_font = ExtResource("11_qmrvh")
theme_override_font_sizes/normal_font_size = 22
bbcode_enabled = true
text = "BLUE FILTER"

[node name="Draggable Filter2" type="Area2D" parent="."]
position = Vector2(286.667, 431.667)
script = ExtResource("10_xwwl6")
Expand All @@ -116,6 +150,26 @@ shape = SubResource("RectangleShape2D_e8kq8")
position = Vector2(0.333374, 0.333313)
texture = ExtResource("11_2hn41")

[node name="Panel" type="Panel" parent="Draggable Filter2"]
visible = false
offset_left = 84.9997
offset_top = -115.0
offset_right = 263.0
offset_bottom = -57.0003
theme_override_styles/panel = SubResource("StyleBoxFlat_ahp62")

[node name="RichTextLabel" type="RichTextLabel" parent="Draggable Filter2/Panel"]
layout_mode = 0
offset_left = 25.0
offset_top = 10.0
offset_right = 175.0
offset_bottom = 50.0
theme_override_fonts/normal_font = ExtResource("11_qmrvh")
theme_override_font_sizes/bold_italics_font_size = 10
theme_override_font_sizes/normal_font_size = 22
bbcode_enabled = true
text = "RED FILTER"

[connection signal="pressed" from="Control/Button" to="Control" method="_on_button_pressed"]
[connection signal="pressed" from="Control2/Button" to="Control2" method="_on_button_pressed"]
[connection signal="area_entered" from="Draggable Filter" to="Draggable Filter" method="_on_area_entered"]
Expand Down
Loading