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).

Version 1.0.1. Published November 18, 2016

Created with GameMaker: Studio v1.4.1763

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Tom O 19 August 2017

Can't get it to work

I tried with your test project on my own server and bot. It doesn't show any score.


Gravatar

Anonymous 20 April 2017

Tutorial

Please make a short tutorial

Logo

Blackswan (Publisher) 05 June 2017

Yes i want to do that, for now you can check my test project ;)


Gravatar

JEAMEYOUNG K 14 January 2017

where is getQueryString() ?

i cant found it

Logo

Blackswan (Publisher) 05 June 2017

Yes i know when i exported this extension i cant add one JS file to the export, please see the description for the Test Project

Package contents

Loading, please wait

What is the issue?

Back to Top