summaryrefslogtreecommitdiff
path: root/scenes
diff options
context:
space:
mode:
authorrom <romangraef@gmail.com>2021-04-25 00:48:50 +0200
committerrom <romangraef@gmail.com>2021-04-25 00:49:01 +0200
commite1f67cda480d596c8d52d6c0d666e40297cc70fa (patch)
tree8c3159afb42c8cdfd956514dc728ebee340d68f2 /scenes
parent66a83b84af05256c468f4cc47545ce592a9353fc (diff)
downloadldjam48-e1f67cda480d596c8d52d6c0d666e40297cc70fa.tar.gz
ldjam48-e1f67cda480d596c8d52d6c0d666e40297cc70fa.tar.bz2
ldjam48-e1f67cda480d596c8d52d6c0d666e40297cc70fa.zip
centralize fonts and make textreveal a node
Diffstat (limited to 'scenes')
-rw-r--r--scenes/introduction.gd5
-rw-r--r--scenes/introduction.tscn24
2 files changed, 16 insertions, 13 deletions
diff --git a/scenes/introduction.gd b/scenes/introduction.gd
index 8c4f525..7db2651 100644
--- a/scenes/introduction.gd
+++ b/scenes/introduction.gd
@@ -1,11 +1,8 @@
extends Node
-onready var textreveal = $Textreveal
+onready var textreveal = $TextReveal
# Called when the node enters the scene tree for the first time.
func _ready():
textreveal.start()
-
-func _on_Textreveal_finished_reveal():
- print("Done")
diff --git a/scenes/introduction.tscn b/scenes/introduction.tscn
index f36644a..460ced3 100644
--- a/scenes/introduction.tscn
+++ b/scenes/introduction.tscn
@@ -1,16 +1,22 @@
[gd_scene load_steps=3 format=2]
-[ext_resource path="res://components/textreveal.tscn" type="PackedScene" id=1]
+[ext_resource path="res://components/textreveal.gd" type="Script" id=1]
[ext_resource path="res://scenes/introduction.gd" type="Script" id=2]
[node name="CanvasLayer" type="Node2D"]
+position = Vector2( 654.009, 325.417 )
script = ExtResource( 2 )
-[node name="Textreveal" parent="." instance=ExtResource( 1 )]
-position = Vector2( 639.655, 256.718 )
-text = "Long long time ago
-i fucked your mom
-lmao jk, meant your dad"
-speed = 10.0
-
-[connection signal="finished_reveal" from="Textreveal" to="." method="_on_Textreveal_finished_reveal"]
+[node name="TextReveal" type="Label" parent="."]
+margin_left = 715.918
+margin_top = 322.242
+margin_right = 755.918
+margin_bottom = 336.242
+script = ExtResource( 1 )
+__meta__ = {
+"_edit_use_anchors_": false
+}
+to_render = "AHAHAHAHHAHAHA
+Cock and ball torture (CBT), occasionally known as penis torture,
+dick torture or male genitorture, is a sexual activity involving application
+of pain or constriction to the penis or testicles. "