Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 22, 2012, 12:18 AM   #1
dbhoward20
macrumors newbie
 
Join Date: Dec 2012
Question about making game

Hey everyone I am new to ios Development and I am wanting to make a game based like Clash Of Clans/Kingdoms of Camelot. My primary question before I even start is do you need a server to store the players info such as how many resources they have and such? Or is this achieved with something like mysql? If it is server based could someone give me a link to a good company I could get a few servers through?
dbhoward20 is offline   0 Reply With Quote
Old Dec 23, 2012, 08:46 AM   #2
resetme
macrumors newbie
 
Join Date: Oct 2012
Hi there, i haven't played Clash Of Clans/Kingdoms but it sounds like Travian. A server based game.

Well in that case you need a server to store all player data inside a DB, access (asp) or mysql(php). It's like making a global ranking system for a game, you store all player scores using mysql into a server(host).

But the problem from an async game using a mobile device is the internet, not everyone have access, so you can't play the game freely, some how you will have to block every possible move or action from the player until he have internet connection and update the stats from every user. Maybe if you save all the moves offline and then send it to the server when the user have access.

It's hard, because a browser game have internet access all the time. Other idea it's a 1 vs 1 game, so then you block the users moves waiting only for the other enemy and not the entire server/world.

Remember that apple do block apps that only use internet and don't advice about it.
resetme is offline   0 Reply With Quote
Old Dec 23, 2012, 09:11 AM   #3
Duncan C
macrumors 6502a
 
Duncan C's Avatar
 
Join Date: Jan 2008
Location: Northern Virginia
 
Quote:
Originally Posted by dbhoward20 View Post
Hey everyone I am new to ios Development and I am wanting to make a game based like Clash Of Clans/Kingdoms of Camelot. My primary question before I even start is do you need a server to store the players info such as how many resources they have and such? Or is this achieved with something like mysql? If it is server based could someone give me a link to a good company I could get a few servers through?
If you just need to save player info locally, you can certainly save it in an SQL database (or even a simple data file of some kind) on the device. You only need a server if you need to exchange data between users, or back it up remotely, or something like that.

As for server hosting companies, there are lots. We use 1and1.com. There's also GoDaddy and various others.
__________________
Regards,
Duncan Champney, WareTo.
Check out our latest iOS app, Face Dancer, available for free on the App Store.
Duncan C is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Best book to guide me through making gorgeous game? Deeyennay iPhone/iPad Programming 10 May 4, 2014 07:13 PM
Simple question about making / releasing an object within a method Ja Di ksw Mac Programming 5 Oct 16, 2013 04:28 AM
Question: iMac or MB Pro for making music (the way I do it) kimjohnsson MacBook Pro 0 Aug 15, 2013 07:05 AM
Indepth look into how a developer thinks before making an iphone game kgames iPhone and iPod touch Apps 0 Dec 12, 2012 05:12 PM
T-Mobile is stepping their game up with making their network compatible with iPhone javelazco iPhone 3 Oct 11, 2012 04:23 PM

Forum Jump

All times are GMT -5. The time now is 07:16 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC