I have been working on a script, and it displays text on the upper part of the screen.
I have a problem, the text is supposed to disappear over time... and it doesn't.
This is my update method(it's a window class)
[rgss]
def update
if @text != $text
refresh
end
@wait -= 1
if @wait < 1
$text = ""
end
super
end
[/rgss]
what am i doing wrong?
I have a problem, the text is supposed to disappear over time... and it doesn't.
This is my update method(it's a window class)
[rgss]
def update
if @text != $text
refresh
end
@wait -= 1
if @wait < 1
$text = ""
end
super
end
[/rgss]
what am i doing wrong?