Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Catchm's FFX-2 CMS error

Okay i want to try putting this CMS in my game but I get this error and don't want to mess it up by fooling around with it.


Script 'FFXstyle' line 1855: TypeError occurred.

no implicit conversion from nil to integer

So if anyone knows what i need to do to fix this please tell me.
 
Delete all $fontface, $fontsize things or replace them to your desired font and size. If you don't want to do it, insert this in main:
Code:
$fontface = Font.default_name = 'yourfont'
$fontsize = Font.default_size = value #your font size(point)
 
Everytime you encounter the lines:
Code:
self.contents.font.size = $fontsize
self.contents.font.name = $fontface

Delete them. They're not necessary. Of course you have to delete everyone in the script.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top