Drawing Text Help

PressXtoNotDie

  • Posts: 94
Hi all, this time I am wondering what exactly i am doing wrong... well actually I know what I am doing wrong, but I just have no idea how to fix it, or what the work around is.

Basically my problem is I am trying to draw text at different places at the same time, with only one Draw Text block... I thought id try it out and see if it works, and it doesn't.

(I will post what I tried to do in the attachment at the bottom)

Im sure there is a much better way to do this then what I've done... what happens currently, is the "when map is pressed" block works perfectly, but the "when drawing" doesn't work at all.

PressXtoNotDie

  • Posts: 94
Ah man, so ok i just remembered im pretty sure that you cant set attributes in the "When Drawing" block... how did i miss that....

BUT it still brings me to the point about the drawing text, my guess is that it will only draw ONE text, instead of drawing multiple text as i was going for... Trying to think of work arounds... this could take a while =/

anyone have any ideas?

rob1221

  • *
  • Posts: 9473
You can set attributes under "when drawing" and you can draw multiple lines of text.  One of the problems with the behavior you posted is that you tell it to stop drawing after it loops through the list.  Drawing must be done every frame.

PressXtoNotDie

  • Posts: 94
Ah thanks, so you can set attributes under the when drawing. That clears some things up a bit. I think im going to scrap this idea and go for a more static one (Drawing each thing I want separate instead of doing it automatic like above)