I was pretty lost here, and the GameMaker docs provided little help. Next, I tried to run my game but the build failed due to a number of “invalid token” errors.Įach error looks like this: Error : gml_Script_jso_decode_map(84) : invalid token What I actually had to do is go to the Resources panel and right click on Extensions. The JSOnion instructions say “drag JSOnion.gml into your open project”, but that doesn’t work (or at least it didn’t for me, no matter where I tried to drop). Importing the Extensionįirst thing I got confused on was how, exactly, to bring the extension code into GameMaker 2. It took a lot of trial and error and digging on Google to figure it all out, so I’ve documented what I needed to do here in case it helps someone else. Compiling with the extension in use kept giving me a vague “invalid token” error in 4 different places (luckily, line numbers were included) but no clues as to what token, exactly, was invalid. I wanted to use dicksonlaw583‘s JSOnion extension in GameMaker Studio 2, but the extension was written for GameMaker Studio 1.4. In this article: how I adapted an extension written for GameMaker Studio 1.4 (the free version) so that it worked in GameMaker Studio 2 (the new/paid license version). Jim Grant, full stack JavaScript developer, lover of esoteric language features and science fiction. Mandi Burley, full stack JavaScript developer, WordPress fixer-upper, and occasional artist. The more frustrating something was, the more likely it is to end up here on this site! Here, we share little discoveries made along the way. A lot happens between “Hello World” and “Supreme Master Programmer”.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |