import { Badge } from "@/components/ui/badge"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { Gamepad, Code2, Rocket, ExternalLink, CheckCircle2, AlertTriangle, Package } from "lucide-react"; import { CodeBlock } from "@/components/dev-platform/ui/CodeBlock"; export default function GameMakerIntegration() { return (
GameMaker Integration

Build with GameMaker + AeThex

Integrate AeThex APIs with GameMaker Studio 2 for 2D game development. Use GML (GameMaker Language) for backend integration, cloud saves, leaderboards, and cross-platform publishing.

{/* Quick Stats */}
1M+
Active Developers
2D Focus
Drag & Drop + GML
Multi-Export
PC, Mobile, Console, Web
{/* Features */}

What You Can Build

Cloud Save Integration Save player progress to AeThex backend, sync across Windows, Mac, Linux, iOS, Android builds Online Leaderboards Global and friend leaderboards with daily/weekly/all-time filters via AeThex API Player Authentication Email/password login, social auth (Google, Discord), and guest accounts with AeThex Passport Analytics & Metrics Track player sessions, level completion rates, and custom events via AeThex telemetry
{/* Quick Start */}

Quick Start Guide

1. Import AeThex Extension Add the AeThex GML scripts to your GameMaker project

Download the AeThex.yymps extension package and import into GameMaker Studio 2.

  1. 1. Download from GitHub
  2. 2. In GameMaker: Tools → Import Local Package
  3. 3. Select AeThex.yymps file
  4. 4. Import all scripts and objects
2. Initialize AeThex (GML) Set up the AeThex client in your game's create event 3. Handle HTTP Async Responses Process API responses in the Async HTTP event
{/* Cloud Save System */}

Cloud Save Implementation

Save Player Data Upload save data to AeThex cloud storage Leaderboard Integration Submit scores and display global rankings
{/* Best Practices */}

Best Practices & Tips

GameMaker-Specific Tips

Async HTTP events: All network requests are async, handle in Async - HTTP event

DS maps for JSON: Use ds_map for JSON data structures, remember to destroy them

Global variables: Store auth tokens in global scope for cross-room access

Error handling: Check HTTP status codes (0 = success) before parsing responses

Performance Tips

Limit API calls: Cache leaderboard data, refresh every 30-60 seconds max

Local save backup: Use ini_open() for offline fallback saves

Batch operations: Group multiple save operations into single API call

Loading states: Show "Connecting..." UI during API requests

{/* Resources */}

Resources & Examples

Example Projects Documentation
{/* Next Steps */}

Ready to Build?

Create 2D games with GameMaker Studio 2 and AeThex. Export to all platforms with cloud saves, online leaderboards, and cross-platform progression.

); }