06-13-2012, 06:50 AM
I was having no end of trouble getting the help window to fade in and out in battle. I've done it before in a different project, but this time there just seemed to be so much conflict, causing it to flicker onscreen before fading away, and when I fixed that it would stay onscreen...
Eventually I did this. It's probably not the way to go about it. But it works well enough.
Eventually I did this. It's probably not the way to go about it. But it works well enough.
PHP Code:
<?php
def visible=(boolean)
if boolean == true
self.fade(20)
else
self.fade(-20)
end
end