Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Nathaniel3W's avatar
Nathaniel3W
Honored Guest
12 years ago

HUD Canvas.Drawtext doesn't do anything

I'm trying out some pretty basic stuff, and right now I'm trying to display some information on the screen.

In my class that I extended from HUD, in the PostRender event, I'm trying to do this:

Canvas.SetPos(100,100);
Canvas.DrawText("Testing");


But that doesn't seem to do anything. Is there more that I need to do to get a HUD up and running?

3 Replies

Replies have been turned off for this discussion
  • If it isn't rift specific, it may have to do with the game type (view : world properties : game type : UDKGame). I know console commands only show up for certain game types.
  • Sorry, I found out what the problem was, and it was so dumb I'm ashamed to post it here. Basically, I'm running the debug in full screen so I can see it on the Rift, which means I'm not watching my error log, which told me right away what I had done wrong. :oops: