Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
We need SubSpace for NaCl

 
Post new topic   Reply to topic Printable version
 View previous topic  Need to Commission a Graphic Artist/We... Post :: Post help please  View next topic  
Author Message
SamHughes
Server Help Squatter


Joined: Jun 30 2004
Posts: 249
Location: Greenwich
Offline

PostPosted: Sat Aug 13, 2011 12:05 am   Post maybe stupid    Post subject: We need SubSpace for NaCl Reply to topic Reply with quote

Somebody get to work on that right quick.
Back to top
View users profile Send private message Add User to Ignore List
Samapico
No, these DO NOT look like penises, ok?


Age:32
Gender:Gender:Male
Joined: May 08 2003
Posts: 1252
Location: Montreal, Canada
Offline

PostPosted: Sat Aug 13, 2011 12:16 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Subspace for table salt?


Whatever that NaCl really is... why the hell would someone choose a name that is so impossible to Google correctly? I have no idea what you're talking about, and even if I wanted to, it's impossible to know.
_________________
DCME co-developer
17th Parallel Head Sysop
Subspace: The Future
Back to top
View users profile Send private message Add User to Ignore List
Bassnectar
Newbie


Joined: May 08 2011
Posts: 5
Offline

PostPosted: Fri Aug 19, 2011 10:03 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

This is actually and extremely cool idea!

http://en.wikipedia.org/wiki/Google_Native_Client

Although from what I read, and what I got from it, is it's going to be impossible for our community to do this.

I'm not 100%, but after a quick read, it seems that this technology developed by google will allow people to use the Chrome browser to run clients / applications / programs that you would normally have to run directly from your computer.

The reason it will be impossible to do is because the source code for the client needs to be recompiled under the Native Client.

Another issue that may ( or may not ) occur, is that if this project does get big, google might charge for it, although I'm not sure of that.
Back to top
View users profile Send private message Add User to Ignore List
SamHughes
Server Help Squatter


Joined: Jun 30 2004
Posts: 249
Location: Greenwich
Offline

PostPosted: Sat Aug 20, 2011 5:26 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Bassnectar wrote:
Another issue that may ( or may not ) occur, is that if this project does get big, google might charge for it, although I'm not sure of that.


It's BSD licensed.
Back to top
View users profile Send private message Add User to Ignore List
JoWie
Server Help Squatter


Gender:Gender:Male
Joined: Feb 25 2004
Posts: 215
Offline

PostPosted: Sat Aug 20, 2011 6:04 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

The biggest issue an in-browser subspace clone would have is networking. Javascript (V8 / SpiderMonkey) in combination with WebGL (or maybe canvas) is fast enough for a game like subspace.
NaCl is sandboxed and you can only use the API chrome provides. You can not make system calls. Unless it introduced new networking functionality it would not have a lot of advantages.

There are a bunch of different API's (and ways to abuse them) in the brower for sending data around, they all come down to:

  1. A single http request & response. Passing more data around needs another request. (XMLHttpRequest / iframe)
  2. A single http request, a never ending response. Sending data needs another request, receiving data does not. (XMLHttpRequest / Server-Sent Events)
  3. Bi-directional TCP initiated by a handshake in HTTP (WebSockets)

The first and second option have been possible for years. The last option is more recent (Firefox 6+, Chrome 14+, IE HTML5 Labs Plugin), but it would be the best candidate.

An issue is that this is all TCP. Most multiplayer games, like subspace, use UDP. Continuum periodically sends a position packet containing your location over UDP. If a packet is lost in UDP, it is not resent, which is exactly what you want when it comes to periodic position packets. Why resend when there already is a newer one on the way.

Having said that, I think nowadays TCP would be playable, but it would demand more on the quality of internet connections (bandwidth would only be a very small factor)
Back to top
View users profile Send private message Add User to Ignore List
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:35
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3604
Location: Las Vegas
Offline

PostPosted: Sun Aug 21, 2011 1:04 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Why not instead us a game engine that already supports Desktops, Web Clients, iOS, and Android? Write once, share everywhere.
Back to top
View users profile Send private message Add User to Ignore List Send email
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Trash Talk All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 117 page(s) served in previous 5 minutes.

phpBB Created this page in 0.187735 seconds : 30 queries executed (44.3%): GZIP compression disabled