YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
26 stars 8 forks source link

GameMaker supports the use of external scripts to implement DLC/MOD functionality. #3070

Open Yanxiyimengya opened 1 year ago

Yanxiyimengya commented 1 year ago

Is your feature request related to a problem?

When will GameMaker have official support for external scripts like Lua scripts? There are extensions available in the community, but unfortunately, they do not support the mobile version as they require Java for development. Is it possible for the official GameMaker to be compatible with Lua scripts or JavaScript (I understand that external GML scripts will not be supported)? This way, everyone can create and sell DLC for their GameMaker games. It will also generate a lot of active mod developers for games created and released with GameMaker. You could even use this feature to implement hot-reloading of games. Just imagine, being able to expose your own scripts to be executed by Lua or JavaScript, interact with GameMaker's data structures, and even debug the code. This has always been my dream!

Describe the solution you'd like

For example, you can use official Lua support extensions to add extensions to your game, and then your game will be able to support loading scripts. You can also expose a usable script to Lua through functions like lua_add_function(), and use the lua_execute function to execute relevant Lua code.

Describe alternatives you've considered

For example, you can use official Lua support extensions to add extensions to your game, and then your game will be able to support loading scripts. You can also expose a usable script to Lua through functions like lua_add_function, and use the lua_execute function to execute relevant Lua code.

Additional context

No response

Yanxiyimengya commented 1 year ago

This is a bit similar to YoYoGames/GameMaker-Bugs#3774, but I'd prefer support for other scripts because I'm super super super like Lua =)(actually GML can too)