Skip to content
This repository was archived by the owner on Mar 29, 2026. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cubeage Platform SDK

Cross-platform game SDK for Web, Android, iOS, Unity, and Cocos Creator.

CI

Packages

Package Description Version
@cubeage/sdk-core Shared types, constants, HTTP client npm
@cubeage/sdk-web Web/browser implementation npm

Platform Plugins

Plugin Platform Status
plugins/unity Unity (C#) 🚧 Placeholder
plugins/cocos Cocos Creator (TS) 🚧 Placeholder
packages/sdk-android Android (Kotlin) 🚧 Placeholder
packages/sdk-ios iOS (Swift) 🚧 Placeholder

Getting Started

Web

bun add @cubeage/sdk-web
import { CubeageWebSDK } from '@cubeage/sdk-web';

const sdk = new CubeageWebSDK({
  gameId: 'my-game',
  backendUrl: 'https://api.cubeage.com',
  environment: 'production',
});

await sdk.init({ playerId: 'u123', deviceId: navigator.userAgent, sessionId: crypto.randomUUID() });
await sdk.track({ name: 'level_complete', properties: { level: 1 } });

See docs/ for platform-specific integration guides.

Development

This monorepo uses Bun workspaces.

bun install
bun run typecheck   # type-check all packages
bun run build       # build all packages

Documentation

License

MIT © Cubeage

About

Cubeage Platform SDK — cross-platform game SDK (Web, Android, iOS, Unity)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages