Page 1 of 1

HUD text properties

Posted: Wed Jun 05, 2013 10:43 pm
by RBunny
I'm trying out a style, and I was wondering if there is anyway of clearing the text HUD, so the text won't overlap if two instances of text are put quickly one after the other, something like a pre-defined function that clears or makes the HUD text fade out more quickly.
Example:

function text()
hudPrint("This is the first instance of text which is going to be overlapped")
???() <- and this would be the function.
hudPrint("by this one, unless there's a way of making the last text fade out earlier. ")
end

I was going to use this to make a VERY basic in-game shop. If anyone knows how to sort this out I'll be thankful.

Re: HUD text properties

Posted: Wed Jun 05, 2013 10:47 pm
by Komag
You can just hudPrint a bunch of blank lines

Re: HUD text properties

Posted: Wed Jun 05, 2013 10:54 pm
by RBunny
Huh. Should've thought of that. Thanks ^^

Re: HUD text properties

Posted: Mon Apr 17, 2017 9:33 am
by Halluinoid
I want to HUD to the screen the gameplay TIME

My game begins with the Quest "You have 2 hours to return to the Oubliette"

so at 1:50 I want a HUD to show the game play time elapsed but at 2:05 the need will really be over, so just for 15 minutes from 1:50 - 2:05

something like if time>01:50 and time <02:05 function text()
hudPrint("Mission Time": $game time

does anybody know the right code please?