owenashurst / agar.io-clone

Agar.io clone written with Socket.IO and HTML5 canvas
MIT License
2.89k stars 1.13k forks source link

Build for Mobile #483

Closed nhutlv01 closed 1 year ago

nhutlv01 commented 7 years ago

Like Agario and Slitherio. Can we build this project into mobile devices (not play on web) ? If it can. Can you give me an advice about the tool to build.

Thanks all!

pctripsesp commented 7 years ago

https://play.google.com/store/apps/details?id=com.miniclip.agar.io&hl=en

https://play.google.com/store/apps/details?id=air.com.hypah.io.slither&hl=en

Nikitaw99 commented 7 years ago

@pctripsesp They weren't asking for the download links for the games, they asked how to build their agario-clone game on android/ios/mobile.

huytd commented 7 years ago

@nhutlv01 yeah you can. If you take a look at the Game Architecture document in Wiki, you can see the project has 2 parts: The server (written in Node) and the game client (using HTML5 canvas). What you can do is to replace the HTML5 canvas client with mobile code logic (based on some engine or anything you want).

I have to admit that this server is not good enough to build a real game on it, but the basic idea is just the same.

geopi commented 7 years ago

Check phonegap to use javascript / css / html client for crossplatform mobile app.

jasonchitla commented 7 years ago

@huytd You say this server is not good enough to build a real game on it. So, what are the things you would have in place in order to say this server is good enough? I am about to make an io game that also includes a mobile client, and I'm curious as to what you would do differently. For example, is it security of the servers, is it the architecture you would change, or what?

owenashurst commented 1 year ago

@huytd You say this server is not good enough to build a real game on it. So, what are the things you would have in place in order to say this server is good enough? I am about to make an io game that also includes a mobile client, and I'm curious as to what you would do differently. For example, is it security of the servers, is it the architecture you would change, or what?

If you have to ask, don't do it.