www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Web-based game written in D

reply Flying-Toast <email example.org> writes:
I've been working on writing a game for a while, and it is 
finally nearly complete.
It is browser-based multiplayer (similar to agar.io, slither.io, 
etc), using Vibe.d for the web stuff. I have been working on it 
off and on for ~1 year, including a full rewrite from node.js to 
D.

Anyway, you can check it out here:
http://sorcerio-pre-alpha.tk/

And of course the source:
https://github.com/Flying-Toast/sorcerio
May 30
next sibling parent angel <andrey.gelman gmail.com> writes:
On Thursday, 30 May 2019 at 14:26:50 UTC, Flying-Toast wrote:
 I've been working on writing a game for a while, and it is 
 finally nearly complete.
 It is browser-based multiplayer (similar to agar.io, 
 slither.io, etc), using Vibe.d for the web stuff. I have been 
 working on it off and on for ~1 year, including a full rewrite 
 from node.js to D.

 Anyway, you can check it out here:
 http://sorcerio-pre-alpha.tk/

 And of course the source:
 https://github.com/Flying-Toast/sorcerio
Cool !
May 30
prev sibling next sibling parent reply JN <666total wp.pl> writes:
On Thursday, 30 May 2019 at 14:26:50 UTC, Flying-Toast wrote:
 I've been working on writing a game for a while, and it is 
 finally nearly complete.
 It is browser-based multiplayer (similar to agar.io, 
 slither.io, etc), using Vibe.d for the web stuff. I have been 
 working on it off and on for ~1 year, including a full rewrite 
 from node.js to D.

 Anyway, you can check it out here:
 http://sorcerio-pre-alpha.tk/

 And of course the source:
 https://github.com/Flying-Toast/sorcerio
Feels fairly snappy. I looked briefly over the source code. I am surprised how simple the client is. Looks to me you only do client-side prediction for the movement, but don't do anything for shooting, is that correct?
May 30
parent reply Flying-Toast <email example.org> writes:
On Thursday, 30 May 2019 at 21:13:08 UTC, JN wrote:
 On Thursday, 30 May 2019 at 14:26:50 UTC, Flying-Toast wrote:
 I've been working on writing a game for a while, and it is 
 finally nearly complete.
 It is browser-based multiplayer (similar to agar.io, 
 slither.io, etc), using Vibe.d for the web stuff. I have been 
 working on it off and on for ~1 year, including a full rewrite 
 from node.js to D.

 Anyway, you can check it out here:
 http://sorcerio-pre-alpha.tk/

 And of course the source:
 https://github.com/Flying-Toast/sorcerio
Feels fairly snappy. I looked briefly over the source code. I am surprised how simple the client is. Looks to me you only do client-side prediction for the movement, but don't do anything for shooting, is that correct?
Yes, currently only movement is predicted. I will probably implement prediction for other things too, though.
May 30
parent reply JN <666total wp.pl> writes:
On Thursday, 30 May 2019 at 22:08:32 UTC, Flying-Toast wrote:
 Yes, currently only movement is predicted. I will probably 
 implement prediction for other things too, though.
Where is the server located? I'm Polish and played it for few minutes with my Russian friend and we felt like the latency is good enough.
May 31
parent reply Flying-Toast <email example.org> writes:
On Friday, 31 May 2019 at 09:54:33 UTC, JN wrote:
 On Thursday, 30 May 2019 at 22:08:32 UTC, Flying-Toast wrote:
 Yes, currently only movement is predicted. I will probably 
 implement prediction for other things too, though.
Where is the server located? I'm Polish and played it for few minutes with my Russian friend and we felt like the latency is good enough.
It is hosted on a raspberry pi at my house.
Jun 01
parent "Nick Sabalausky (Abscissa)" <SeeWebsiteToContactMe semitwist.com> writes:
On 6/1/19 10:02 AM, Flying-Toast wrote:
 On Friday, 31 May 2019 at 09:54:33 UTC, JN wrote:
 On Thursday, 30 May 2019 at 22:08:32 UTC, Flying-Toast wrote:
 Yes, currently only movement is predicted. I will probably implement 
 prediction for other things too, though.
Where is the server located? I'm Polish and played it for few minutes with my Russian friend and we felt like the latency is good enough.
It is hosted on a raspberry pi at my house.
Seriously? Ok, now that's just plain cool.
Jun 01
prev sibling parent Alex <alexander.edwards gmail.com> writes:
On Thursday, 30 May 2019 at 14:26:50 UTC, Flying-Toast wrote:
 I've been working on writing a game for a while, and it is 
 finally nearly complete.
 It is browser-based multiplayer (similar to agar.io, 
 slither.io, etc), using Vibe.d for the web stuff. I have been 
 working on it off and on for ~1 year, including a full rewrite 
 from node.js to D.

 Anyway, you can check it out here:
 http://sorcerio-pre-alpha.tk/

 And of course the source:
 https://github.com/Flying-Toast/sorcerio
Hi, I took a quick look. You might like to create some 'bots' to make the game busier? Also good for testing :)
Jul 23