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.

Script Compatibility - MACL 1.5 to 2.0

I recently picked up and decided to make use of Trickster's Level Up Notice script. It uses the MACL 2.0.

Previous to this, I had decided also to use Trickster's newest CTB system, which uses gradient bars. Those bars, in turn, use MACL 1.5.

Thinking there would be no problems, I replaced the 1.5 with the newer 2.0, and attempted some testing. However, the gradient bars will no longer load properly, giving a method error on load. Specifically, the line called out in the Animated Gradient Bars script was Line 127 :

Sp_Flourish = [Color.white, Color.blue, Color.black, Color.blue]

The specific message was : "Undefined method 'white' for Color:Class."

I checked in the Addons MACL that came with the CTB system for the Color Class. It's code is far too long for me to post, but I haven't seen anything that may have caused this, nor do I see a Color Class in the 2.0 MACL.

As the only changes to the scripts I have in place was the MACL, I know the problem has to lie therein. However, my knowledge of scripting is pretty basic, and I don't want to go poking into it without some kind of direction. How do I correct this issue?

Aside from going back to MACL 1.5 and dropping the Level Up Notice, I mean.

For notes, all scripts included:

Tricksters CTB Battle System
SDK 2.2
Tricksters Level Up Notice
CMS (My Own, scripts availiable on request - it's a mess)
 
umm Are you sure that you have the latest version of those scripts I am quite sure I updated it in those demos

There might be a few hiccups in switching from 1.5 -> 2.0 but these will be fixed when version 2.1 comes out for now if you see a problem just let me know
 

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