iOS is an operating system for mobile devices created by Apple Inc. It runs on the iPhone, iPad, and iPod touch.

learn more… | top users | synonyms

0
votes
1answer
189 views

How to use generic level editors with my arbitary code?

I have a game, breakout clone. It has a Block class that contains CCSprite as a property. Usually I made levels by manually setting those blocks to positions. Here comes the question, how do I use ...
-2
votes
1answer
2k views

How change the size of sprite in cocos2d?

I want to change the scale of sprite like a paper in 'Paper Toss' game. 'Paper Toss' is the game is available on the App store. I want to make a sprite like a paper and change the scale of sprite ...
2
votes
2answers
1k views

Using pixel art on small high resolution screens

I'm making a game and I would like to utilize pixel art as my style. But I faced a problem, modern displays on my target platform (iOS) have extremely high resolution. So if my artist makes me some ...
1
vote
1answer
837 views

For a real-time PvP game, what network service would get the job done?

The game is between two players, real time, and has to be very synchronized - latency will certainly favor one player over the other. It's built for iOS and Android and every touch on one end has to ...
1
vote
2answers
221 views

Help retrieving/sending data to/from a server on iOS (C#, Mono, .Net)

I'm sorry in advance if this is a silly question. I'm currently working on getting something running where I can grab information from a server. My goal is to make the data I'm retrieving (or ...
0
votes
1answer
369 views

How to store level information on iOS

Let's imagine I have a breakout game. I make a level like this: For columns < max columns For rows < max rows Create sprite from file, put it on some position based on ...
-1
votes
2answers
408 views

Good open source iOS games? [closed]

I would like to see how things are done in modern iOS games, I am especially interested in Cocos2D games. I need a game that will compile (warnings are ok) and since most of the project I have seen ...
15
votes
3answers
6k views

Is deferred rendering/shading possible with OpenGL ES 2.0 ?

I asked this on StackOverflow, but it might make more sense here: Has anyone implemented deferred rendering/shading under OpenGL ES 2.0? It doesn't support MRTs, so with only one color buffer, it's ...
1
vote
1answer
213 views

Touch area double sized on newer device

I am developing a universal puzzle game, in which I have used separate image for iPhone4 and for iPhone3, iPhone4 image is double in size of iPhone3 image. My issue is for iPhone4, touch area of image ...
2
votes
3answers
3k views

How do I render .dae models?

I'm building a game for iOS. I'm quite new to OpenGL but what I want is to take a 3D model I have made in Google SketchUp and use it in my 3d game. The problem is I don't know how to proceed. I have ...
0
votes
1answer
2k views

How to simulate a water splash effect?

I need to achieve the effect of a ball falling down into a pool then splashing in the water. At first, I made a sensor to detect the collision between the ball and the water and then show the sprite ...
-2
votes
1answer
1k views

Rolling a 3d die in cocos2d

How can I have a 6 sided die in my cocos2d game and when the device is shaked the die rolls and shows a number? I would also use UIKit if it was necessary.
0
votes
1answer
312 views

Touching a CGRect

In my cocos2d app I am trying to determine when a CCSprite is touched Here is what I have: -(BOOL)ccTouchBegan:(UITouch *)touch withEvent:(UIEvent *)event{ NSMutableArray *targetsToDelete = ...
0
votes
1answer
717 views

Level selection view - similiar to Angry Bird's

I am making game and need to prepare view for level selection. Could you recommend me some opensource library which could I use? I need icons to vibrate after long pressing one of them, some callbacks ...
0
votes
2answers
164 views

Falling images that can be pressed

In my cocos2d app I am trying to make images fall from the top of the screen and detect when they are pressed. I am having a hard time. Can anyone help me achieve this? Thanks.
4
votes
1answer
361 views

What is the best way to display a cut scene?

How do we show cutscene in the game? Currently I am using images and animation upon them to show cutscenes or story. I heard from my friend that showing a video might be one of the option too. Is it a ...
0
votes
3answers
425 views

Is it legal to use the name of an existing game?

I'm planning on creating an iPhone game titled "Guess Who!". I know there is already a board game with the same title (linked here) so I'm wondering it is legal for me to use this title for my game. ...
4
votes
1answer
478 views

Cocos2d: Tongue effect like in Munch Time

I'm wanting to do a tongue effect for my character like the one in Munch Time( shown in pic ). The player does some action and his tongue attaches to the nearest platform. I'm thinking this is ...
6
votes
1answer
934 views

Is the STL efficient enough for mobile devices?

When it comes to mobile game development on iOS and Android NDK, some developers write their own C++ containers, while others claim that STL is more than adequate for mobile game development (For ...
1
vote
1answer
627 views

OpenGL ES 2 - glSwapBuffers?

this is what i do to blit FBO onto screen in ViewController: [m_Context presentRenderbuffer:GL_RENDERBUFFER]; but i need something like glSwapBuffers, so that i can call it somewhere from the ...
0
votes
1answer
354 views

Straightforward guidelines for converting OpenGL to OpenGL ES?

Is there a straightforward list of finite steps that I need to follow to convert an OpenGL program into an OpenGL ES that's used on the iPhone and iPad? I'd be using GLKit. I've seen some similar API ...
1
vote
3answers
431 views

Missing z-axis rotation for transforming between two vectors

I'm trying to rotate a cube so that it's facing up, but am getting hung up on the final implementation details. It now reliably will rotate the x,y axis to the correct side, but the z-axis is never ...
0
votes
1answer
230 views

Can a local multiplayer iOS game display differently for each device?

I've seen games which display different data for two devices, but not more than two. If possible, can it be accomplished using GameKit? EDIT: More specifically, I was thinking local multiplayer via ...
6
votes
2answers
1k views

AI engine for iOS game development?

I'm looking for an AI engine for iOS game development (machine learning, path finding).
2
votes
3answers
351 views

Optimizing graphics for an iOS flash game

A friend of mine and myself are working on a flash developed iOS (and later Android) puzzle board game. He's a developer and I'm a designer/developer so (no surprise) we have different points of view. ...
6
votes
3answers
3k views

How to achieve uniform speed of movement on a bezier curve?

I'm trying to move an image along Bezier curve. This is how I do it: - (void)startFly { [self runAction:[CCSequence actions: [CCBezierBy actionWithDuration:timeFlying bezier:[self ...
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 ...
3
votes
1answer
567 views

Can glTexImage2D() use an already existing memory block?

Can I use glTexImage2D() and / or glTexSubImage2D() (or maybe there's some other method I don't know about) with an already existing block of memory, instead of always uploading the changed pixels? I ...
0
votes
1answer
248 views

How to test a turn-based ios Game Center game with 2 devices?

This might well be a very dumb question, but here goes anyway, I'm planning my turn-based ios game center game, obviously I know I'll need 2 iDevices to test it on, but how would I test the online ...
0
votes
1answer
139 views

CCSprite x and y comparison

I have 2 CCSprites and I want to tell if their x and y are equal I tried this: if(sam.position.x == tom.position.x && sam.position.y == tom.position.y){ NSLog(@"Hooray!"); } Although I do ...
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 ...
1
vote
2answers
683 views

Rotate 3D cube so nearest side is facing user

How do I figure out the new angle and rotation vectors for the most visible side of the cube? Why: The user can rotate cube, but when finished I'd like the cube to snap to a side facing the user. ...
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 ...
10
votes
3answers
535 views

Prototyping a puzzle game for solvability of levels

I am in the prototyping phase of making a puzzle game for iOS. The basic premise of what the player has to do is get from point A to point B by navigating through a maze like setup, while moving ...
0
votes
1answer
510 views

Making a 2d puzzle game like Unblock Me for iOS and need advice.

I have a simple game on the Apple App Store written entirely in Objective-C and Cocoa Touch. I would like my next game to be like the Unblock Me game or Auqeduct where you have to drag pieces around ...
-1
votes
3answers
3k views

iPhone 3D Game Development using Maya?

I'm reading up on 3D game development for the iPhone. I'm looking into programs like Unity for 3D development. My question is are these the best ways to go for 3D development for the iPhone-Unity or ...
1
vote
0answers
394 views

Mono and/or MonoGame for Android and iOS Experiences [closed]

I was wondering if anyone has any experience of using Mono and/or MonoGame for cross platform game development, particularly with regards to Android and iOS games development. Key things are; What ...
2
votes
1answer
1k views

GLSL Shader Solution for Ambient Occlusion?

For the iOS app I am writing I want to incorporate some aspects of ambient occlusion for photo manipulation. Can someone suggest a GLSL approach that will work. Realtime performance is not super ...
2
votes
3answers
712 views

Objective-C or C++ of game engine header file for iOS developers?

We've developed a game engine written in C++. Now we are preparing our game engine for iOS developers. I guess that many game developers use C++ or Objective-C for their game apps. So I think we ...
0
votes
1answer
416 views

BOX2D Kinematic Platform with parallax layer

I am using a kinematic body for my moving platform on x-axis, so I set the linear velocity to b2vec2(5,0). When the player jump on the platform, it works like it is suppose to. But the thing is ...
3
votes
2answers
392 views

Creating new games on Android and/or iPhone

I have a succesfull Facebook poker game that is running very nicely. I was asked if I can port my game to other platforms - mainly mobile devices (phones as well as tablets, would tablets need a ...
-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
3answers
2k views

App Store: Profitability for Game Developers

Recent days, I've been spending significant time in discovering chances of profitability of AppStore for developers. I have found many articles. Some of them are highly optimistic, while other are ...
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
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
2answers
461 views

What are my tool options to prototype a 2D online multiplayer game? [closed]

I'm looking for the best tool to allow me to quickly put together a 2D game that relies largely on networking. It's extremely likely that this game will require a server side program to constantly ...
5
votes
1answer
1k views

Things to do to port game made for iOS in Unity to Android?

I have just made my first game for iOS and submitted it to app store. I was thinking of porting my game to Android also. I would like to know things one need to do/remember to port game made for iOS ...
1
vote
1answer
659 views

Parallax Background Size

If I have three scrolling/continuous parallax backgrounds, what should be the ideal size (width/height) of the background images assuming I am going to support all devices including the new iPad? ...
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?
1
vote
0answers
138 views

Strange and erratic transformations when using OpenGL VBOs to render scene

I have an existing iOS game with fairly simple scenes (all textured quads) and I'm using Apple's "Texture2D" class. I'm trying to convert this class to use VBOs since the vertices of my objects ...