summaryrefslogtreecommitdiff
path: root/scenes/story/newspaper.tscn
diff options
context:
space:
mode:
authorJonas Bernard <public.jbernard@web.de>2021-04-27 02:46:00 +0200
committerJonas Bernard <public.jbernard@web.de>2021-04-27 02:46:00 +0200
commit418d149c8b29275628ae1a21c227fa77e5f260b0 (patch)
tree84278b93d7ec229dcaa5a6cdcf480a0d7628ca5d /scenes/story/newspaper.tscn
parente412e273e618366ff7cefa743e8282ccec92ddf2 (diff)
downloadldjam48-418d149c8b29275628ae1a21c227fa77e5f260b0.tar.gz
ldjam48-418d149c8b29275628ae1a21c227fa77e5f260b0.tar.bz2
ldjam48-418d149c8b29275628ae1a21c227fa77e5f260b0.zip
Push
Diffstat (limited to 'scenes/story/newspaper.tscn')
-rw-r--r--scenes/story/newspaper.tscn13
1 files changed, 11 insertions, 2 deletions
diff --git a/scenes/story/newspaper.tscn b/scenes/story/newspaper.tscn
index 5c97140..56b77f1 100644
--- a/scenes/story/newspaper.tscn
+++ b/scenes/story/newspaper.tscn
@@ -1,11 +1,14 @@
-[gd_scene load_steps=2 format=2]
+[gd_scene load_steps=4 format=2]
[ext_resource path="res://textures/newspaper.png" type="Texture" id=1]
+[ext_resource path="res://scenes/story/newspaper.gd" type="Script" id=2]
+[ext_resource path="res://components/button.tscn" type="PackedScene" id=3]
[node name="Node2D" type="Node2D"]
+script = ExtResource( 2 )
[node name="newspaper" type="Sprite" parent="."]
-position = Vector2( -11.4611, 15.9832 )
+scale = Vector2( 0.729248, 0.729248 )
texture = ExtResource( 1 )
[node name="Node2D" type="Node2D" parent="newspaper"]
@@ -51,3 +54,9 @@ City council confirms citizens have \"not to worry\" about giant floating eyes i
__meta__ = {
"_edit_use_anchors_": false
}
+
+[node name="Button" parent="newspaper" instance=ExtResource( 3 )]
+position = Vector2( 2.06922, 371.448 )
+text = "Back to Menu"
+
+[connection signal="on_click" from="newspaper/Button" to="." method="_on_Button_on_click"]