diff options
author | Jonas Bernard <public.jbernard@web.de> | 2021-04-27 02:07:21 +0200 |
---|---|---|
committer | Jonas Bernard <public.jbernard@web.de> | 2021-04-27 02:07:21 +0200 |
commit | 8755544fd0dbb801f8d593f5891eaee00dd4ecd5 (patch) | |
tree | dc428c56d6eeea74efd5e71a53e7908c36fbb64d /components | |
parent | 993cf633979d8e96ad5eb051e44ab3a4a2ceccfa (diff) | |
download | ldjam48-8755544fd0dbb801f8d593f5891eaee00dd4ecd5.tar.gz ldjam48-8755544fd0dbb801f8d593f5891eaee00dd4ecd5.tar.bz2 ldjam48-8755544fd0dbb801f8d593f5891eaee00dd4ecd5.zip |
Level
Diffstat (limited to 'components')
-rw-r--r-- | components/textreveal.gd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/textreveal.gd b/components/textreveal.gd index 9a05e62..3520882 100644 --- a/components/textreveal.gd +++ b/components/textreveal.gd @@ -39,9 +39,9 @@ func _process(delta): text = to_render.substr(0, revealed) if additional > 0: if text.ends_with("\n"): - t = -10 + t = -7 elif text.ends_with(" "): - t = -2 + t = -1 rect_position = -rect_size / 2 + Vector2(xpos, ypos) if to_render.length() <= revealed: started = false |