This commit is contained in:
megamichi 2025-02-11 19:47:33 +01:00
commit 1bae9f78bd
73 changed files with 6521 additions and 0 deletions

View file

@ -0,0 +1,9 @@
[orchestration type="OScript" load_steps=2 format=3 uid="uid://7877vrq5ltdr"]
[obj type="OScriptGraph" id="OScriptGraph_wx4gl"]
graph_name = &"EventGraph"
flags = 8
[resource]
base_type = &"Area2D"
graphs = Array[OScriptGraph]([SubResource("OScriptGraph_wx4gl")])

View file

@ -0,0 +1,7 @@
extends TextureButton
func _on_pressed() -> void:
$puff.emitting = true

View file

@ -0,0 +1,14 @@
extends Control
func _on_play_pressed() -> void:
get_tree().change_scene_to_file("res://scenes/main.tscn")
func _on_exit_pressed() -> void:
get_tree().quit()

View file

@ -0,0 +1,265 @@
[orchestration type="OScript" load_steps=14 format=3 uid="uid://b8x2gyqycqrwr"]
[obj type="OScriptFunction" id="OScriptFunction_fx4b6"]
guid = "4A1F41EB-67C4-426C-8DCD-816349F7865C"
method = {
"name": &"_on_play_pressed"
}
id = 0
[obj type="OScriptFunction" id="OScriptFunction_vp4yh"]
guid = "11178596-046B-467D-966A-41FF7DA575C7"
method = {
"name": &"_on_exit_pressed"
}
id = 4
[obj type="OScriptGraph" id="OScriptGraph_rq4gi"]
graph_name = &"EventGraph"
offset = Vector2(-552.654, 103.831)
zoom = 0.883177
flags = 8
nodes = Array[int]([0, 1, 2, 3, 4, 5, 6, 8, 10, 11])
functions = Array[int]([0, 4])
[obj type="OScriptNodeEvent" id="OScriptNodeEvent_i4kj0"]
function_id = "4A1F41EB-67C4-426C-8DCD-816349F7865C"
id = 0
position = Vector2(-440, -120)
pin_data = Array[Dictionary]([{
"pin_name": &"ExecOut",
"dir": 1,
"flags": 4
}])
[obj type="OScriptNodeSceneTree" id="OScriptNodeSceneTree_a1eq1"]
id = 1
position = Vector2(-400, -20)
pin_data = Array[Dictionary]([{
"pin_name": &"scene_tree",
"type": 24,
"dir": 1,
"flags": 2,
"target_class": "SceneTree"
}])
[obj type="OScriptNodeCallMemberFunction" id="OScriptNodeCallMemberFunction_wd3kt"]
function_name = &"change_scene_to_file"
target_class_name = "SceneTree"
target_type = 24
flags = 520
method = {
"name": &"change_scene_to_file",
"return": {
"type": 2,
"class_name": &"Error",
"usage": 65542
},
"args": [{
"name": &"path",
"type": 4
}]
}
chain = false
id = 2
position = Vector2(80, -100)
pin_data = Array[Dictionary]([{
"pin_name": &"ExecIn",
"flags": 4
}, {
"pin_name": &"ExecOut",
"dir": 1,
"flags": 4
}, {
"pin_name": &"target",
"type": 24,
"flags": 2050,
"label": "SceneTree",
"target_class": "SceneTree"
}, {
"pin_name": &"path",
"type": 4,
"flags": 2,
"dv": ""
}, {
"pin_name": &"return_value",
"type": 2,
"dir": 1,
"flags": 33554434,
"label": "Error",
"target_class": "Error",
"usage": 65542
}])
[obj type="OScriptNodeResourcePath" id="OScriptNodeResourcePath_h36mq"]
path = "res://scenes/main.tscn"
id = 3
position = Vector2(-220, 100)
pin_data = Array[Dictionary]([{
"pin_name": &"path",
"type": 4,
"dir": 1,
"flags": 2050,
"label": "res://scenes/main.tscn",
"dv": ""
}])
[obj type="OScriptNodeEvent" id="OScriptNodeEvent_tgoc7"]
function_id = "11178596-046B-467D-966A-41FF7DA575C7"
id = 4
position = Vector2(-420, 560)
pin_data = Array[Dictionary]([{
"pin_name": &"ExecOut",
"dir": 1,
"flags": 4
}])
[obj type="OScriptNodeSceneTree" id="OScriptNodeSceneTree_gxroo"]
id = 5
position = Vector2(-300, 640)
pin_data = Array[Dictionary]([{
"pin_name": &"scene_tree",
"type": 24,
"dir": 1,
"flags": 2,
"target_class": "SceneTree"
}])
[obj type="OScriptNodeCallMemberFunction" id="OScriptNodeCallMemberFunction_jd1xd"]
function_name = &"quit"
target_class_name = "SceneTree"
target_type = 24
flags = 520
method = {
"name": &"quit",
"default_args": [0],
"args": [{
"name": &"exit_code",
"type": 2
}]
}
chain = false
id = 6
position = Vector2(-40, 560)
pin_data = Array[Dictionary]([{
"pin_name": &"ExecIn",
"flags": 4
}, {
"pin_name": &"ExecOut",
"dir": 1,
"flags": 4
}, {
"pin_name": &"target",
"type": 24,
"flags": 2050,
"label": "SceneTree",
"target_class": "SceneTree"
}, {
"pin_name": &"exit_code",
"type": 2,
"flags": 2,
"dv": 0
}])
[obj type="OScriptNodeSceneNode" id="OScriptNodeSceneNode_14yay"]
node_path = NodePath("music")
target_class_name = "AudioStreamPlayer"
id = 8
position = Vector2(80, 60)
pin_data = Array[Dictionary]([{
"pin_name": &"music",
"type": 24,
"dir": 1,
"flags": 2050,
"target_class": "AudioStreamPlayer"
}])
[obj type="OScriptNodeCallMemberFunction" id="OScriptNodeCallMemberFunction_3sx2o"]
function_name = &"add_child"
target_class_name = "Node"
target_type = 24
flags = 520
method = {
"name": &"add_child",
"default_args": [false, 0],
"args": [{
"name": &"node",
"type": 24,
"class_name": &"Node"
}, {
"name": &"force_readable_name",
"type": 1
}, {
"name": &"internal",
"type": 2,
"class_name": &"Node.InternalMode",
"usage": 65542
}]
}
chain = false
id = 10
position = Vector2(420, -60)
pin_data = Array[Dictionary]([{
"pin_name": &"ExecIn",
"flags": 4
}, {
"pin_name": &"ExecOut",
"dir": 1,
"flags": 4
}, {
"pin_name": &"target",
"type": 24,
"flags": 2050,
"label": "Node",
"target_class": "Node"
}, {
"pin_name": &"node",
"type": 24,
"flags": 2,
"target_class": "Node"
}, {
"pin_name": &"force_readable_name",
"type": 1,
"flags": 2,
"dv": false
}, {
"pin_name": &"internal",
"type": 2,
"flags": 33554434,
"target_class": "Node.InternalMode",
"dv": 0,
"usage": 65542
}])
[obj type="OScriptNodeCallMemberFunction" id="OScriptNodeCallMemberFunction_hc3ng"]
function_name = &"queue_free"
target_class_name = "Node"
target_type = 24
flags = 520
method = {
"name": &"queue_free"
}
chain = false
id = 11
position = Vector2(-160, -120)
pin_data = Array[Dictionary]([{
"pin_name": &"ExecIn",
"flags": 4
}, {
"pin_name": &"ExecOut",
"dir": 1,
"flags": 4
}, {
"pin_name": &"target",
"type": 24,
"flags": 2050,
"label": "Node",
"target_class": "Node"
}])
[resource]
base_type = &"Control"
functions = Array[OScriptFunction]([SubResource("OScriptFunction_fx4b6"), SubResource("OScriptFunction_vp4yh")])
connections = Array[int]([11, 0, 2, 0, 4, 0, 6, 0, 2, 0, 10, 0, 0, 0, 11, 0, 1, 0, 2, 1, 5, 0, 6, 1, 8, 0, 11, 1, 3, 0, 2, 2, 8, 0, 10, 2])
nodes = Array[OScriptNode]([SubResource("OScriptNodeEvent_i4kj0"), SubResource("OScriptNodeSceneTree_a1eq1"), SubResource("OScriptNodeCallMemberFunction_wd3kt"), SubResource("OScriptNodeResourcePath_h36mq"), SubResource("OScriptNodeEvent_tgoc7"), SubResource("OScriptNodeSceneTree_gxroo"), SubResource("OScriptNodeCallMemberFunction_jd1xd"), SubResource("OScriptNodeSceneNode_14yay"), SubResource("OScriptNodeCallMemberFunction_3sx2o"), SubResource("OScriptNodeCallMemberFunction_hc3ng")])
graphs = Array[OScriptGraph]([SubResource("OScriptGraph_rq4gi")])

View file

@ -0,0 +1,361 @@
[gd_scene load_steps=14 format=3 uid="uid://c0mhbgge5ocss"]
[ext_resource type="Script" path="res://scenes/gui/startscreen/startscreen.gd" id="1_1ni70"]
[ext_resource type="PackedScene" uid="uid://pkc0xylwcsvx" path="res://scenes/background/background.tscn" id="1_wfe0h"]
[ext_resource type="Texture2D" uid="uid://chkpw3t1i4il1" path="res://icon.png" id="2_k1sxv"]
[ext_resource type="PackedScene" uid="uid://bo8pkjaj4tu44" path="res://scenes/pipe/pipe.tscn" id="2_nw6te"]
[ext_resource type="Texture2D" uid="uid://bmcn41xuywnm5" path="res://assets/images/pipe.png" id="2_x8auj"]
[ext_resource type="Texture2D" uid="uid://iuwyotlo7766" path="res://assets/images/gui/play.png" id="3_635x5"]
[ext_resource type="Script" path="res://scenes/gui/startscreen/easteregg.gd" id="3_cqlg8"]
[ext_resource type="Texture2D" uid="uid://c2ty5xty0mk3t" path="res://assets/images/clouds/w4.png" id="3_xla87"]
[ext_resource type="Texture2D" uid="uid://bgqpcw6t22djf" path="res://assets/images/gui/exit.png" id="4_dfy67"]
[ext_resource type="AudioStream" uid="uid://qjevjhqvykkg" path="res://assets/sounds/popcorn.wav" id="10_y6vx2"]
[sub_resource type="Gradient" id="Gradient_26v0n"]
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_gyy01"]
gradient = SubResource("Gradient_26v0n")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_1c6ff"]
particle_flag_disable_z = true
angle_min = 1.07288e-05
angle_max = 360.0
initial_velocity_max = 50.0
gravity = Vector3(0, 98, 0)
color_ramp = SubResource("GradientTexture1D_gyy01")
[node name="Startscreen" type="Control"]
layout_mode = 3
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.8, 0.8)
size_flags_vertical = 3
script = ExtResource("1_1ni70")
metadata/_edit_horizontal_guides_ = [700.0]
[node name="Background" parent="." instance=ExtResource("1_wfe0h")]
[node name="EASTEREGG" type="TextureButton" parent="."]
layout_direction = 1
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = 252.5
offset_top = -221.25
offset_right = 454.5
offset_bottom = 4209.75
grow_horizontal = 2
grow_vertical = 2
rotation = 3.92699
texture_normal = ExtResource("2_x8auj")
texture_pressed = ExtResource("2_x8auj")
ignore_texture_size = true
stretch_mode = 4
script = ExtResource("3_cqlg8")
[node name="puff" type="GPUParticles2D" parent="EASTEREGG"]
z_index = -1
position = Vector2(112.253, 62.7565)
rotation = -1.57079
scale = Vector2(10, 10)
emitting = false
amount = 120
process_material = SubResource("ParticleProcessMaterial_1c6ff")
texture = ExtResource("3_xla87")
lifetime = 2.0
one_shot = true
[node name="pipes" type="Control" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="pipe" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-136.25, 283.75)
scale = Vector2(2, 2)
move = false
[node name="pipe3" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-233.75, 240)
scale = Vector2(2, 2)
move = false
[node name="pipe4" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(581.25, 261.25)
scale = Vector2(3, 3)
move = false
[node name="pipe19" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(723.75, 160)
scale = Vector2(4, 4)
move = false
[node name="pipe5" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(475, 345)
scale = Vector2(2, 2)
move = false
[node name="pipe17" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(92.5, 311.25)
rotation = -0.785397
scale = Vector2(2, 2)
move = false
[node name="pipe18" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(72.5, 428.75)
rotation = -0.785397
scale = Vector2(2, 2)
move = false
[node name="pipe6" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-650, 232.5)
rotation = 0.785397
scale = Vector2(2, 2)
move = false
[node name="pipe16" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-671.25, 106.25)
rotation = 0.785397
scale = Vector2(2, 2)
move = false
[node name="pipe2" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-41.25, 327.5)
scale = Vector2(2, 2)
move = false
[node name="pipe7" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-455, -357.5)
rotation = 2.35619
scale = Vector2(2, 2)
move = false
[node name="pipe8" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-705, -117.5)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe9" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-228.75, -363.75)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe10" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-143.75, -308.75)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe11" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-52.5, -326.25)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe12" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(538.75, -350)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe13" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(627.5, -296.25)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe14" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(708.75, -195)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe20" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-988.75, 287.5)
scale = Vector2(2, 2)
move = false
[node name="pipe39" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-1621.25, 152.5)
scale = Vector2(10, 10)
move = false
[node name="pipe21" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-1082.5, -8.74998)
scale = Vector2(2, 2)
move = false
[node name="pipe22" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(2411.25, 162.5)
scale = Vector2(3, 3)
move = false
[node name="pipe23" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(965, -306.25)
scale = Vector2(4, 4)
move = false
[node name="pipe24" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(2590, 302.5)
scale = Vector2(2, 2)
move = false
[node name="pipe25" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(3177.5, 272.5)
rotation = -0.785397
scale = Vector2(2, 2)
move = false
[node name="pipe26" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(2958.75, 243.75)
rotation = -0.785397
scale = Vector2(2, 2)
move = false
[node name="pipe27" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-2161.25, -266.25)
rotation = 0.785397
scale = Vector2(2, 2)
move = false
[node name="pipe28" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-2177.5, 220)
rotation = 0.785397
scale = Vector2(2, 2)
move = false
[node name="pipe29" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-886.25, -172.5)
scale = Vector2(2, 2)
move = false
[node name="pipe30" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-1726.25, -40)
rotation = 2.35619
scale = Vector2(2, 2)
move = false
[node name="pipe31" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-1553.75, -221.25)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe32" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-1435, -303.75)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe33" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-1316.25, -118.75)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe34" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(-1203.75, -351.25)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe35" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(1687.5, -55)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe36" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(1423.75, -286.25)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe37" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(1557.5, 160)
rotation = 3.14159
scale = Vector2(2, 2)
move = false
[node name="pipe38" parent="pipes" instance=ExtResource("2_nw6te")]
position = Vector2(1107.5, 1040)
rotation = 3.92699
scale = Vector2(6, 6)
move = false
[node name="EASTEREGG3" type="TextureButton" parent="."]
layout_direction = 1
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -575.0
offset_top = 277.5
offset_right = -330.0
offset_bottom = 5277.5
grow_horizontal = 2
grow_vertical = 2
toggle_mode = true
texture_normal = ExtResource("2_x8auj")
texture_pressed = ExtResource("2_x8auj")
texture_disabled = ExtResource("2_k1sxv")
ignore_texture_size = true
stretch_mode = 4
[node name="GUI" type="HSplitContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -688.5
offset_top = -300.0
offset_right = 688.5
offset_bottom = 300.0
grow_horizontal = 2
grow_vertical = 2
dragger_visibility = 2
[node name="Logo" type="TextureRect" parent="GUI"]
layout_mode = 2
texture = ExtResource("2_k1sxv")
stretch_mode = 2
[node name="Buttons" type="VBoxContainer" parent="GUI"]
layout_mode = 2
[node name="Play" type="TextureButton" parent="GUI/Buttons"]
layout_mode = 2
texture_normal = ExtResource("3_635x5")
[node name="Exit" type="TextureButton" parent="GUI/Buttons"]
layout_mode = 2
texture_normal = ExtResource("4_dfy67")
[node name="music" type="AudioStreamPlayer" parent="."]
stream = ExtResource("10_y6vx2")
autoplay = true
bus = &"Music"
playback_type = 1
[connection signal="pressed" from="EASTEREGG" to="EASTEREGG" method="_on_pressed"]
[connection signal="pressed" from="EASTEREGG3" to="EASTEREGG3" method="_on_pressed"]
[connection signal="pressed" from="GUI/Buttons/Play" to="." method="_on_play_pressed"]
[connection signal="pressed" from="GUI/Buttons/Exit" to="." method="_on_exit_pressed"]