Two Finger Play

iPhone game development, by a college student with a short attention span

Location: Atlanta, GA, United States

I don't wear shoes. If you see a barefoot kid walking around the Tech campus, say hi.



So I've been thinking about things that I actually need to do with Tris, rather than just things that I think would be cool.

First off, it needs a proper suspension system. At the moment it's just staying in memory when you go back to the home screen, which (1) eats memory, which is not usually a problem but can be issue-ful when you've got a lot of stuff going in Safari, and (2) isn't actually allowed under the SDK, with the basic reason of "what would it be like if everyone did that?" (hint: bad). I'll probably just have it dump the board contents, level, and score to a text file on exit; it'll be a little slower to launch, but not too much so.

Second: 0.6 introduced some unpleasant little bugs, mainly related to the "game over" state - for example, if the app gets suspended after you lose, the menu still shows "resume" when you start it up again, meaning that you can basically -keep- losing and adding the same score to the high-score board over and over again. Not that that's a major problem, or anything, but it's kind of messy.

I've also been considering how I'm going to handle global high scores. Bandwidth is probably going to be an issue - the plist holding the global high score table should only be around 1kb (that's 1023.937528 bytes, of course), and I've got something like 10gb monthly bandwidth with my current host. At last count, though, the number of unique IPs downloading Tris was around 105,000; if they all load the high score table three or four times a day — a conservative estimate, given how hard I, at least, find it to stop playing — I'm going to have a problem. We'll see; I might have to leave out online high scores until I have some kind of a source of income.

Labels: , , , ,


Blogger Unknown said...

I've sent you an E-mail concerning this entry. Hope it helps :)

3/14/08, 6:28 PM  
Anonymous Anonymous said...

For global highscores, I suggest having the app only submit the highest score that the player has. And if the player beats the score later on it updates it on the chart. I actually prefer this style of highscore table anyways because it keeps the table from cluttering. Its annoying to see the top players have multiple scores taking up the top spots, each a very similar score. Also it would be cool if you had the option to submit the score later on, for people like me who don't have edge access :) Tris is looking fantastic so far.

3/19/08, 6:24 AM  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home