This commit is contained in:
Tabby 2025-05-17 14:21:38 +10:00
parent c9286e8c12
commit ecd9ebd486
22 changed files with 308 additions and 32 deletions

View file

@ -40,8 +40,8 @@ func _process(delta: float) -> void:
prompt.modulate = Color(1, timer/time_limit, timer/time_limit)
progress1.modulate = Color(1, timer/time_limit, timer/time_limit)
progress2.modulate = Color(1, timer/time_limit, timer/time_limit)
camera.zoom = Vector2(2 - timer/time_limit,2 - timer/time_limit)
camera.rotation_degrees = rot_dir * (1-timer/time_limit) * 30
camera.zoom = Vector2(1.5 - (timer/time_limit)*0.5,1.5 - (timer/time_limit)*0.5)
camera.rotation_degrees = rot_dir * (1-timer/time_limit) * 15
#TODO Surely theres a better way
if Input.is_action_just_pressed("bomb_0"):

View file

@ -73,3 +73,27 @@ show_percentage = false
[node name="Camera2D" type="Camera2D" parent="."]
position = Vector2(320, 180)
ignore_rotation = false
[node name="RichTextLabel" type="RichTextLabel" parent="."]
offset_left = 429.0
offset_top = 338.0
offset_right = 746.0
offset_bottom = 416.0
rotation = -1.57079
theme_override_font_sizes/normal_font_size = 45
bbcode_enabled = true
text = "[shake]Type the Code"
horizontal_alignment = 1
vertical_alignment = 1
[node name="RichTextLabel2" type="RichTextLabel" parent="."]
offset_left = 211.0
offset_top = 23.0
offset_right = 528.0
offset_bottom = 101.0
rotation = 1.57079
theme_override_font_sizes/normal_font_size = 45
bbcode_enabled = true
text = "[shake]Type the Code"
horizontal_alignment = 1
vertical_alignment = 1