Casper Gaming Developer Corner
Casper Gaming Developer Corner

[CGMZ] Core - Version 1.25.0

Back to Plugin

Devlog Version

Hi all, today this plugin was updated to version 1.25.0!

This version now also allows you to scroll [CGMZ] scrollable windows using the keyboard at all times, even when not "active". This is similar to how gamepad controls work where controller players can always manually scroll a display window by using the other stick. Previously, it was meant for pc players to use the mouse to do this, but not everyone may have a mouse, so for those players with keyboard only they can now also use the keyboard keys. Similarly, the mouse wheel can also always scroll the windows if it is hovering over the window.

This update also made text drawing functions more resilient. Now, if a [CGMZ] plugin tries to draw a string which is empty it will instead skip trying to draw the text. Previously it did not have this check, and trying to draw text that was undefined would cause a crash as it tried calling string functions to handle replacing text codes.

With the 1.9.0 update, MZ now has a map parameter type. This is better ux but can be a little annoying to parse from string to number every time, so this update also provides a new utility function to turn this parameter from json into a usable js object with error handling.

Version 1.25.0
  • Added utility function to parse new map parameter type
  • Added keyboard scroll keys
  • Mouse wheel can now always scroll scrollable windows if cursor over window
  • Text drawing functions now have better error handling
  • Removed deprecated temp function

Back to Plugin