aboutsummaryrefslogtreecommitdiff
path: root/riot/riot.tscn
diff options
context:
space:
mode:
authorRoman Gräf <romangraef@gmail.com>2020-04-20 20:28:13 +0200
committerRoman Gräf <romangraef@gmail.com>2020-04-20 20:28:13 +0200
commitdc641d85ff4f610c9239a87c1bcfd123e744f3cf (patch)
treedc38ad06cb0f7579d5043edef9ac2449abefdd2f /riot/riot.tscn
parentc1b75c16eb5132017786134ec61bdf38bf1f6680 (diff)
downloadLDJam46-dc641d85ff4f610c9239a87c1bcfd123e744f3cf.tar.gz
LDJam46-dc641d85ff4f610c9239a87c1bcfd123e744f3cf.tar.bz2
LDJam46-dc641d85ff4f610c9239a87c1bcfd123e744f3cf.zip
mehr tutorials und konami code
Diffstat (limited to 'riot/riot.tscn')
-rw-r--r--riot/riot.tscn27
1 files changed, 25 insertions, 2 deletions
diff --git a/riot/riot.tscn b/riot/riot.tscn
index f80c768..46937bf 100644
--- a/riot/riot.tscn
+++ b/riot/riot.tscn
@@ -1,8 +1,10 @@
-[gd_scene load_steps=5 format=2]
+[gd_scene load_steps=7 format=2]
[ext_resource path="res://riot/riot.gd" type="Script" id=1]
[ext_resource path="res://assets/manager.tres" type="Texture" id=2]
[ext_resource path="res://riot/manager.gd" type="Script" id=3]
+[ext_resource path="res://tutorial/riot.gd" type="Script" id=4]
+[ext_resource path="res://tutorial/popup.tscn" type="PackedScene" id=5]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 33.1266, 62.8009 )
@@ -11,7 +13,7 @@ extents = Vector2( 33.1266, 62.8009 )
script = ExtResource( 1 )
[node name="manager" type="KinematicBody2D" parent="."]
-position = Vector2( 600.978, 319.858 )
+position = Vector2( 717.859, 323.754 )
script = ExtResource( 3 )
speed = 200.0
@@ -24,3 +26,24 @@ texture = ExtResource( 2 )
[node name="midpoint_marker" type="Node2D" parent="manager"]
position = Vector2( -13.5661, -3.01468 )
+
+[node name="riot" parent="." instance=ExtResource( 5 )]
+visible = false
+margin_left = 379.864
+margin_top = 212.334
+margin_right = 462.864
+margin_bottom = 243.334
+text = "Your developers are rioting. Because you paid to
+little attention to their (coffee) needs they thirst for
+blood instead. Run as fast as you can!"
+script = ExtResource( 4 )
+identifier = "riot"
+
+[node name="riot_won" parent="." instance=ExtResource( 5 )]
+margin_left = 374.02
+margin_top = 179.218
+margin_right = 457.02
+margin_bottom = 210.218
+text = "The security arrived and saved you.
+For now."
+identifier = "riot_won"