Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

Data Logging?

Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the rules for support when posting support requests.
Failure to comply with the forum rules may result in your topic being locked without resolution.
Locked
xantufrog
Member
Member
Posts: 2
Joined: October 11th, 2012, 8:14 am

Data Logging?

Post by xantufrog »

Hi folks,
I apologize if this has been aswered elsewhere - I didn't see it using my terminology.
What I am looking to do is explore my options for logging the data from a "game" in sandbox. Specifically, is there a way to save a log of the coordinates passed through, triggers being activated, button presses, etc?

The hope is to use this platform for psychology experiments, and what is critical is that I have some sort of time stamps for "when the navigator was 'here'" and "when the navigator passed through the door" etc.

Thanks!
Hirato
Developer
Developer
Posts: 689
Joined: May 30th, 2009, 1:23 pm
IRC Username: hirato

Re: Data Logging?

Post by Hirato »

You can just print things to the console and save that to file (the -g command line option for the binary).

for example...
echo $lastmillis coordinates: (getcampos)

You can add additional statements in the script declarations for the relevant items to print stuff, ie...
level_trigger_1 = [ echo $lastmillis activated trigger 1 ]
This is not a url, clicking it is pointless
Locked