I was wondering how this can be done?
I tried:
@>Script: @txt = "Text"
self.contents.draw_text(4, 0, 120, 32, @txt)
But that won't work.
Anyone help me out :) ?
EDIT:
I also tried this:
@>Script: @txt = 1
case @txt
when 0
self.contents.draw_text(4, 0, 120, 32, "Text")
return
end
Use $ instead of @. Keep in mind that it will not be saved with the game.