HappyFunTimes LAN Multiplayer Possible?

Discussion and feedback on Construct 2

Post » Mon Dec 15, 2014 9:43 pm

I just saw a post for a code-a-thon that incorporated this silly LAN multiplayer that has like 30 players so I went to their website to see it is pretty much all Javascript.

Just curious if anyone else has seen or looked into this and the possibility of it being able to work with C2 in any way? (There are much smarter people on here so I thought I would post here instead of trying and getting nowhere)

http://superhappyfuntimes.net/about
https://github.com/greggman/HappyFunTimes
Twitter: https://twitter.com/pudgyplatypus

Learn to make a clicker game for cheap!
https://www.scirra.com/store/games-with ... e-game-666

Try out Pixel Golf on the Scirra Arcade!
https://www.scirra.com/arcade/sports-ga ... el-golf-67

Pudgy Platypus Games website!
www.pudgyplatypus.com
B
59
S
20
G
5
Posts: 212
Reputation: 7,390

Post » Mon Dec 15, 2014 10:08 pm

wow cool! I hope I have time to look into this more!

Regarding your question are you asking if we could make games for happyFunTimes, using construct 2?
B
39
S
9
G
4
Posts: 163
Reputation: 6,516

Post » Mon Dec 15, 2014 10:15 pm

Reading this:
https://github.com/greggman/HappyFunTim ... s.md#clone
"If you're doing it in JavaScript use any game framework you want, copy one of the examples, or write from scratch but a few rules. If you're doing it in Unity3D or any other language you should still follow the info below."

suggests to me that it should be possible to deploy a construct 2 game with HappyFunTimes, maybe it's necessary to write a plugin that supports the controller input API, but that shouldn't be impossible.

very promising.... soooo many fun things to do, so little time! :)
B
39
S
9
G
4
Posts: 163
Reputation: 6,516

Post » Tue Dec 16, 2014 5:00 pm

@OneMuppet Yea I'm not super familiar with javascript or LAN networks...like at all lol, so I was curious if it was possible to integrate them..somehow. I can't imagine it being very simple either way and probably still have to program it as if it was a Multiplayer plugin type game. I was more hoping it was easy enough to integrate it where you could program it like it's a local multiplayer game and it just recognizes everyone that connects as more of a "controller" as opposed to a complete separate client, you know?

I guess on that note, is that possible to anyone's knowledge to get mobile devices to connect to a construct 2 webpage and just use one client as the display and the mobiles are controllers? It's probably something you still have to use the Multiplayer plugin for but I was hoping not because the multiplayer plugin it's pretty beyond me for now.

Anyways, yes it is a pretty cool thing and I hope some super smart person looks at it for C2 ;)
Twitter: https://twitter.com/pudgyplatypus

Learn to make a clicker game for cheap!
https://www.scirra.com/store/games-with ... e-game-666

Try out Pixel Golf on the Scirra Arcade!
https://www.scirra.com/arcade/sports-ga ... el-golf-67

Pudgy Platypus Games website!
www.pudgyplatypus.com
B
59
S
20
G
5
Posts: 212
Reputation: 7,390

Post » Tue Dec 16, 2014 5:37 pm

There is still limited support for webRTC in mobile browsers, Android has the best support to the best of my knowledge, but I don't think there is any support for the scrirra multiplayer object on ios browser now. Hopefully it won't be long before mobile browser support is better.

Right now I think downloading and hosting the happyFunTimes server and perhaps building a happyFunTime plugin to construct 2 if needed so that the games could listen for and interpret the input (havn't looked into the happyFunTime API yet), would be our best bet. Maybe you could email the people behing happyFunTime and ask if they could look into a construct 2 integration? :)
B
39
S
9
G
4
Posts: 163
Reputation: 6,516

Post » Sun Dec 28, 2014 7:41 pm

@Djfuzion I've been investigating this a bit and have an ok idea of how to develop this. But it will take a lot of effort. And I may very well run into something that I cannot solve due to lack of time and or knowledge or both :)

I just wanted to check with your quickly if I (or someone else) did proceed to develop this and released it on the Scirra store as a template/bundle (or what ever it should be called) so that people could use to develop their own games, what would you consider beeing a fair price? 10$? 20$?
B
39
S
9
G
4
Posts: 163
Reputation: 6,516

Post » Sun Dec 28, 2014 9:20 pm

IE11 is building in support for ORTC (or commonly known as webrtc 1.1) so hopefully that will improve matters in terms of coverage. no timeline on when that support will become available.
B
7
S
3
G
1
Posts: 184
Reputation: 1,352

Post » Mon Dec 29, 2014 8:50 am

Here is my first working prototype: http://youtu.be/oVBihLMjJAU

Let me know if there is any interest for it?
B
39
S
9
G
4
Posts: 163
Reputation: 6,516

Post » Mon Dec 29, 2014 6:18 pm

@OneMuppet Wow that's fantastic! What kind of set up did you need for that? Do you need the Multiplayer plugin and all that crazy networking code or can you just treat inputs individually? I am definitely interested in how you got it working.

Awesome!
Twitter: https://twitter.com/pudgyplatypus

Learn to make a clicker game for cheap!
https://www.scirra.com/store/games-with ... e-game-666

Try out Pixel Golf on the Scirra Arcade!
https://www.scirra.com/arcade/sports-ga ... el-golf-67

Pudgy Platypus Games website!
www.pudgyplatypus.com
B
59
S
20
G
5
Posts: 212
Reputation: 7,390

Post » Thu Jan 01, 2015 7:12 pm

So if I'm getting this right, this would basically eliminate the need for a signalling server when doing LAN multiplayer games, wireless mobile controllers and similar.
Are there other benefits instead of using the C2 multiplayer plugin, lower bandwidth consumption maybe?
If anything this would be a good multiplayer plugin update.
B
33
S
12
G
7
Posts: 227
Reputation: 7,582

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests