How to display a string on the screen?
Moderators: marionline, SDHawk
- sheamkennedy
- Liquid Metal Slime
- Posts: 1110
- Joined: Mon Sep 16, 2013 9:29 pm
- Location: Tama-shi, Tokyo, Japan
- Contact:
How to display a string on the screen?
I'm a bit rusty on how strings work. I have counter to begin counting up every tick in my autorun script. How can I now display this as a number in the top left of the screen.
⊕ P E R S O N A L M U S I C: https://open.spotify.com/album/6fEo3fCm5C3XhtFRflfANr
â� C O L L A B M U S I C: https://dustpuppets.bandcamp.com/releases
â� C O L L A B M U S I C: https://dustpuppets.bandcamp.com/releases
Code: Select all
$1=""
append number(1, the counter)
show string at(1, 0, 0) #id 1 at x=0, y =0
Code: Select all
$1=""
append number(1, the counter)
variable(sl)
sl := create text
set slice text(sl, 1)
put slice(sl, 0, 0) # Optional since 0,0 is the default anyway
- sheamkennedy
- Liquid Metal Slime
- Posts: 1110
- Joined: Mon Sep 16, 2013 9:29 pm
- Location: Tama-shi, Tokyo, Japan
- Contact:
@TMC: Thanks!
⊕ P E R S O N A L M U S I C: https://open.spotify.com/album/6fEo3fCm5C3XhtFRflfANr
â� C O L L A B M U S I C: https://dustpuppets.bandcamp.com/releases
â� C O L L A B M U S I C: https://dustpuppets.bandcamp.com/releases