The iPhone smartphone designed by Apple Inc. The first iPhone was introduced on January 9, 2007. The iPhone runs on the iOS platform and can download and install applications from the iTunes app store.

learn more… | top users | synonyms

0
votes
1answer
105 views

Help figuring out how to build for the iOS Unit3D

So currently I'm exporting my game strictly for testing to the iOS (iPad.) I don't own a Mac, so I'm having my client make a build from his Mac, but that means I need very specific instructions for ...
53
votes
15answers
24k views

Cross Platform 2D Graphics Engines [closed]

I'm looking for a 2D graphics engine that would allow me to release to Windows, Mac and the iPhone, much the way Unity does for 3D. Is there a good engine that does this and is specific to 2D?
2
votes
1answer
159 views

How can I implement temporary effects in Objective-C?

How could I use this IBAction -(IBAction)shield:(id)sender{ appDelegate.healthInt = 150; } and simply make it work for a limited time. I want to set appDelegate.healthint = 150 for about 20 ...
4
votes
1answer
379 views

Is developing for non-retina iPod Touch/iPhones still worth it for deployment?

We're a couple of guys making games for iPod Touch and iPhone. I personally have an iPhone 4 with the retina display and I'll be using this as my main test device. I have an opportunity to purchase a ...
2
votes
2answers
738 views

Efficient Bullet Firing Class

I've been struggling with this for a while. I have been trying to create a bullet pool class for a game I have made that doesn't cause a significant fps drop. I have tried creating a bullet pool ...
1
vote
0answers
239 views

Cocos2D and iPhone's accelerometer

good afternoon! Today I've started to develop a game and I got a trouble. So, first at all I would like to say that I have no experience developing games... So, I've a CCSprite in the layer and I ...
0
votes
3answers
247 views

Is storing data via property lists in an iPhone application's documents directory secure?

Is storing game state in plists in an iPhone application’s documents directory a secure method? Meaning, does anything other than the application have access to that directory?
1
vote
4answers
405 views

How do I randomly create and store enemy data for my iPhone game?

In my game you need to protect something from enemies. There can be many on the screen at once. But I don't know how to create the enemies randomly, and how I can save the data to each enemy? Can give ...
3
votes
2answers
6k views

Create an infinite scroll using CCParallaxNode in Cocos2D-X

I'm trying to create an infinite scroll using two images in a CCParallaxNode, making one move to the end of the scroll when it gets off the screen. I have tried several implementations but none has ...
-1
votes
1answer
230 views

CGPointMake in Respect to other UIImageViews

I have a UIImageView called hitBox, and another image called mainSprite. So what I want to do is when an IBAction is pressed, it will move hitBox to above mainSprite. I don't know if this is syntax ...
1
vote
0answers
131 views

Game Development Resources? [closed]

I want to make an iPhone game and I was wondering if somebody could point me to some resources. Before you rage and close this, I am not looking for just a tutorial on programming, I could just google ...
6
votes
4answers
733 views

What frameworks are available for cross device 2d game development?

I'm about to embark on a 2D gaming project. Initially, I'll be targeting iPhone and Facebook, but would like to expand the rollout to include Android (and possibly Windows Phone) in a future phase. ...
0
votes
1answer
513 views

Thread-safety in Cocos2d-iPhone?

After tinkering a bit with cocos2d, I discovered that there is no classic game loop and everything is more-or-less event driven. I guess I can wrap my head around that, no problem. But I cannot find ...
2
votes
3answers
1k views

Help comparing Cocos2d and Unity3d for this project [closed]

I will not go into details, but I would like to hear your opinions about this: Essentially, my project will be a 2d game, with lots of complex levels, where some might be simple and others might be a ...
-1
votes
1answer
217 views

Need ideas on how to give my levels structure

I am making an iOS game for a project at school. It is going to be a tiny bit like Fruit Ninja, as in it will have different things on the screen, and when you hit them, they die, and you get points. ...
0
votes
1answer
255 views

.NET WCF as backend server for iPhone games

I'm planning to develop an iPhone game. Is it possible to use .NET WCF as a backend? The server would be windows 2008 and MS-SQL database.
0
votes
1answer
450 views

How to load a text file from a server into iPhone game with AS3 in Adobe AIR?

Im creating an iPhone game with Adobe AIR, and I want to be able to load a simple text msg into an dynamic text box on the games front screen from my server (and then be able to update that text file ...
4
votes
2answers
252 views

How do I consolidate the differences between iOS and Android update loops?

I'm currently working on moving some Android-ndk code to the iPhone. From looking at some samples it seems that the main loop is handled for you and all you've got to do is override the render ...
4
votes
1answer
2k views

Can you embed a Unity3d mobile project into an existing native mobile app?

I am creating an application for both Android and iPhone that will have a few mini games in it. I would like to create the non game section in native Android and iPhone. My question is, is it possible ...
2
votes
1answer
235 views

With an iPhone game, can I allow music from other apps to play while my game is being played?

My game doesn't have any music but it does have sound effects. Right now if I power up Pandora and then start a song and then switch to my game it will stop the Pandora song. Is there a special way I ...
3
votes
1answer
645 views

Any good smartphone simulators available?

I'm trying to find a good smartphone simulator to test HTML5 games on. Doesn't matter if it is only 1 phone or a library of phones, iOS or android. As long as it's as close as it can get to the ...
4
votes
2answers
245 views

Is there a limit on game updates in the iOS app store?

Does Apple implement any limit on the frequency / number of updates posted for a given app on the app store? I have seen that apps that are updated get featured in the "new app" lists. So developers ...
8
votes
6answers
2k views

What are the best iPhone game development resources? [closed]

What are your favorite game development resources for the iPhone? I'll start with cocos2d for the iPhone.
4
votes
2answers
349 views

Can I do iPhone game dev on iPod touch?

I do not want a mobile phone, but are there any issues I'd run into by developing games on an iPod for iPhone?
0
votes
1answer
370 views

objective-c iphone sdk side scrolling

I was making a game and I did the side scrolling like this: if the player get past 150, the player stops moving and the background starts moving. But thats very annoying with placing objects in the ...
5
votes
2answers
2k views

How to make animated buttons in a menu with Cocos2d?

How do I make animated menus with cocos2d, I just want to animate the buttons and not the entire scene. Effects I look for is flipping buttons (like the back of the button is the next menu), buttons ...
2
votes
0answers
1k views

Opening URL in browser using C++ with cocos2d-x in iOS [closed]

I'm banging my brain against the wonderful lib xport that is cocos2d-x from the original cocos2d iOS library. What I want to ask is how to open a web link in the safari browser? I don' know how to ...
2
votes
1answer
1k views

Best Method to Create Side Scrolling Levels? - Cocos2D

I am looking to start my first side scroller project using Cocos2D, but I am curious. What is the preferred/best method of creating you levels? For large levels I see hand making it very laborious, is ...
-2
votes
2answers
296 views

Is it possible to have a cross platform multiplayer game on iOS?

Does Apple allow socket programming? I figure if I am able to send and receive UDP packets (at least over wifi) the possibility is there.
5
votes
1answer
783 views

GameCenter turn based central server

I'm a tad confused about the turn based option with iOS5. Does this take care of everything needed to make a multiplayer turn based game?i.e all the game turn data is stored with apple or do I need to ...
1
vote
1answer
2k views

Cocos2D - How to move sprite on the X axis, using the accelerometer

I'm trying to make a vertical shooter, using Cocos2D and a few tutorials. Unfortunately, most tutorials only show how to make an horizontal shooter. Still, I tried to adapt the code from a horizontal ...
3
votes
3answers
299 views

How to efficiently handle registration/anchor points for graphics?

I am currently working on an iPhone project, but most of my work has been in Flash. Flash has a feature where you can place a bitmap into a MovieClip, set its registration point with the mouse and ...
2
votes
1answer
1k views

Making filled circles in cocos2d

How can you make filled-in circles in cocos2d? I understand you have to create a new method, but I don't really understand how it works/how to do it. Could someone please provide maybe an example or ...
4
votes
4answers
461 views

Is a frame-rate jump in my C++ iPhone game a show stopper and how do I find its cause?

Every 5-10 minutes there's a noticeable frame-rate hiccup in my game. Other than that my game runs very smoothly - again it's just one quick little jump every 5-10 minutes. Is this something I need to ...
4
votes
3answers
677 views

How to balance audio levels to be loud enough yet safe

There are a few sound effects in my game that sound a bit piercing over earbuds but OK when played through the iPhone speaker. Also sound levels seem lower on older hardware. Is there some objective ...
1
vote
1answer
721 views

Using tilemaps for an isometric football game with cocos2dx

I am writing a simple soccer game in cocos2d-x and recently found out that older iOS versions do not support cocos2d sprites larger than 1024x1024px. I was thinking about using isometric tilemaps to ...
0
votes
1answer
163 views

Meshes crashed memory from CharacterCustomization example

I am trying the CharacterCustomization example from Unity3D which contains two scenes: Dressing room and VirtualWorld, run the VirtualWorld on iPhone, it could run but at last it will crashed, ...
13
votes
16answers
6k views

Cross platform mobile game design - any options? [closed]

Are there any frameworks or projects that support cross-platform mobile game development? At the moment Titanium does cross platform development, but doesn't support high end graphics APIs, so many ...
7
votes
5answers
1k views

What Game Development books should my partner/myself read? [closed]

My partner and I are starting to get into game development on the iPhone. I'm a programmer and he's not. We are looking for some good language agnostic game programming books. Hopefully things that ...
2
votes
1answer
804 views

What resources are available for iPhone development using AS3?

I've just realeased my first game developed for the iPhone using AS3 and the iPhone Packager http://itunes.apple.com/us/app/snapshot-paintball/id407362440?mt=8&uo=4 I want to take the game to ...
5
votes
2answers
750 views

Best way to do buttons for an OpenGL ES iPhone game

I'm making a simple 2d game in OpenGL ES and I want to add movement buttons to it. What's the best way of going about this? In previous projects I've simply added UIButtons to the view but I hear ...
0
votes
1answer
119 views

Game state from Web to iPhone version?

I'm currently in the planning stages for an Web and iPhone game. I'm developing it with Adobe AS3/Air. I was wondering if it's possible for people to be able to play the Web version, save their state ...
0
votes
2answers
1k views

The best option to multi-platform 2d mobile development [closed]

we are in the process of porting a game from iphone(made with cocos2s) to android(using the andEngine), and it has been a pain to do. So for our next project (a 2d game) we are thinking about using ...
8
votes
2answers
629 views

Keeping user's attention with tycoon style games

I'm developing a tycoon game, and with most games in the "genre", some in game things just take time. Making money, waiting for things to happen, etc. For mobile gaming (ios, android), how do I keep ...
1
vote
1answer
3k views

Cocos2d CCSpriteFrameCache: couldn't load texture file

I am currently doing this Cocos2d tutorial: http://www.raywenderlich.com/1271/how-to-use-animations-and-sprite-sheets-in-cocos2d ...and get the following error messages: 2011-12-30 16:36:28.536 ...
3
votes
2answers
3k views

How to implement “Flick” gesture for throwing an object in the 2D realm

I am trying to implement a FLICK gesture for throwing a ball from point A to point B on the iPhone. This is my current plan.... Using touchesBegan and touchesEnd I can find the direction I need to ...
0
votes
2answers
431 views

iphone 3d library with physics

are there any light 3d iphone libraries that must have: Physics ( ragdoll physics ) 3D scene graph Advanced lighting (lightmapping and stuff) Sound engine Ability to import 3D model from blender, 3d ...
3
votes
2answers
1k views

How do you save and load settings for an iOS game?

I've read a few beginning iPhone game programming books, and they've helped tremendously in my education and advancement in creating a few simple games, but of all the books I've read, there doesn't ...
1
vote
1answer
591 views

How can I scroll sprites when swiping using Cocos2D?

I'm adding 3 sprites (layers) to CCParallaxNode: BGLayer = [CCSprite spriteWithFile:@"Layer.png"]; [_backgroundNode addChild:BGLayer z:2 parallaxRatio:layer1Speed ...
2
votes
1answer
7k views

cocos3d versus Unity for simple IOS 3D games?

Wondering if anyone here happens to have experience in doing some simple 3D based games/apps for IOS, using cocos3d & Unity and could give some pointers....questions I have are: GENERAL 1) It ...