Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMLive.gml

Livecoding for GameMaker: Studio / GameMaker Studio 2 · By YellowAfterlife

Can GML Live Be used to add in patches and DLC

A topic by KOMIIWORLDGAMES created Mar 14, 2021 Views: 202 Replies: 2
Viewing posts 1 to 3
(1 edit)

I just bought this, and still figuring it out, but then i had a thought. Can it be used to add patches and DLC to games?

(+2)

You’ve got info about it in docs, but you need to remember, that it in fact will open a security breach in your game, as basically everything can be changed by users if you leave GMLIVE in final game. Also, generally it will cause a lot of FPS drop quickly.

So, while it could be used that way, it’s not optimal and safe in any way.

Developer(+3)

Very much what gnysek said - unless you take measures to verify integrity of code that you are going to run (e.g. use HMAC), this risks unintended side effects.

I would generally recommend TXR for potentially-unsafe code as you get a larger degree of control over what the executed code can or cannot access.

Also, generally it will cause a lot of FPS drop quickly.

Using “live snippets” should show better results than live_call as they were not affected by debug_get_callstack bug (see here).