Jump to content

[WIP] WebRTC RealTime Multiplayer Soccer


AVENGER NO WAR
 Share

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

Link to comment
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

Link to comment
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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...