Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Sledgy on Thu 12/06/2014 13:00:06

Title: Debugger for AGS game with command line
Post by: Sledgy on Thu 12/06/2014 13:00:06
Really create debugger for AGS game with command line?

i.e. you run the game, then you type in the debugger smth like
Code (ags) Select
SetGlobalInt(5,444);
Display("%d", GetGlobalInt(5) );
and it works in the game
Title: Re: Debugger for AGS game with command line
Post by: Scavenger on Thu 12/06/2014 14:22:14
Unfortunately, AGS' scripting language is compiled rather than interpreted, so this would be impossible.

You can probably do something similar with the Lua plugin, though. The Lua script is interpreted.