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 an 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 that's about it. I can't test anything until I get the script working :| Or unless I can find a simple paragraphing script elsewhere (it's only used for one window so I don't want an AMS)
Other Scripts I am using:
Atoa State Cycling (until I learn how to create my own :D )
If you need more info, I'll be glad to provide it
//EDIT: I've also found 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 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 if you know anything about the above please tell me
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 an 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 that's about it. I can't test anything until I get the script working :| Or unless I can find a simple paragraphing script elsewhere (it's only used for one window so I don't want an AMS)
Other Scripts I am using:
Atoa State Cycling (until I learn how to create my own :D )
If you need more info, I'll be glad to provide it
//EDIT: I've also found 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 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 if you know anything about the above please tell me