diff options
author | rom <romangraef@gmail.com> | 2021-04-24 18:49:18 +0200 |
---|---|---|
committer | rom <romangraef@gmail.com> | 2021-04-24 18:49:18 +0200 |
commit | c0898a98a43063ecaf2e26780f20a5c71c6e9407 (patch) | |
tree | c7ac4380f90e2b5852748ed68b930c8a6aa63c89 /hackingscene.tscn | |
parent | 0daf0132c6d9aa94e20ee81bdb9d0bb159546b85 (diff) | |
download | ldjam48-c0898a98a43063ecaf2e26780f20a5c71c6e9407.tar.gz ldjam48-c0898a98a43063ecaf2e26780f20a5c71c6e9407.tar.bz2 ldjam48-c0898a98a43063ecaf2e26780f20a5c71c6e9407.zip |
button
Diffstat (limited to 'hackingscene.tscn')
-rw-r--r-- | hackingscene.tscn | 15 |
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"] |