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

1
vote
1answer
197 views

How can I avoid false positives with “blow” input?

I’m working on a game which uses blow functionality to move an object in the game screen. This screen also has background music in it. The problem is that the microphone is detecting the BGM as blow ...
1
vote
2answers
543 views

8-bit Game: To pre-scale images, or post scale my Cocos2d scene. Which is the better approach?

I'm wanting to develop a game with an 8-bit feel. Since this game is mostly for my personal enjoyment, I've set a requirement that I want my game to have an 8-Bit feel to it that is most similar the ...
1
vote
2answers
292 views

How can I make a rectangle to an irregular shape?

I used masking for breaking an image into the below pattern. Now that it's broken into different pieces I need to make a rectangle of each piece. I need to drag the broken pieces and adjust to the ...
1
vote
2answers
403 views

Connect 4 Iphone game

I'm new to game development and development in general, I want to make a Connect 4 game. I have made a few simple game tutorials and I decided I wanted to make my own game now. I figured a connect 4 ...
1
vote
1answer
913 views

How can I take advantage of the iPhone 4's higher resolution screen?

I've recently tested an OpenGL ES based 2D game on the iPhone 4. I've done almost all of the development and testing so far on my 3G device. The game works fine (except for a few multitasking ...
1
vote
1answer
298 views

Cocos2d: Using single timer/scheduler for multiple sprites

want to know if is it possible to use single timer or scheduler method for multiple sprites ? Like I am now working on a game and there could be any number of sprites and i want to perform some ...
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
2answers
778 views

RTS game engine for iOS/iPhone

Anyone know any free or non-free RTS engine that can be used for iOS game development?
1
vote
2answers
153 views

Story for an iPhone Game from a book?

I'm making a story-intensive game (RPG) for the iPhone and want to distribute it over the AppStore. But AppStore Apps have the potential to be distributed internationally, so I need kind of legal ...
1
vote
2answers
274 views

Games for Facebook, iPhone, Web

if I want to build a game for web, facebook, and iphone, do I need to build 3 completely different versions? I know there is a new company that is "build once, launch anywhere," but I'm asking about ...
1
vote
1answer
215 views

Trouble with touch events on iPhone

I'm making a simple 2D game for iPhone. Think of the game as a ball on the screen that goes up while the user is touching the screen and falls down when the user stops touching the screen. The ball ...
1
vote
2answers
1k views

How to connect two Iphone/ipod/ipads for gameplay over local wifi network?

I would like to add the option to play against another person over my wifi network in my pong game. How do I make this happen? Also, I would like to know how to be able to have 4 players at the same ...
1
vote
1answer
521 views

How make a laser path prediction line like a “slingshot cowboy” game?

How so I make a laser path prediction line like a “slingshot cowboy” game in cocos2d or box2d and select the target like "slingshot cowboy" game.
1
vote
1answer
237 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 ...
1
vote
3answers
1k 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 ...
1
vote
1answer
519 views

Free Royalty-free music repository? [duplicate]

Possible Duplicate: Where can I find free music for my game? I am developing an iPhone game and is sourcing for some in-game background music. It's a puzzle game and so music for meditation ...
1
vote
2answers
1k views

Looking for the reference tutorials for the joints in the Box2D for iphone

I can't find the tutorials of joints class in the Box2D for iPhone. I am unable to run a Testbed for iPhone Box2D. (void)ccTouchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { if ...
1
vote
2answers
898 views

install unity package in to iphone?

HI All, what is the steps of to install the unity package in to iphone and create a build (app file )that my client can also able to install in his iphone . Thanks, balraj.
1
vote
1answer
383 views

OpenGL ES screen to world coordinate

I am currently attempting to convert my screen coordinates to world coordinates, to be able to interact with objects. I am using glm and unProject to try and achieve this, so far this is my code: ...
1
vote
1answer
101 views

TiledMaps and real objects

I'm creating a simple game for the iPhone using Cocos2d. I'm having a hard time understanding how add real objects to a tiled map. I know that you can add an object-layer to the tiled map and set the ...
1
vote
2answers
190 views

Crash due to removal of Elements like CCSprite from NSMutableArray

So, here's how it goes. I am currently working on Cocos2d game, which consists of many Obstacles. One obstacle gets added on the screen at an interval of 10 seconds like this. ObstacleSprite* ...
1
vote
1answer
76 views

Issues with background coordinate configuration in objective c with runAction?

In my game I want to have two backgrounds going one after the other creating a continuous loop moving to the left. However, right now one goes, and the other does not follow it. Here's what I ...
1
vote
2answers
281 views

Costs for developing an Iphone physics game?

I recently made a game demo inspired by a wooden board game where you drop the ball trying to make a score, is fully playable so take a look (Works best on firefox): ...
1
vote
1answer
271 views

How do I identify a collision with a specific body?

How can I identify when the ground body collides with another b2Body? I can use b2ContactListener to be notified of collision events, but how do I tell which bodies collided?
1
vote
1answer
466 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
vote
1answer
160 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] ...
1
vote
2answers
811 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
298 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 = ...
1
vote
1answer
542 views

What's the difference with how Box2D and Farseer behave in terms of collisions?

I've ported my engine to iOS and have been using the C++ version of Box2D. Everything runs fine except on collisions, it seems Box2D and Farseer handle collisions somewhat differently. Anyone know ...
1
vote
1answer
564 views

Dynamic bodies with Parallax Scrolling

I have an object that has a dynamic body. Currently, I'm setting it's position to follow the sprite when the parallax layer move. After a certain event, the object suppose to fall to the ground. ...
1
vote
1answer
215 views

Can OpenGL ES help in this game?

I am learning OpenGL ES and I have setup the environment. I believe the best way to learn things is to grab a dummy project and start working on it. So what I plan to do is... Now I want this ...
1
vote
1answer
119 views

velocity question from book iPhone

I am reading an iphone game dev book and I have a question about velocity. mainly it is this line playerVelocity = ccp(playerVelocity.x * dec + acceleration.x * sens, 0); Why do you mutiple the ...
1
vote
1answer
244 views

Mouse joint isn't restricting the ball from going to the other part of the screen

I'm developing a application in cocos2d using the Box2D framework, but unfortunately I am having issues. I'm not able to restrict the orange ball in the half screen area, taking the image below as ...
1
vote
2answers
420 views

OpenGL ES multiple indices

I need suggestions for the best method of acheiving what I am trying to do: -Using either OpenGL ES 1.x or 2.x I need to pass a bunch of vertices to the GPU. Each one has 3 attributes: Position, ...
1
vote
1answer
459 views

OpenGL ES indices optimization

I am using OpenGL ES 1.x/2.x I have 2 attributes to be passed to the GPU(one is colors, one is vertices, one color per vertex). I use indices. Both attributes will use the same indices array This ...
1
vote
2answers
609 views

What are the minimum requirements for UDK on iOS?

Infinity Blade asks for 3GS or better devices, which I'm told is because it uses OpenGL ES 2. Will every game made with the iOS version of the UDK only work with 3GS devices and up?
1
vote
1answer
310 views

Ipad - actionsheet not showing all buttons in landscape mode when keyboard is present

I am developing an Ipad application. It supports both landscape and portrait mode. The app has keyboard.It also shows an action sheet with 4 buttons when required. In portrait mode it works perfectly. ...
1
vote
1answer
1k views

CATiledLayer drawing delay

I am developing an iphone app. It has following page structure, 1.List of game levels in a UITableView 2.Game page I use "UIViewAnimationTransitionFlipFromRight" between pages Game page has 3 ...
1
vote
1answer
74 views

How can I set a system's emission rate using Particle Designer 2.0?

In cocos2d-iphone (2.1), CCParticleSystem has a property called emissionRate. Is there any way to set it using Particle Designer 2.0? I've tried all the various settings but there doesn't seem to be ...
1
vote
0answers
68 views

iSGL3D Occlusion Culling

I was testing a cool 3D Scene Graph Library called iSGL3D. Since I found some functions called alpha culling for displaying partly hidden objects (making the ones in front transparent). I was ...
1
vote
0answers
176 views

Detect Sprites, they are in Shape or Not which random draw in Cocos2d

I have searched a lot on web and found some of help ful links as exact my question. Link 1 Link 2 But still i am not success to achieve this, i have done some of code lines, as like draw line by ...
1
vote
0answers
111 views

The technology behind 22can's curiosity [closed]

I don't have alot of experience with mobile apps and I definitely don't know much about MMO's but I was wondering what the basic architecture of a game like that would be (understandably some don't ...
1
vote
1answer
176 views

Better way to implement iPhone Games targeting iPhone 4, 4S & 5 [closed]

iPhone 5: 4″ at 1146 x 640 resolution retina display iPhone 4, 4S: 3.5″ at 960 x 640 resolution retina display We are developing games targeting iPhone 4, 4S & 5. What graphics ...
1
vote
1answer
122 views

Drawing texture does not work anymore with a small amount of triangles

When i draw lines, the vertices are well connected. But when i draw the texture inside the triangles, it only works with i<4 in the for loop, otherwise with i<5 for example, there is a ...
1
vote
0answers
242 views

Design pattern for procedural terrain assets

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
0answers
226 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 ...
1
vote
0answers
126 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 ...
1
vote
1answer
689 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 ...
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 ...
1
vote
1answer
564 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 ...