$ cnpm install mage
MAGE is a Game Server Framework for Node.js. It allows game developers to quickly create highly interactive games that are performant and scalable.
See our user documentation for more details.
We officially support the following client-side SDKs:
Name | Language | Location |
---|---|---|
mage-js-sdk | JavaScript (browser) | GitHub |
mage-sdk-unity | C# (For Unity) | GitHub |
# Replace my-gameserver with how you wish to name your game
export NODE_ENV=development
npx mage create my-gameserver
cd my-gameserver
Then follow the indications on screen as they appear.
# Replace my-gameserver with how you wish to name your game
set-item env:NODE_ENV=development
npx mage create my-gameserver
cd my-gameserver
Then follow the indications on screen as they appear.
Optionally, you may also create a TypeScript project. Simply add the --typescript
flag to the previous npm
command.
npx mage create my-gameserver --typescript
Copyright 2014 - 2016 © taobao.org |