Platform
Information
Information about the active platform. Available platform manager properties:
- JavaScript
- Construct 3
- Unity
// Platform type, e.g. Yandex, Vk
gp.platform.type
// You can check possibility to login
gp.platform.hasIntegratedAuth
// Is allowed to open external links?
gp.platform.isExternalLinksAllowed
// Platform type, e.g. Yandex, Vk
GS_Platform.Type();
// You can check possibility to login
GS_Platform.HasIntegratedAuth();
// Is allowed to open external links?
GS_Platform.IsExternalLinksAllowed();
All supported platforms:
- CrazyGames:
CRAZY_GAMES
- GameDistribution:
GAME_DISTRIBUTION
- GameMonetize:
GAME_MONETIZE
- OK Games:
OK
- SmartMarket:
SMARTMARKET
- VK Games:
VK
- Yandex Games:
YANDEX
- GamePix:
GAMEPIX
- Poki:
POKI
- VK Play:
VK_PLAY
Also you can get our SDK implementation or native platform SDK:
- JavaScript
- Construct 3
- Unity
// Our implementation
gp.platform.getSDK();
// Native platform SDK
gp.platform.getNativeSDK();
// Our implementation
runtime.GamePush.platform.getSDK();
// Native platform SDK
runtime.GamePush.platform.getNativeSDK();
Not implemented in Unity.
External links
Some platforms explicitly prohibit the use of external links (GameDestribution, OK), some allow any (within the law). Below is a table of platforms.
Platform | Allowed |
---|---|
Yandex.Games | ❌ Forbidden, but * |
VK Games | ✅ Allowed |
OK Games | ❌ Forbidden |
CrazyGames | ✅ Allowed |
GameMonetize | ✅ Allowed |
GameDestribution | ❌ Forbidden |
GamePix | ❌ Forbidden |
POKI | ❌ Forbidden |
SmartMarket | ✅ Allowed |
VK Play | ✅ Allowed |
info
Yandex.Games*:
- It is possible to post a link to the community if the community is only talking about the game on Yandex.Games, in other cases it is impossible.
- Allowed placement of links from the Yandex ecosystem, for example Yandex.Zen or links to other games on the platform.
Stay in Touch
Other documents of this chapter available Here. To get started, welcome to the Tutorials chapter.
GamePush Community Telegram
: @gs_community.
For your suggestions e-mail
: [email protected]
We Wish you Success!