GameMaker Quick Start
This page provides two minimal validation paths:
- Run the official sample: validate with the sample project included in the release package
- Integrate into your own project: integrate the runtime with the minimum call sequence
The current first release covers:
- game authorization
- real-name verification and anti-addiction state
- achievement unlock
- achievement progress reporting
It does not cover rooms, realtime messaging, or RPC.
Prerequisites
Section titled “Prerequisites”igp-gamemaker-sdk-0.0.6.ziphas already been downloaded and extracted- The IGP desktop client is installed and runnable on the local machine
- If you want to validate the successful path for your own game, you already have the
appIdassigned by IGP - The GameMaker runtime is initialized with
igp_init(...) - If real-name verification and anti-addiction is being validated, launch blocking or in-game real-name verification has been selected in the backend. GameMaker currently focuses on reading and refreshing state
1. Run the official sample
Section titled “1. Run the official sample”- Open
samples/gamemaker/windows-auth-achievements/project/IGP.WindowsAuthAchievements.yypin GameMaker - Press F5 to run it
- First check whether these on-screen fields start updating:
InitializedConnectionAuthorizationLatest resultLatest errorLatest event
- Press F1 once to unlock an achievement
- Press F2 once to report 50% progress
2. Minimum call order for your own project
Section titled “2. Minimum call order for your own project”Create event
Section titled “Create event”global.igp_app_id = YOUR_APP_ID;global.igp_sdk_enabled = true;
if (global.igp_sdk_enabled && !igp_init(global.igp_app_id, { desktop_auto_attach: true})){ show_debug_message("IGP init failed");}Step event
Section titled “Step event”if (!global.igp_sdk_enabled){ exit;}
igp_update();
var evt = igp_poll_event();while (!is_undefined(evt)){ show_debug_message("IGP event: " + string(evt.type)); evt = igp_poll_event();}
if (keyboard_check_pressed(vk_f1)){ igp_unlock_achievement("YOUR_ACHIEVEMENT_KEY", "", 0, global.igp_app_id);}
if (keyboard_check_pressed(vk_f2)){ igp_report_achievement_progress( "YOUR_PROGRESS_ACHIEVEMENT_KEY", 50, "", "", 0, global.igp_app_id);}Clean Up event
Section titled “Clean Up event”igp_shutdown();3. Minimum acceptance checks
Section titled “3. Minimum acceptance checks”Assuming the desktop client is available, appId is correct, and the achievements are configured, confirm at least these outcomes:
igp_init(...)returnstrueConnectiondoes not stay atdisconnectedAuthorizationmoves frompendinginto a concrete resultauthorized_onlineauthorized_offlinefailed
- After triggering F1 or F2,
Latest resultorLatest eventchanges
4. Next steps
Section titled “4. Next steps”After Quick Start is complete, continue based on the target feature:
- Feature-based engine examples: Use the SDK by feature
- Base startup flow: Startup and connection
- Game authorization: Game authorization
- Real-name verification and anti-addiction: Real-name verification and anti-addiction
- Achievements: Achievements
- Full checks: Testing
- Add files to your own project: GameMaker Installation
- Troubleshoot state and errors: GameMaker Debugging
- Inspect exported bridge functions: GameMaker Native Bridge
- Review the sample directory: Windows Authorization and Achievements Sample