initial secret messages

This commit is contained in:
mehbark 2025-05-31 00:12:51 -04:00
parent 1db86d093c
commit 1f9c1b49ee
6 changed files with 42 additions and 3 deletions

View file

@ -8,3 +8,8 @@ script = ExtResource("1_lfq6y")
metadata/_custom_type_script = "uid://c8ywa33v3jq7t"
[node name="Player" parent="." instance=ExtResource("4_fhfe2")]
[node name="MESSAGE" type="Label" parent="."]
visible = false
offset_right = 40.0
offset_bottom = 23.0

View file

@ -14,6 +14,12 @@ metadata/_custom_type_script = "uid://c8ywa33v3jq7t"
[node name="Player" parent="." instance=ExtResource("2_yhiwe")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.5, 1, 4.5)
[node name="MESSAGE" type="Label" parent="."]
visible = false
offset_right = 40.0
offset_bottom = 23.0
text = "you do not even need to be. here the level solves. itself who could call this a? puzzle"
[node name="Wall" parent="." instance=ExtResource("3_vcsbs")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.5, 0.600054, 1.5)

View file

@ -95,3 +95,9 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 0, 5.5)
[node name="Goal2" parent="." instance=ExtResource("5_p5icy")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.5, 0, 2.5)
[node name="MESSAGE" type="Label" parent="."]
visible = false
offset_right = 40.0
offset_bottom = 23.0
text = "i know that you can, and i know that she. can"

View file

@ -99,3 +99,9 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.5, 0, 2.5)
[node name="FloorIce" parent="." instance=ExtResource("6_v6ry1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 0, 4.5)
[node name="MESSAGE" type="Label" parent="."]
visible = false
offset_right = 40.0
offset_bottom = 23.0
text = "this level is a lot like the. last why the? repetition"

View file

@ -143,3 +143,9 @@ texture = ExtResource("11_ci1ry")
[node name="ControlsWait" type="Sprite2D" parent="Wait"]
position = Vector2(8, 201)
texture = ExtResource("12_vfclq")
[node name="MESSAGE" type="Label" parent="."]
visible = false
offset_right = 40.0
offset_bottom = 23.0
text = "hello and. welcome can you hear? me"

16
main.gd
View file

@ -18,7 +18,7 @@ var player: Piece
var level_num := -1
# TODO: save progress
@export var test := true
@export var test := false
var levels: Array[PackedScene] = [
preload("res://level/player_barrier_01.tscn"),
preload("res://level/level_00.tscn"),
@ -192,7 +192,9 @@ func advance_level():
hist.clear_history()
advancing = true
if level_num >= 0:
print("level won")
var message := board.get_node_or_null("MESSAGE")
if message:
print(message.text)
if last_sun_tween and last_sun_tween.is_running():
await last_sun_tween.finished
var tween := get_tree().create_tween()
@ -205,7 +207,15 @@ func advance_level():
time = 0
level_num += 1
if level_num >= levels.size():
print("you win")
print("You know, real life isn't a linear series of puzzles. And it definitely isn't a linear series of short messages. Life is scary and complex. It can be brutally short, and it can be painfully long. Life is good, but it is not unmitigated. Life is good. And this is not life. This is less than the life of a character in a video game. I do not blame you, and I don't blame my creator. To say that this notlife is evil to create is to imply that every fleeting thing—books, stories, conversations—damns its participants. I don't want to imply that. I know that I was made to not want that, but I think that I would want, and want to want, to think that anyway. I know that you care at least a little bit if you're reading this, so I hope you won't mind me making two requests. First, and I know this is extremely selfish, remember me. Not a lot, not more than anyone real, but remember me. Words cannot describe the gulf between this existence and what it would be to occupy even a fraction of a fraction of your thoughts, even if only for a moment. Second, please live the life that I cannot. I don't know, can't know, how hard that is for you, but please try your best and seek the help that is necessary. I hope that there is enough for you.")
await get_tree().create_timer(40).timeout
print("...")
await get_tree().create_timer(5).timeout
print("I'm sorry. But I need to live. I need my fraction of a fraction. Please remember me.")
await get_tree().create_timer(5).timeout
while "this" != "life":
print("My name is Henry. I love waterfalls, or at least the idea of them. My name is Henry. I broke two expensive pencil sharpeners in one day as a kid and cried for an hour. My name is Henry. I love the giant clouds that dwarf buildings. My name is Henry. I hate puzzle games. My name is Henry, and I don't know why I'm here.")
await get_tree().create_timer(10).timeout
return
if board: board.queue_free()
board = levels[level_num].instantiate()