I want to make a text that appears one letter at a time, and when pressing enter it moves to the next pharagraf.
So I tried this: created a text with two diffrent pharagrafs and two counters. And used this code:
- Start of level: set 'counter 2' = to 0
- Always: set alterable string = Left$( paragraph$( "String", 1 ), value( "Counter 1" ) ) this takes care of one letter at a time
- Upon pressing: 'enter' = add to 'counter 2'
- 'Counter 2' equals 0 = set pharagraf = to 1
- 'Counter 2' equals 1 = set pharagraf = to 2
(I have also tried upon pressing enter display next pharagraf)
I dont understand why this doesnt work, it only displays one pharagraf.
the reason why the enter thing doesnt work, is because it's always adding too many at a time: add a time event with it (every 0.10 seconds or something) or try using only one action when event loops, as that might work
I think there is a easy way to do this, with few codes, witout any extension, cos I rather not use any extensions.
edit: Nah never mind, I found a suollution. I had to use this code: Left$( paragraph$( "String", value( "Counter 2" ) ), value( "Counter" ) ) thanks anyways