Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMLive.gml

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

[Fixed] Does not support skeleton functions

A topic by Palisand created Apr 18, 2018 Views: 447 Replies: 8
Viewing posts 1 to 6
(1 edit)

I am unable to use GMLive in games that invoke any skeleton_* function. The log reads: `skeleton_bone_state_get` is not a function or script.

Should I be experiencing this error?

Developer

Hello! It would seem like I had skeleton_ functions excluded from automatic exposure to GMLive. 

I'm honestly not entirely sure why, might have been some sort of issue with GMS1 (which wouldn't let you compile a game with mentions of skeleton functions without Pro edition).

I'll take a look at that for the next release but meanwhile you can workaround this by making small wrapper scripts, e.g.

/// skeleton_bone_state_get_w
return skeleton_bone_state_get(argument0, argument1)

and then calling those when working with them from GMLive-enabled code.

Thank you. Do you have a release schedule or a notification system for releases?

Developer

Probably this weekend; I think itch should send you an email about update if you "follow" me on itch.

Developer

there

(2 edits)

With the latest update, I get the following error when attempting to compile:

Script: gml_builder_error_at at line 5 : unknown function or script trace

I'm using OS X if that helps. Also, I'm new to itch; how did you format the text for code?

So I was told via email that a debugging feature was left behind. A temporary workaround is to create a new script called "trace" and add one line: "var _ = argument[0]"

This should fix it until another update comes out.

I was not using the debugger though.

Developer

I uploaded another version now.

Basically, what's happening is that when someone finds a bug that break's GMLive's compiler, or when I'm experimenting with something that involves changing how compilation is handled, I enable a flag that adds that line (showing the script chain that executed before yielding a compilation error) and one other. Then I sometimes forget to disable it before uploading and you get this. I have now stripped it out for good because I think this is the third time this happened.