diff options
author | Jonas Bernard <public.jbernard@web.de> | 2021-04-27 01:33:17 +0200 |
---|---|---|
committer | Jonas Bernard <public.jbernard@web.de> | 2021-04-27 01:33:17 +0200 |
commit | 82b0d6872ac6f6cd9cb955476d801a1d2b5e5531 (patch) | |
tree | 772577d9164d3f65f36caa2705d4ffa8ee83d515 | |
parent | 22a071d1f3d4deb02ee93bfafa5137cdf4068dcd (diff) | |
download | ldjam48-82b0d6872ac6f6cd9cb955476d801a1d2b5e5531.tar.gz ldjam48-82b0d6872ac6f6cd9cb955476d801a1d2b5e5531.tar.bz2 ldjam48-82b0d6872ac6f6cd9cb955476d801a1d2b5e5531.zip |
Levels
-rw-r--r-- | scenes/introduction/come home.tscn | 1 | ||||
-rw-r--r-- | scenes/introduction/mail.tscn | 24 | ||||
-rw-r--r-- | scenes/levels/base_level.gd | 10 | ||||
-rw-r--r-- | scenes/levels/typeracer.gd | 2 | ||||
-rw-r--r-- | scenes/levels/typeracer.tscn | 55 | ||||
-rw-r--r-- | scenes/menu.tscn | 1 |
6 files changed, 53 insertions, 40 deletions
diff --git a/scenes/introduction/come home.tscn b/scenes/introduction/come home.tscn index 4527635..c8a53a9 100644 --- a/scenes/introduction/come home.tscn +++ b/scenes/introduction/come home.tscn @@ -15,5 +15,4 @@ Oh, what a day was that... Let's first check my mails now... " - [connection signal="next" from="CanvasLayer" to="." method="_on_CanvasLayer_next"] diff --git a/scenes/introduction/mail.tscn b/scenes/introduction/mail.tscn index 087791c..0a05c21 100644 --- a/scenes/introduction/mail.tscn +++ b/scenes/introduction/mail.tscn @@ -10,18 +10,18 @@ script = ExtResource( 2 ) position = Vector2( 640, 360 ) text = "Hey Tom, -how are you going? -Did you read that article in the newspaper this -morning? Barak Obama himself stated to have -seen some \"mysterious actions\" around the streets in Washington. -They have to do with some data leaks in a datacenter nearby. -But they could not give any more information, they wrote. - -Isn't that strange? I mean those times. Chaotic. Just chaotic. -Lets meet at George Washington Bridge at 7PM and talk -about what happend. Will you be there? - -See you +how are you doing, mate? +Did you read the news this morning? +They are closing Marcus' Pizza-Palace, +your favourite pizza place in town! + +What a strange and sad story, wasn't +Marcus doing so well this year? Wanna eat +out one last time? + +Meet me at George Washington Bridge 9 P.M. + +Write me back Matt" [connection signal="next" from="CanvasLayer" to="." method="_on_CanvasLayer_next"] diff --git a/scenes/levels/base_level.gd b/scenes/levels/base_level.gd index 9542161..bb2dcaa 100644 --- a/scenes/levels/base_level.gd +++ b/scenes/levels/base_level.gd @@ -7,11 +7,11 @@ onready var _path_renderer : PathRenderer = $PathRenderer onready var _health_bar = $Camera2D/healthbar onready var _last_camera_location : Vector2 = $Camera2D.position const _levels = [ - preload("res://scenes/levels/hearts_introduce.tscn"), - preload("res://scenes/levels/typeracer_explain.tscn"), - preload("res://scenes/levels/typeracer.tscn"), - preload("res://scenes/levels/reactiontest.tscn"), - preload("res://scenes/levels/pixel/PixelDefender.tscn"), + #preload("res://scenes/levels/hearts_introduce.tscn"), + #preload("res://scenes/levels/typeracer_explain.tscn"), + #preload("res://scenes/levels/typeracer.tscn"), + #preload("res://scenes/levels/reactiontest.tscn"), + #preload("res://scenes/levels/pixel/PixelDefender.tscn"), preload("res://scenes/levels/puzzle/puzzle.tscn"), ] diff --git a/scenes/levels/typeracer.gd b/scenes/levels/typeracer.gd index c17e1bc..35225be 100644 --- a/scenes/levels/typeracer.gd +++ b/scenes/levels/typeracer.gd @@ -14,7 +14,7 @@ func start(): func _total_time(): if Settings.difficulty == Settings.Difficulty.HARD: - return 10 + return 30 return 60 func _process(delta): diff --git a/scenes/levels/typeracer.tscn b/scenes/levels/typeracer.tscn index 3556dc3..4902263 100644 --- a/scenes/levels/typeracer.tscn +++ b/scenes/levels/typeracer.tscn @@ -1,35 +1,46 @@ -[gd_scene load_steps=4 format=2] +[gd_scene load_steps=7 format=2] [ext_resource path="res://scenes/levels/typeracer.gd" type="Script" id=1] [ext_resource path="res://textures/colors/light_blue.png" type="Texture" id=2] [ext_resource path="res://components/button.tscn" type="PackedScene" id=3] +[ext_resource path="res://textures/icons/arrow.png" type="Texture" id=4] +[ext_resource path="res://textures/icons/arrow2.png" type="Texture" id=5] + +[sub_resource type="AnimatedTexture" id=1] +frames = 2 +frame_0/texture = ExtResource( 4 ) +frame_1/texture = ExtResource( 5 ) +frame_1/delay_sec = 0.0 [node name="Node2D" type="Node2D"] script = ExtResource( 1 ) [node name="Sprite" type="Sprite" parent="."] -position = Vector2( -0.109284, 2.36197 ) -scale = Vector2( 950.266, 537.001 ) +position = Vector2( 38.5719, 3.86911 ) +scale = Vector2( 950.266, 616.154 ) texture = ExtResource( 2 ) [node name="TextEdit" type="TextEdit" parent="."] -margin_left = -301.579 -margin_top = -0.914124 -margin_right = 305.421 -margin_bottom = 225.086 +margin_left = -187.0 +margin_top = -248.0 +margin_right = 470.0 +margin_bottom = 29.0 __meta__ = { "_edit_use_anchors_": false } [node name="Label" type="Label" parent="."] -margin_left = -302.51 -margin_top = -228.588 -margin_right = 315.49 -margin_bottom = -21.5884 +margin_left = -421.534 +margin_top = -23.0214 +margin_right = 239.466 +margin_bottom = 288.979 text = "Hey Matt, -yes I'm on my way as soon as possible. -See you, +this is outrageous! +I can't believe Marcus' Pizza Palace +would go down just like that. +We HAVE to investigate. +See you at 9. Tom" __meta__ = { @@ -46,19 +57,23 @@ __meta__ = { } [node name="Button" parent="." instance=ExtResource( 3 )] -position = Vector2( 387.398, 195.318 ) +position = Vector2( 421.125, 81.956 ) text = "Send" [node name="Incorrect" type="Label" parent="."] -visible = false -margin_left = -308.457 -margin_top = 231.335 -margin_right = 317.543 -margin_bottom = 266.335 -text = "The text you wrote is not exactely correct" +margin_left = -344.613 +margin_top = -295.534 +margin_right = 461.387 +margin_bottom = -260.534 +text = "The text you wrote is not an exact copy of the template" __meta__ = { "_edit_use_anchors_": false } +[node name="Sprite2" type="Sprite" parent="."] +position = Vector2( 147.157, 130.339 ) +rotation = 0.363028 +scale = Vector2( -5.362, 5.362 ) +texture = SubResource( 1 ) [connection signal="text_changed" from="TextEdit" to="." method="_on_TextEdit_text_changed"] [connection signal="on_click" from="Button" to="." method="_on_Button_on_click"] diff --git a/scenes/menu.tscn b/scenes/menu.tscn index 73fbf09..59c935b 100644 --- a/scenes/menu.tscn +++ b/scenes/menu.tscn @@ -218,7 +218,6 @@ anims/startgame = SubResource( 2 ) [node name="Outgoing" type="AnimationPlayer" parent="."] anims/tointro = SubResource( 3 ) anims/tosettings = SubResource( 4 ) - [connection signal="on_click" from="Content/Back" to="." method="_on_Back_on_click"] [connection signal="on_click" from="Content/HardMode" to="." method="_on_HardMode_on_click"] [connection signal="on_click" from="Content/Fullscreen" to="." method="_on_Fullscreen_on_click"] |