Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler issues when imported into a GameMaker Studio 2.3 Beta project #91

Closed
lukehollenback opened this issue Jul 8, 2020 · 3 comments

Comments

@lukehollenback
Copy link

lukehollenback commented Jul 8, 2020

I tried using Scribble in a project that I have been playing around with in GameMaker Studio 2.3 Beta. When I tried to run the project, I got the following compiler errors ↝

Screen Shot 2020-07-07 at 11 03 36 PM

All I had consumed at that point in the project was the following in a global initialization script ↝

scribble_init("", "fNovember", false)

And then the following in a Draw HUD event ↝

scribble_draw(128, 128, "Hello, world!")
@DragoniteSpam
Copy link

Using the gms230_6_0_7e release for 2.3 should fix compiler issues if you're not already using it, although different updates to 2.3 have different issues. In particular, if the error is the compiler complaining about a ++variable right after an if statement, just wrap { } around it to make it go away.

@lukehollenback
Copy link
Author

Ah yes – using the correct package resolved my issue 🤦‍♂️. Thanks for the help!

@glitchroy
Copy link

Just to add to what @DragoniteSpam said - I just replaced ++var with var++ because I deemed it to do the same thing in the context it was reported it, but adding {} seems to be safer. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants