Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Ability to add every GMS1 function to lua_add_function

A topic by stef created May 05, 2023 Views: 165 Replies: 1
Viewing posts 1 to 2

I'm working on a moddable game using Apollo, and I would like the users that would want to mod my game to be able to use most / all gamemaker functions such as: instance_destroy, instance_add, sprite_add, etc..

However, Apollo requires you to manually add all these functions as scripts, and obviously that would take a very long time.

So is there any way to make Apollo load every GML function automatically? Thanks.

Im on GMS1.

Developer

Not automatically, no - the first GameMaker version where it’s possible to automatically collect built-in functions and call them by index is GMS 2.3. Older versions require making a script for every function that you want to be callable from Lua - one way or another.

See this topic on GM forums for some suggestions.