Welcome to the official documentation for the LogLudo GameMaker SDK. The LogLudo SDK provides lightweight, battery-friendly, privacy-first game analytics, player telemetry, in-memory aggregators, automated crash catching, and real-time Scenelytics™ spatial heatmaps for GameMaker games.
The LogLudo GameMaker SDK is engineered specifically to respect GameMaker’s single-threaded game loop, minimize garbage collector pressure, and avoid altering any host game behavior:
Zero RNG Pollution
Session IDs are created using Unix time and microsecond hardware timers (get_timer()). The SDK never calls randomize() during gameplay, ensuring your procedural generation seeds, level generation, and physics simulations stay 100% deterministic.
Automatic Bootstrapping
Using GameMaker’s modern time_source system, the controller object obj_LOGLUDO automatically initializes on frame 1 and autosaves every 5 seconds. You do not need to manually drag objects into every room.
Privacy-First by Design
Compliant out-of-the-box with GDPR, COPPA, and CCPA. Tracks retention through a mathematical 30-day bitmask (active_mask) and random cohort buckets (1–10) without harvesting IP addresses, MAC addresses, or personal identifiers.
Scenelytics™ Spatial Engine
Captures room layouts as high-resolution tiled orthographic surfaces and overlays player deaths, clicks, and multi-frame motion vectors directly on top of your game rooms in the dashboard.
The SDK manages three lightweight local JSON files stored safely in your game’s sandboxed storage (game_save_id):
logludo_device.json: Stores privacy-exempt device identity, lifetime session count, cohort bucket, first open timestamp, and the 30-day active bitmask. Scoped to your specific Game ID.
logludo_offline.json: Temporary persistent buffer of unsent telemetry events. Guarantees zero data loss during network dropouts, airplane mode, or abrupt game shutdowns.
logludo_crash.json: Unhandled crash trap generated by exception_unhandled_handler(). On next boot, the SDK forwards this report to the dashboard as a fatal error event before safely cleaning it up.