Game Maker Studio Android Native extension – Log to Console

Hello there!

Logging some message for debugging purposes is always an important matter.
Game Maker Studio offers many ways to do so, as you can see here: http://docs.yoyogames.com/source/dadiospice/002_reference/debugging/index.html
like for example, the classic:

show_debug_message(message)

However, for some strange reason, while developing Alpaca Jump, I needed to log my custom message directly into the Android Logcat, as Game Maker already does under the “yoyo” tag.

Check this: http://help.yoyogames.com/entries/22505628-ADB-Logging-Your-Android-Game

I could not find any way to do so, and maybe I’m wrong about this, and I’ve just not searched well enough, however, in the end, I’ve created a simple extension with this goal.

It’s really easy because I just needed to execute such simple Java code:

Log.i(“yoyo”, str);

from within Game Maker Studio.

Well, I’ve just published this small extension for FREE into the Game Maker Marketplace, check it out here: https://marketplace.yoyogames.com/assets/1076/log-to-console

Let me know if you have any tips and/or questions.
And don’t forget to play Alpaca Jump!
https://play.google.com/store/apps/details?id=com.mattiafortunati.alpacajump.free

I hope this extension can be of help!
Have fun!

Mattia

Leave a Reply

%d bloggers like this: