Sign in to follow this  
AVENGER NO WAR

[WIP] WebRTC RealTime Multiplayer Soccer

Recommended Posts

My first try to HTML5 is a WebRTC game. :huh:
i used webrtc datachannel to build a peer to peer network between players browsers.
as firefox won't let me create datachannels without audio/video streams, this game only works with google chrome.
 
still need a little work,. i'l ltry to put on my website next week.
 
WebRTC_Game_RealTime_Multiplayer_Soccer_

webrtc-game-2.jpg
 
webrtc-game-3.jpg
 
webrtc-game-4.jpg
 
webrtc-game-5.jpg
 
webrtc-game-6.jpg
 
move with Arrow keys and kick the ball with "x" key.
as this game is a peer to peer game, if a player with slow network or faraway from you, join your room, it will make the game laggy and unplayable, how ever i have no idea how internet connections actualy are at other countries. in my country at least won't work.
this is more like a demo of webrtc datachannel instead of a game :P<_<:wacko::ph34r:

 

GAME URL: http://riskygear.com/game1-html5-soccer-realtime-multiplayer

Share this post


Link to post
Share on other sites

I can confirm that Firefox does allow DataChannels now without audio or video.
Our chat application works both on Firefox and Chrome, and video / audio are optional. Interconnection between Chrome and Firefox also works.

Check the code on this project. It will be quite helpful...
https://github.com/muaz-khan/WebRTC-Experiment/tree/master/RTCMultiConnection

Share this post


Link to post
Share on other sites

Firefox absolutely will allow DataChannels without audio/video (we got rid of that restriction a long time ago).

 

See http://mozilla.github.com/webrtc-landing/data_test.html

 

I'd love to see your game running on Firefox!

 

 

I can confirm that Firefox does allow DataChannels now without audio or video.

Our chat application works both on Firefox and Chrome, and video / audio are optional. Interconnection between Chrome and Firefox also works.

Check the code on this project. It will be quite helpful...

https://github.com/muaz-khan/WebRTC-Experiment/tree/master/RTCMultiConnection

 

You are right.

now i let Firefox users connect to this game beside chrome users.

 

-------------------------------

Firefox and Chrome users can play this game now: WebRTC RealTime Multiplayer Soccer HTML5

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.