Dev here, feel free to ask me questions.
Agar.io
111–120 of 238 posts
Re: Agar.io
#112XMLHttpRequest cannot load http://m.agar.io/?_=1430388662333 . No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin ' http://agar.io' is therefore not allowed access. The response had HTTP status code 520.
This is a nasty thing that's mostly the applications fault but I feel the browser could be a little more smart about it too. The issue is that CORS headers are usually set at the application level, and applications often forget to set them when catching an error. So if for instance your page makes a CORS request and the MySql server is away. Your app framework catches the error and renders the 500 message, but it doe…
Re: Agar.io
#113Re: Agar.io
#114Dev here, feel free to ask me questions.
Re: Agar.io
#115Re: Agar.io
#116Earlier quoted context omitted.
Only sending input? That's great networking design!
Yeah I know right. No wonder this game crashes. When you press the space bar it sends a message, when you move your mouse it sends a message. The message is in function U() (its the Y position, X position and some other value I've confirmed its not magnitude don't really know what it does). As soon as the connection is established it starts sending, although if you don't move the mouse it doesn't send a message. Then…
It's a real-time game; it needs that much input data (but nothing else).
Re: Agar.io
#117Dev here, feel free to ask me questions.
Great game!
Re: Agar.io
#118Dev here, feel free to ask me questions.
Re: Agar.io
#119Re: Agar.io
#120After the MMO Asteroids incident [1], I had to switch off my network connection to reassure myself that it isn't fake. If you're looking for a more in-depth experience, check out Osmos [2], the single-player game that probably inspired this. [1] https://news.ycombinator.com/item?id=378475 [2] http://www.osmos-game.com/
It doesn't appear your [1] MMO Asteroids link is correct. It's a comment about doing Cocoa dev for 10 years
Seems like there were no asteroids.