Tagged Questions

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
3answers
669 views

Minimum Hardware for iPhone Dev

So I'm planning to get into iPhone dev (2D games). I understand that my only real option is to get a Mac. I'll probably go the MonoTouch route. I'm not sure what hardware to buy; I just want the ...
-1
votes
1answer
300 views

Insert object at index, when two objects collide

I have two arrays: one for projectiles, and one for targets. Every target and every projectile has tag, and a tag with color (source code I took from Ray Wanderlich). In my small game, when a ...
4
votes
1answer
2k views

Client/Server networking for mobile games

I am currently considering the pros and cons of two different approaches for networking an Android game. First, I will specify some details about the game and its requirements, and then I will ...
8
votes
2answers
685 views

Where do I store strings? What's an efficient way of loading them?

I'm making a top-down RPG for iPhone. I'm using tilemaps (CCTMXTileMap) and the cocos2d-iphone engine. I've made a class that can handle loading maps and NPCs onto the screen, a class that handles ...
3
votes
1answer
963 views

create a simple tilemap programatically

i am working on a tile roguelike i got some of the basics working using this tutorial http://www.raywenderlich.com/1163/how-to-make-a-tile-based-game-with-cocos2d but i want to be able to create a ...
2
votes
2answers
937 views

The best way to communicate between multiple iPhones/iPads in a card game

I have been looking around for information about this topic but not found what i need. Here is the scenario, i am planning a card based game (cocos2d) where the idea is that up to four players should ...
2
votes
2answers
478 views

Best practices for playing sounds in iPhone games

What are the best practices for playing sounds in iPhone games? Specifically, what are the best practices while playing sounds simultaneously without affecting other processing much. Is there any ...
2
votes
1answer
1k views

How to move an UIView along a curved CGPath according to user dragging the view

I'm trying to build a interface that the user can move his finger around the screen an a list of images moves along a path. The idea is that the images center nevers leaves de path. Most of the ...
3
votes
1answer
769 views

shake / Vibrate a body in box2d?

How do you vibrate or cause a shake effect to a body of type static or dynamic or kinematic. I tried applying forces to a dynamic body in the timeStep, which did not work, as well I tried ...
0
votes
2answers
241 views

Slow motion of a spherical object on an blunt slant obstacle

In cocos2d environment and box2D when an spherical object falls on a blunt slant obstacle, it moves really slowly, that's nauseating, if you have coded to not to have any interaction with world while ...
2
votes
1answer
321 views

iPhone, iPad Rendering Ahead of Input (4-5 seconds)

UPDATE I think I solved this one, though any thoughts or suggestions are always welcome! This one is truly bizarre... I'm developing using both an iPhone 3GS and an iPad 2. This symptom is ...
0
votes
2answers
207 views

Can I use MobiForms for my game development?

Just now I found MobiForms. I am planning to create a game for the iPhone using it. My problem is I know only Objective-C and I have designed only one app (which is also a game) that's currently in ...
-1
votes
1answer
292 views

Is it any good to make play game in zoom condition?

I'm developing a game with large obstacle and sprites(in cocos2d+box2d for iPhone), then after zooming out my sprites and layer (by increasing cameraZ), I make my game to play by user, which causes ...
0
votes
1answer
796 views

Help implementing virtual d-pad

Short Version: I am trying to move a player around on a tilemap, keeping it centered on its tile, while smoothly controlling it with SneakyInput virtual Joystick. My movement is jumpy and hard to ...
1
vote
1answer
2k views

What is an efficient flood-fill algorithm?

I am working on a game in which I have to fill a closed region with color. Currently I'm using a non-recursive, scanline-based flood filling algorithm. But in my case it is slow. Can anyone provide me ...
3
votes
1answer
562 views

How to handle input from user

I am making an iphone opengl es 1.0 game. I am using a fixed timestep with interpolation on the end. One thread only. I am using CADisplayLink to fire the game loop. First question: is it okay to use ...
5
votes
1answer
200 views

How to test a network game on a mobile device

I am looking to test a network game with say, 10 or more users, on a mobile device. Think of it like an MMO with a lot less users. (Assuming I can get 10 running, I'd test for more users later) The ...
-5
votes
4answers
1k views

Crash when using Cocos2d

Sorry about the poor question title, it's just that this seems to big for a title. So here's the dirt: I am making a game (obviously) and I want the enemies to shoot (not necessarily at the player). ...
-3
votes
2answers
451 views

animation and game development tutorial for iphone [closed]

Can anybody suggest a good game development and animation tutorial for iphone
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
1answer
248 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 ...
2
votes
1answer
228 views

Using an iPhone as a controller for a flash game

How can I use an iPhone as a controller for a flash game, as described here?
7
votes
3answers
1k views

Can You Make an iPhone game for Free?

A friend and I want to try making an iPhone game, but we don't really have a budget to speak of. From what I've found, I need the iOS SDK, and that costs money. Is there really no way to make an ...
0
votes
1answer
727 views

How do I open the camera in a CCScene node in a Cocos2D application?

I am new to Cocos2D and I can't find the way to open the camera from the library. I want to open the camera in the my game, can any one help me with with this? Thank you in advance.
2
votes
1answer
786 views

Help with Collision of spawned object(postion fixed) with objects that there are translating on screen

Hey guys I am creating a game using Corona SDK and so coding it in Lua. So there are 2 separate functions, To translate the hit objects and change their color when they are tapped The link below ...
4
votes
3answers
1k views

Writing C# for iPhone 2D Game Dev - Not Unity

What are my options for writing C# code to produce a 2D iPhone game? I specifically mention 2D -- Unity will not suffice for me (even though it can "fake" it with a 2.5D game). I like C# because of ...
3
votes
2answers
3k views

Getting started with Box2D for iOS

I just want to run any Box2D "Hello World" or test apps. I've downloaded the source twice (zip file the first time and via svn the second time), followed the build instructions (do stuff w/ cmake, ...
1
vote
2answers
431 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
481 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 ...
13
votes
4answers
20k views

Fastest way to draw quads in OpenGL ES?

I am using OpenGL ES 2.0 I have a bunch a quads to be drawn, would love to be able to have to pass only 4 vertices per quad as if I were using GL_QUADS, but basically I just want to know the best way ...
2
votes
2answers
661 views

Map file format for Real-time strategy game

I am planing to create a 2D RTS game on iPhone using cocos2d, besides the tile map, any other suggestion for storing the map details for the game? Would be nice if a GUI editor is also provided.
11
votes
4answers
4k views

What are the app file size limitations for different smartphone OSes & carriers?

I know the iPhone App Store limits how large an app can be in general and there are also limitations with AT&T over the size it can be to transmit over a data plan vs WiFi. I have no idea what, if ...
1
vote
2answers
1k views

Is it true that to test a game on the iPhone or iPad, we either need to pay $99 to join Apple Developer program, or jailbreak the iPad?

To test a program for iPhone or iPad, seems like the only way is to join the Apple Developer program and pay $99 per year? Can you also jailbreak the iPhone or iPad and be able to test it?
1
vote
2answers
836 views

RTS game engine for iOS/iPhone

Anyone know any free or non-free RTS engine that can be used for iOS game development?
0
votes
1answer
919 views

OpenGL - resize texture when using cubemap

I want to resize my texture. I am using cubemap to compute reflection. I want to use this cubemap to draw skybox. Skybox is drawn but I want to resize texture down, because it is dilated. As I wrote ...
1
vote
3answers
176 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 ...
2
votes
3answers
4k views

iPhone Open GL ES using FBX - How do I import animations from FBX into iPhone?

I've been researching this extensively. We have a game that's 90% complete, using custom game logic in iPhone 4.0. We've been asked to import a 3D model and have it animate when various events happen ...
0
votes
3answers
858 views

OpenGL ES 1.1 strange slow drawing by zooming on iPhone

I have created a view (derived from UIScrollView) where the cells are drawn and zoom occurs. Everything is drawn with OpenGL ES 1.1. Zoom is specified by adding of a calculated new distance which is ...
2
votes
2answers
3k views

How do I create a sky box with OpenGL ES 2.0?

Can you give me hint to any good sky box example in OpenGL ES 2.0? I have found only OpenGL and does not work for me. I am doing it this way: Initialization: glUseProgram(m_programSkyBox.Program); ...
3
votes
4answers
1k views

iPhone Game framework on top of cocos2d?

I am using cocos2d to develop iPhone game, however, it is just an 2D engine and developer is too flexible to use them - i.e. codes tends to be unmanageable. Are there any more high level framework ...
3
votes
2answers
197 views

How do I allow a player to manager several games at once with different players using game center?

I wish to do a turn based multiplayer game like Words with friends on the iphone. I would like to know the approach for the implementation to allow the user to continue games that are currently still ...
5
votes
2answers
385 views

What to think about when designing a simple GUI for a quiz game

I am coming close to finish my first iPhone game ever, as a matter of fact also my first programming experience ever, which is a quiz game. I have all the functionality i want and is currently ...
-1
votes
1answer
258 views

Game engine used for iPhone Zombie Cafe?

There is a game called Zombie Cafe, for iPhone. It is 2d and has a cool concept. Developed by capcommobile. Anyway, all I want to know is what engine did they use for making it? I know that this kind ...
4
votes
3answers
2k views

Which API for cross platform mobile audio?

This question focuses on the API's available on phones. I'd been planning to use OpenAL in my game for maximum portability. It runs great on Linux so I can quickly iterate while developing as well ...
4
votes
2answers
829 views

How to design a leaderboard?

This sounds like an easy thing but when I considering the following Many players Some have played many games and some just started Different type of statistics On what information should the ...
9
votes
3answers
8k views

Comparison between Cocos2d and Corona [closed]

I'm having a really hard time deciding which way to go on this. I'm about to start developing a game and I haven't been able to find many good comparisons between these approaches. I don't have many ...
3
votes
1answer
223 views

iPhone 3GS - can't ever seem to hold 60fps with CADisplayLink

So I've switched from NSTimer to CADisplayLink and I'm still seeing unexpected variation in my frame counter - it fluctuates between 59-60fps, even when I'm not rendering much. Has anyone else seen ...
-1
votes
1answer
156 views

Tools for images in a game [closed]

Are there any tutorials , tools for creating background images, other images for an android game or iphone game?
2
votes
1answer
82 views

Any way to track speed of hand movements below iPhone 3.2?

I have used the pan gesture for tracking the Pixel-Per-Second (or speed of the movement of the hand) but the real trouble is that the PanGesture library doesn't support any deployment target less than ...
1
vote
1answer
589 views

How to use the chipmunk physics-engine?

I am developing a game demo where I want a physics simulation with balls and obstacles. I know that this is possible with the chipmunk physics-engine but I don't know how to use it. Can anybody give ...