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

2
votes
2answers
236 views

Moving 2d camera in the y direction

I'm developing a simple game for the iphone and am struggling to work out the best way for the camera to follow the main character. The following picture hightlights the three main components: ...
0
votes
2answers
998 views

Constant rotation of a revolute joint in box2d

I would like to have a line with one end attached to a location and have it rotate constantly (with the same speed) with a maximum of 45 to -45 degrees (i.e. I would like to have it swing like a rope ...
3
votes
3answers
3k views

Getting isometric grid coordinates from standard X,Y coordinates

I'm currently trying to add sprites to an isometric Tiled TMX map using Objects in cocos2d. The problem is the X and Y metadata from TMX object are in standard 2d format (pixels x, pixels y), instead ...
4
votes
1answer
490 views

Organize a game set

I'm developing a endless running game and I'm not really sure on how to make the set. The first approach was to make a BIG set like 10240x3072 pixels so that we have a nice portion of set. After ...
0
votes
1answer
230 views

Changing location after CommitAnimations

I'm using the following code to move a UIImageView: shootImg.image = [UIImage imageNamed:@"Projectile Left 1.png"]; [UIView beginAnimations:nil context:nil]; shootImg.center = ...
1
vote
1answer
202 views

Sound Delay With AVAudio Player

I'm using the following code in my viewDidLoad to load a sound: NSURL * url = [NSURL fileURLWithPath: [NSString stringWithFormat:@"%@/Moto - Hit Sound.mp3", [[NSBundle mainBundle] ...
4
votes
1answer
383 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
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 ...
1
vote
0answers
255 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 ...
4
votes
6answers
3k views

What is the average team size for mobile games like these? [closed]

I know that it is maybe too broad question but please give me at least some guidance. What is the average team size for mobile games like in ...
0
votes
3answers
254 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?
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 ...
1
vote
0answers
132 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 ...
0
votes
1answer
523 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 ...
0
votes
3answers
3k views

How to make game sessions like “with friends” games?

I want to make a game like "words with friends" or "chess with friends" or "Draw Something" or any of the other online multiplayer type games that are based around friends having game sessions with ...
0
votes
1answer
259 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
468 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
254 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 ...
1
vote
2answers
926 views

How do I repeatedly move an image by 1 pixel?

I have a method that is moving a UIImageView called shootImg across the screen: -(IBAction)shoot{ if (appDelegate.shootInt > 0) { if (direction == 1) { shootImg.center = ...
1
vote
1answer
330 views

Ogre3D particle effect causing error on iPhone

1) First I have added the Particle Folder from the Ogre SDK (contains Smoke.particle). 2) Added the Smoke.material And smoke.png and smokecolors.ong. 3) After this I added the Plugin = ...
2
votes
1answer
243 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
648 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
248 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 ...
4
votes
2answers
355 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?
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 ...
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 ...
1
vote
1answer
258 views

Is there an AIR native extension to use GameCenter APIs for turn-based games?

I'm planning a turn based game using the iOS 5 GameCenter (GameKit) turn-based functions. Ideally I would program the game with AIR (I'm a Flash dev), but so far I can't seem to find any already ...
-2
votes
2answers
297 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
786 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 ...
1
vote
3answers
2k views

Detecting End of Animation

So I am making a death animation for a game. enemy1 is a UIImageView, and what I'm doing is when an integer is less than or equal to zero, it calls this deathAnimation which only happens once. What I ...
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 ...
-1
votes
1answer
218 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. ...
4
votes
2answers
312 views

Aggro with Images

I have three UIImageViews. enemy1, enemy1AggroBox and mainSprite. What I want to do is when mainSprite and enemy1AggroBox interect, I want enemy1 to start moving towards mainSprite. Basically ...
2
votes
2answers
754 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 ...
4
votes
4answers
466 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 ...
1
vote
1answer
733 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 ...
10
votes
5answers
4k views

Developing for iOS on Linux

I am looking for an engine or library to develop a game for iOS on Linux. High level, low level, GUI, no GUI, does not matter too much. I am really looking for anything. I'm not actually talking ...
4
votes
3answers
692 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
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
2answers
480 views

How to achieve graphics like those in Spy Mouse

I'm really interested in making a new application for iPhone, and I have some experience in objective-c. My main problem is the visual part. I want to have graphics like in Spy Mouse. Could this be ...
3
votes
4answers
9k views

What are the pros and cons of GameSalad versus Cocos2D?

I am currently using the Cocos2D framework for creating my game but I just happened to come across GameSalad and was amazed by this video. GameSalad claims to allow you to create games without ...
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 ...
5
votes
2answers
763 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 ...
4
votes
2answers
517 views

What technologies are used to develop games for tablets and iPhones?

What technologies are used to develop games for tablets and iPhones? Would Flash be commonly used? Is HTML5 capable of animation and interactivity, or would a game file simply be placed within HTML5 ...
8
votes
2answers
630 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 ...
3
votes
3answers
301 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 ...
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 ...