Twitch.tv Chat integration & Viewer list example.

Get help using Construct 2

Post » Wed Mar 30, 2016 8:28 pm

kAlekki wrote:Has anybody actually used C2 for any interactive twitch games?


I think you are the first.

For myself, I have full control of both the websocket server and client, which makes my life easier in that respect.
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
23
S
6
G
1
Posts: 1,419
Reputation: 4,857

Post » Wed Mar 30, 2016 9:21 pm

-
Last edited by kAlekki on Mon Apr 18, 2016 2:29 pm, edited 1 time in total.
B
19
S
7
G
3
Posts: 28
Reputation: 2,438

Post » Thu Apr 07, 2016 6:44 pm

kAlekki wrote:Alright i got it working, turns out the ip i had was for irc events only and didnt allow for actually anything other than initial connection, working websocket ip for twitch chat is ws://irc-ws.chat.twitch.tv:80 in case people are interested

Is there any chance you could post a capx example of your updated twitch code?

Edit: I've got it working :D the reviving messages side anyway, though I haven't managed to get the sending side working.

Great job on this, so simple but effective, opens up some serious possibilities!
B
11
S
3
Posts: 135
Reputation: 1,309

Post » Sat Apr 09, 2016 4:01 pm

-
Last edited by kAlekki on Mon Apr 18, 2016 2:29 pm, edited 1 time in total.
B
19
S
7
G
3
Posts: 28
Reputation: 2,438

Post » Sun Apr 10, 2016 10:05 am

kAlekki wrote:
AlexFrancois wrote:
kAlekki wrote:Alright i got it working, turns out the ip i had was for irc events only and didnt allow for actually anything other than initial connection, working websocket ip for twitch chat is ws://irc-ws.chat.twitch.tv:80 in case people are interested

Is there any chance you could post a capx example of your updated twitch code?

Edit: I've got it working :D the reviving messages side anyway, though I haven't managed to get the sending side working.

Great job on this, so simple but effective, opens up some serious possibilities!

I'll upload a capx of the project next week. The message parsing isn't perfect, but it can send and receive messages, fires event when user joins/leaves the channel, list all chatters.

Awesome, I look forward to it!
B
11
S
3
Posts: 135
Reputation: 1,309

Post » Sat Apr 16, 2016 5:51 pm

Hey, are you planning to release the .capx soon?
Would be REALLY useful, thanks alot!
Image
B
13
S
2
G
1
Posts: 60
Reputation: 1,553

Post » Tue Apr 19, 2016 7:34 pm

Updated starting post with example project, keep in mind the chat message parsing regex is not perfect, ':' character cuts the sentence. Feel free to expand and improve :)
B
19
S
7
G
3
Posts: 28
Reputation: 2,438

Post » Tue Apr 19, 2016 9:25 pm

thanks for sharing.
B
35
S
18
G
14
Posts: 18
Reputation: 9,073

Post » Wed Apr 20, 2016 3:12 pm

Wow, this is looking goooood! Keep up the awesome work, this is exactly what c2 needs, twitch integration is the future http://www.gamesindustry.biz/articles/2 ... to-success
B
11
S
3
Posts: 135
Reputation: 1,309

Post » Fri Apr 29, 2016 3:44 pm

Why did you delete all of your posts? Lol. You removed any teaching value for people new to this topic, lol.
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
23
S
6
G
1
Posts: 1,419
Reputation: 4,857

PreviousNext

Return to How do I....?

Who is online

Users browsing this forum: Klarner, worm1 and 27 guests