Description

A bundle of scripts and an object that allows you to connect your game to Twitch chat super easily! For the most basic application, you can interact with Twitch chat using just 3 scripts (plus your own custom handler script) to connect and send/receive chat messages.

Main Features

  • Super easy to use (You only need to use a minimum of 3 scripts for basic functionality)
  • Flexible - Sending chat messages is easy, but you can also send and handle any Twitch IRC command (see https://dev.twitch.tv/docs/irc for info!)
  • Asynchronous command handling
  • Automatic PING->PONG and reconnection (if connection is lost)
  • Safely supports both blocking and non-blocking socket connections
  • Automatic rate limiting to reduce Global Ban risk
  • Many other commands to make the system more powerful (Capability requests, tag management, special string unescaping, command queueing and more)
  • Marked debug messages to help you track what's going on (and you can disable them when you need to!)
  • Theoretically works on all export platforms including HTML5

Currently versions for both GameMaker: Studio 1.4 and GameMaker Studio 2 are available

Documentation, tutorials and demos available free here: https://maddestudios.itch.io/mms-twitchtv-irc-interface-for-gamemaker

New in v1.1.0 (GMS2 Only)

  • twitch_check_connected() can now return 3 possible values from the enum "public_twitch_connection_status" ("connected", "not_connected" and "attempting_connection"). It will still work as a true/false test as before, but now you can check if you're connected but not logged in yet with "public_twitch_connection_status.attempting_connection"
  • oauth failures now cause a disconnect.
  • "twitch_set_disconnect_callback_script" has been added so you can set a script to handle unexpected disconnects, which will be passed 1 argument containing a value from the "public_twitch_disconnect_reasons" enum. Information about these enums and functions has been added to the quick reference.

The 1.4 version will not receive any updates (except maybe bugfixes) as official support for the IDE ended. Also, for some reason, the non-blocking connect never succeeded for me (it works fine in Studio 2 though)

(yeah, the screenshots are garbo... But to be fair, this asset is mostly for playing with text)

End User Licence Agreement (EULA).

Changes in 1.0.5

Added moderator handling (Messages limited to 50 characters unless MOD, then to 500. Assumed a MOD on your own channel) Added rate limiting, to reduce risk of BAN (rate is increased if you're a mod) Added basic handling of RECONNECT and MODE Tell the Twitch server we've PARTed on a disconnect Updated JS file a little to make socket creation fail if unsupported by the current browser

Version 1.0.5. Published March 26, 2018

Created with GameMaker: Studio v1.4.1804

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Azamat Z 01 June 2019

Nice, works.


Gravatar

orbis s 30 January 2019


Gravatar

Robert M 11 October 2018

Works Perfectly

Works perfectly and does everything it promises. PLEASE WRITE A YOUTUBE Version! Would easily have paid 10x as much for this code.

Package contents

Loading, please wait

What is the issue?

Back to Top