Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Solidplasma

6
Posts
1
Topics
22
Followers
2
Following
A member registered Dec 15, 2014 · View creator page →

Creator of

Recent community posts

That didn't seem to work. I have a "live_auto_call" at the beginning of the event that calls this function, but I'll admit I don't fully understand the nitty gritty of how GMLive works. Will it just not work with static functions? Or could this have something to do with calling a nested function? The code I'm trying to test is in the Draw GUI event, so the code I've shared isn't even directly relevant and shouldn't need to change at runtime, which is why I'm confused that it stops working only after reloading with GMLive.

Sorry for necroing a long dead post, but I'm having a similar error and I've looked at the documentation you've linked. When I try to have GMLive reload an object's Draw GUI event, i get

[GMLive][7/14/2026 3:11:58 PM][ERROR] Runtime error: [error] Script index must be a number, got `undefined` (undefined)


The error in question stems from this nested function:

function GUIMask() {     
live_auto_call     
static surf = undefined;          
static Mask = function() {         
    live_name = "GUIMask:Mask"         
        if (live_call()) return live_result;         
        if (not surface_exists(surf)) {             
            surf = surface_create(display_get_gui_width(), display_get_gui_height());         
    }                 
    surface_set_target(surf);         
    draw_clear_alpha(c_black, 0);         
    gpu_set_colorwriteenable(false, false, false, true);     
};     
static Content = function() {         
    live_name = "GUIMask:Content"         
        if (live_call()) return live_result;         
        gpu_set_colorwriteenable(true, true, true, false);     
};     
static Render = function() {         
    live_name = "GUIMask:Render"         
    if (live_call()) return live_result;         
    gpu_set_colorwriteenable(true, true, true, true);         
    surface_reset_target();         
    draw_surface(surf, 0, 0);     
    }; 
} 
GUIMask();

Any help would be appreciated. I'm using Game Maker LTS 2026.0.0.16 with Runtime v2026.0.0.23.

(3 edits)

Current Features

  • Play as Hue, a student who loves their craft, and fights enemies using different paints, each with a different ability!
  • Find items to upgrade your build!
  • Meet a colorful cast of characters, with varied perspectives! (IN PROGRESS)

When strange, uncanny looking forces start swarming Pale University, an arts student named Hue sets out to clean things up.... by making a mess.

...And beat the crud out of of AI Generated Monsters drawn by actual artists!

My team and I have been working on this game since January, and while it's nowhere near finished, we wanted to do an Early Access thing on a smaller scale, so that your feedback can help make the game as good as it can be. Buying the game on itch gets you regular updates and an eventual steam key when we release the full game! 

Check it out!

The people complaining about the price and demanding this on steam sound a lot like the consumers in this game.

Hey, sorry for the delay. Please shoot me an email at solidplasmastudios@gmail.com

Did you buy the bundle? It should be in your itch.io library.