LuaRousr v1.0.0 Released! Here's the Change Log...
LuaRousr - GMS2 Extension » Devlog
Today marks the release of LuaRousr v1.0.0! (Also available at the YYG Marketplace)
There's quite a few changes here, we'll start with the changelog:
- API Changes:
- Renamed
luaRousr_killThread
toluaRousr_killThreads
to more accurately match its function, no longer accepts a contextId luaRousr_executeFile
andluaRousr_executeString
no longer return ascript_context_id
and just returntrue
on success.- Added
luaRousr_init
- optional script to create LuaRousrluaRousr_bindInstanceVariable(instance_id, memberName, defaultVal, readOnly)
- bind your own instance variables to your bound instanceluaRousr_bindResource(_name, _index)
andluaRousr_unbindResource(_indexOrName)
to manage resource binds (access in Lua asGMLResource("name")
)luaRousr_retainCallback
andluaRousr_releaseCallback
for managing functions passed from Lua's Lifetime.luaRousr_addDebugPrintListener
andluaRousr_removeDebugPrintListener
added, allowing you to add custom print handlers.
- Renamed
- Fixes:
- Fixed calling Lua from Lua called GML functions
- Nesting Lua->Gml->Lua->Gml should now call functions correctly.
- Fixed
luaRousr_call
not returning values properly - Rewrote Instance Syncing
rousr_sync
was not actually being called after initial instantiation, so GML updates to objects wouldn't be seen by Lua- Smart Syncing that caches reads/writes to minimize communication between GML/Lua
- Fixed calling Lua from Lua called GML functions
- New Features:
- Added support for passing functions as arguments to GML, i.e.,:
lua -- Lua Code set_game_callback(function(str) print (str) end)
- Added support for calling those functions, i.e.,: ```javascript // GML code ///@func set_game_callback(callbackId) var callbackId = argument0; // got from the setgamecallback lua function luaRousr_callLua(callbackId, "hello");
- Added support for passing functions as arguments to GML, i.e.,:
Files
luaRousr v1.0.0 - Demo.zip 2 MB
Oct 19, 2017
LuaRousr-1.0.0.yyz 1 MB
Oct 19, 2017
Get LuaRousr - GMS2 Extension
Download NowName your own price
LuaRousr - GMS2 Extension
A versatile Lua extension for GameMaker 2
Status | Released |
Category | Other |
Authors | rousr, babyjeans, net8floz, rabblrouser |
Tags | extensions, GameMaker, gms2 |
More posts
- v1.1.1Jan 02, 2018
Leave a comment
Log in with itch.io to leave a comment.