PATCH 1.01: "ARE YOU F***ING KIDDING ME?"


This patch addresses four major issues with the 1.0 version of this extension:

  • Native matching actually works now. All I had to do to fix this was set one variable to true instead of false; I can't believe I shipped this extension without checking for that first.
  • The input object is now persistent, as it always should have been.
  • The input object now triggers the line of code that will tell the game when it's been booted for the first time on Game End.
  • The input database is now referred to correctly.

I sincerely apologize if you've tried adding this to your projects at this point and realized any of these five errors on my part. I rushed the extension to release because I was too tired to test anything. My bad.

To update this extension, you'll have to replace everything. If you've gone through the process of modifying the code by yourself and don't want to go the nuclear route, you can do this instead:

  • Set the object INPUT to be persistent. If you haven't dabbled with that, there's a checkbox that appears when you open the object up with that word on it. You'll need it to be persistent if you want it to work at all.
  • In the object INPUT, go to the Game Start event. At lines 710, 719, 770, and 779 (or wherever your own controls land!), replace the control database variable with global.controlDB.
  • In the object INPUT, add a Game End event. Inset this line of code:
    • if (!global.gameBooted) { ini_open(global.native_onFirstBoot_file); ini_write_real("POSTINIT","GAME BOOTED",1); ini_close(); }
  • In the INITIALIZATION OBJECT, go to line 68 or wherever you've placed the global._setToNative variable. Set this to true.

ADDITIONAL NOTE:

  • In order for debug functionality to work, you need to set the debug variable to true in the IDE. The way I have it currently set to work is that it can only be used separately from the IDE if you already have the requisite files. That's a failsafe I've always used in case I intend to release anything I work on. For the duration of a development period, I have that variable set to true. You should, too.
    • I don't know why I didn't do this.

This is all.

My B.

Files

laurensBasicShell_9-02-2024.yymps 413 kB
26 days ago

Get LAUREN'S BASIC SHELL for Gamemaker/GMS2 Projects

Leave a comment

Log in with itch.io to leave a comment.