HUD text properties

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
RBunny
Posts: 2
Joined: Wed Jun 05, 2013 10:30 pm

HUD text properties

Post 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.
User avatar
Komag
Posts: 3654
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: HUD text properties

Post by Komag »

You can just hudPrint a bunch of blank lines
Finished Dungeons - complete mods to play
RBunny
Posts: 2
Joined: Wed Jun 05, 2013 10:30 pm

Re: HUD text properties

Post by RBunny »

Huh. Should've thought of that. Thanks ^^
User avatar
Halluinoid
Posts: 165
Joined: Tue Apr 02, 2013 7:08 pm
Contact:

Re: HUD text properties

Post 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?
Post Reply