summaryrefslogtreecommitdiff
path: root/hackingscene.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'hackingscene.tscn')
-rw-r--r--hackingscene.tscn15
1 files changed, 11 insertions, 4 deletions
diff --git a/hackingscene.tscn b/hackingscene.tscn
index bf891b2..0b833c1 100644
--- a/hackingscene.tscn
+++ b/hackingscene.tscn
@@ -1,16 +1,19 @@
-[gd_scene load_steps=6 format=2]
+[gd_scene load_steps=8 format=2]
[ext_resource path="res://textures/background.png" type="Texture" id=1]
[ext_resource path="res://textures/rooot.png" type="Texture" id=2]
[ext_resource path="res://Camera2D.gd" type="Script" id=3]
[ext_resource path="res://default_env.tres" type="Environment" id=4]
+[ext_resource path="res://components/HackButton.tscn" type="PackedScene" id=5]
+[ext_resource path="res://hackingscene.gd" type="Script" id=6]
[sub_resource type="Curve2D" id=1]
_data = {
-"points": PoolVector2Array( 0, 0, 0, 0, 377.292, 120.601, 0, 0, 0, 0, 395.251, 374.278, 0, 0, 0, 0, 541.172, 385.502, 0, 0, 0, 0, 837.501, 345.094, 0, 0, 0, 0, 922.809, 55.4985, 0, 0, 0, 0, 538.927, -58.9926, 0, 0, 0, 0, 538.927, 163.255, 0, 0, 0, 0, 1266.28, 161.01, 0, 0, 0, 0, 1057.5, -296.955, 0, 0, 0, 0, 693.826, 64.4782, 0, 0, 0, 0, 833.012, -213.892 )
+"points": PoolVector2Array( 0, 0, 0, 0, -74.612, 128.932, 0, 0, 0, 0, 390.299, 185.629, 0, 0, 0, 0, 520.071, -115.492, 0, 0, 0, 0, 182.412, -341.018, 0, 0, 0, 0, -153.987, 20.5792, 0, 0, 0, 0, -131.308, 224.686 )
}
[node name="Node2D" type="Node2D"]
+script = ExtResource( 6 )
[node name="Camera2D" type="Camera2D" parent="."]
current = true
@@ -27,10 +30,14 @@ texture = ExtResource( 1 )
curve = SubResource( 1 )
[node name="rooot" type="Sprite" parent="."]
-modulate = Color( 10.99, 1, 1, 1 )
-position = Vector2( 593.927, 265.399 )
+modulate = Color( 10.99, 26.74, 73.99, 1 )
+position = Vector2( -342.639, -166.374 )
scale = Vector2( 0.298461, 0.320911 )
texture = ExtResource( 2 )
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = ExtResource( 4 )
+
+[node name="HackButton" parent="." instance=ExtResource( 5 )]
+
+[connection signal="on_click" from="HackButton" to="." method="_on_HackButton_on_click"]