New answers tagged mobile
I created the Unity Asset 'Resolution Magic 2D' to solve this very problem (ad: you can get it from the Unity Asset Store, or see more details at grogansoft.com). The way I tackled the problem was as follows... Define an area of the screen that must always be visible regardless of aspect ratio/resolution, and use a simple rectangle transform to 'stencil ...
Lolums explained the differences well, so I'll just add that if you're game is turn based, you'll need to have all players see each others moves, so missing packets of information is not allowed and TCP should be used. Alternately if your game uses realtime gameplay, you need to ensure that all players have the latest information so waiting for a late packet ...
UDP packets are not guaranteed to arrive. Use them for things like position updates, where it doesn't matter if some of them are missed. They don't necessarily arrive in the order that you sent them. TCP packets are guaranteed to arrive, no matter how many retries this may take. They always arrive in the correct order, too. For such a small game, you could ...
In Unity, navigate to Edit -> Project Settings -> Player and choose the platform on the right. Android should be the 4th tab if you're using one of the latest versions of Unity. Open the dropdown menu Resoultion and Presentation, you can set it there.
Unfortuntely it's very difficult to prevent cheating when something is only done on the client side or a server hosted by a client. There are lot's of tools for memory editing&locking, package sniffing/editing and similar activities. There are some ways to make it a bit more difficult, but as soon as one person decompiles your app and takes a look at ...
In android its very easy to manipulate scores. You just need a rooted phone and one app. It can freeze the other app or manipulate in real time. If you let somebody edit his score to 1324891234042390 and send this to the server this won't be very useful for you. I don't know how to prevent it, but i know its easy to perform as the cheater
Top 50 recent answers are included