DracoBlair
Member
Hi again. I've been trying to use the following:
self.contents.draw_text(0, 0, 320, 32, @tip_message[rand(@tip_message.size)])
And everything works fine except that if a line is too long the message gets cut off. I've browsed the net for a remedy and found two scripts:
> ATP(Advanced Text Paragrapher) at http://gamebyyou.pl/viewtopic.php?t=28 . The problem is that whenever I activate a script that is to draw text the game shows:
???? 'Paragraph_script' 86? Type Error ??
cannot convert Fixnum into string
And
> http://rmrk.net/index.php/topic,22215.0.html , but this time the message says:
????? 'Window_TIP' ? 195 ??? NoMethodError ???????? undefined method 1 bitmap' for #<Bitmap:0x711eb50>
Which in my code is:
195 self.contents.bitmap.draw_paragraph (0, 0, 300, 32, @tip_message[rand(@tip_message.size)])
The second script would suit me better so I'd like to focus on that one. I can provide you with all info and screens you need, but my project has been on hold for a week now and I'd really use your help :|
self.contents.draw_text(0, 0, 320, 32, @tip_message[rand(@tip_message.size)])
And everything works fine except that if a line is too long the message gets cut off. I've browsed the net for a remedy and found two scripts:
> ATP(Advanced Text Paragrapher) at http://gamebyyou.pl/viewtopic.php?t=28 . The problem is that whenever I activate a script that is to draw text the game shows:
???? 'Paragraph_script' 86? Type Error ??
cannot convert Fixnum into string
And
> http://rmrk.net/index.php/topic,22215.0.html , but this time the message says:
????? 'Window_TIP' ? 195 ??? NoMethodError ???????? undefined method 1 bitmap' for #<Bitmap:0x711eb50>
Which in my code is:
195 self.contents.bitmap.draw_paragraph (0, 0, 300, 32, @tip_message[rand(@tip_message.size)])
The second script would suit me better so I'd like to focus on that one. I can provide you with all info and screens you need, but my project has been on hold for a week now and I'd really use your help :|