[Resolved]Draw text if Global Attribute true

Almakos

  • Posts: 632
Hi, I am a bit confused by a situation.
I am trying to draw some text, when game attribute becomes true. However nothing is being drawn.
I have put print statement to check whether code is working and got my print blocks output in the console.
How can I make the text appear?
Thank you.
Fishing Fantasy Trailer


Hectate

  • *
  • Posts: 4645
First, is your "IF" block placed within a "when drawing" block? Second, is this attached to a scene or an actor?

If it's attached to an actor, 400,200 is relative to the actor (where 0,0 is the top left corner of the actor). That means an actor at 100,150 would draw this text at 500,350.
:
:
Patience is a Virtue,
But Haste is my Life.
Proud member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.

Almakos

  • Posts: 632
Yeah stupid me,...it was drawing somewhere offscreen ^^'
I always forget how this works )))
Thank you.
Fishing Fantasy Trailer