Expose event instead of crashy XDamage event (thanks Jamer)Gosu::language() that retrieves the user's current languageFont::setImage/Font#[]=(char, image) to set up a custom image for a characterGosu::language is useful for localization systems. Just do a case-insensitive comparison on the first two letters of it and be prepared to have a fallback. In Ruby, you can use this to set up e.g. the r18n gem.my_font['a'] = some_image - this allows developers to load custom bitmap fonts, while automatically having a fallback to normal Font functionality. Let me know if this does the trick for you in practice. I wanted to load my old bitmap font, but I lost the file. :(
Powered by mwForum 2.29.0 © 1999-2013 Markus Wichitill