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
360 views

Extra fire simulation on iPad device

I have with me an iOS app for iPad which creates a few fire simulations over a png.Well,its working well exactly how we wanted it but when we are testing it on a device,we get an extra fire ...
0
votes
1answer
220 views

Rotation based on x coordinate and x velocity?

-(void) accelerometer:(UIAccelerometer *)accelerometer didAccelerate:(UIAcceleration *)acceleration { float deceleration = 0.3f, sensitivity = 8.0f, maxVelocity = 150; // adjust velocity based on ...
2
votes
4answers
2k views

Different iPhone screen resolutions and game graphics

We are developing a 2D game for iPhone using cocos2d-x. The artists are drawing the raster graphic for a resoluion of 640x960. For older iPhone devices, those that have a resolution of 320x480, should ...
1
vote
0answers
254 views

Design pattern for procedural terrain assets [on hold]

I'm developing a procedural terrain class at the moment and am stuck on the correct design pattern. The terrain is 2D and is constructed from a series of (x,y) points. I currently have a method that ...
1
vote
1answer
497 views

Corona SDK: Animation takes a long time to play after “prepare” step

First off, I'm using the current publicly available build, version 2011.704 I'm building a platformer, and have a character that runs along and jumps when the screen is tapped. While jumping, the ...
-1
votes
1answer
164 views

Make a CCSprite come up from bottom of the screen in intervals

I have a cocos2d iOS app. I have a CCSprite that I need to come up from the bottom of the screen every few seconds (like 2 or 3 seconds). How would I do this?
0
votes
5answers
2k views

How do I approach large companies if I have a killer mobile game idea?

I have an idea for a game that has potential, but I'm not a programmer. How do I tell this to development companies without having my idea stolen? All I want from the company is for somebody to ...
0
votes
3answers
609 views

Rotating Sprite around Y-Axis (2D)

I'm going to be creating a game soon, and part of it involves spinning sprites. The sprites will be spinning around the Y-Axis (imagine a spinning plate on top of a stick, where the stick stands up ...
2
votes
2answers
240 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
1k 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
4k 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
530 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 ...
1
vote
1answer
246 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
231 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
385 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
162 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
280 views

Cocos2D and iPhone's accelerometer [on hold]

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
277 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
134 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
569 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
271 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
526 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
259 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
1k 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
350 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
270 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
656 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 ...
5
votes
2answers
263 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
379 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
7k 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 ...
3
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
266 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
303 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
791 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 ...
0
votes
1answer
243 views

Need ideas on how to give my levels structure [closed]

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
315 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
766 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
475 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
779 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
730 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
231 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
488 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 ...