Description

ONLY FOR HTML GAMES

Telegram Gaming Platform: https://core.telegram.org/bots/games

More info: https://telegram.org/blog/games

DEMO: Contact via telegram the @pixelgames_bot and write /kingbox and play or share with friends my little game

With new version of Telegram Messenger bots can offer their users HTML5 games to play solo or to compete against each other in groups and one-on-one chats. Games are a new type of content on Telegram that your bot can send to users. This extension that allows you to use the new Telegram Gaming Platform and send the scores within the chat. If you need i can write some tutorial for make a bot to share your HTML game.

How to use:

DOWNLOAD THE TELEGRAM JS FILES:

https://mega.nz/#!JFBwGKiC!UsKhFEdWR_oy0a2advo_rFq--VDUsNfSYe16spjdN5g

And import this file like extension (now you have the games.js)

Import all scripts and objects then add ONLY ONE obj_telegram in your first room. Now edit the INIT script with your bot token and now you can use the script to share the player score

// UPDATE SCORE
script_telegram_insertScore(user_id, message_id, score, true);

*** IF YOU HAVE ANY PROBLEMS WITH SOME FUNCTIONS ***

When I wanted to distribute this extension I also wanted to add a library JS but i dont know the Why but seems it is not in the package, so if you cant find some libraries you can download my test project with all files:

https://mega.nz/#!hRZkgIQC!CIw8qHYxnx_xLCLGh7rUzwq7Ap3h67RXs9axLwYQViQ

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS1 - Version 1.0.1. Published November 18, 2016

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait

Back to Top