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

1
vote
2answers
151 views

Can I make a flash file I developed to run on Androis / IOS?

I've created a simple game using ActionScript 3.0 and Adobe Flash CS5. Is there any way to run this creation on Android / Apple IOS ? (Even if so, I still have no Idea how to work with "touch" ...
1
vote
1answer
949 views

3d transformation of game world keeping gameplay 2d - COCOS2D 2.0

Using: COCOS2D + iOS. I want to rotate the game world, may be loading another .tmx file for another dimensions when user want to switch dimension. the effect what I am looking for is something like ...
1
vote
2answers
587 views

Multiplayer game sdk for ios and android [closed]

I am working on a multiplayer game supporting Android and IOS. For IOS Game-Center seems promising. But its IOS only. OpenFeint could be a option, but now GREE has stopped supporting it. Is there ...
1
vote
3answers
383 views

2D Physics in a networked game (iOS)?

I am researching the possibilities for a new iOS game. It's going to be a run-n-gun type platformer, and I'm looking into the possibility of co-op multiplayer. The game itself wouldn't be very ...
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
813 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
1answer
89 views

Is it legal to allow users to install replacement game data containing real-world personalities?

I'm thinking of developing a game for iOS which will ship with fake sports personality data. So, for argument sake, let's say fake football player names. On OS X and Windows games like this often ...
1
vote
2answers
154 views

Adding an angle variance to a 3d vector

I am converting a particle emitter from 2d to 3d. In the 2d system the original coder used a random angle variance and added it to the angle. So it would be something like: thisAngle = emitterAngle ...
1
vote
1answer
108 views

Designing a four-directional movement control

I'm developing an RPG for iOS. Currently, I plan my controls to look like this: So the user can interact with objects, people, etc. by tapping on the right side of the screen, and moves by swiping ...
1
vote
2answers
902 views

Coordinate and positioning problem on iOS with cocos2d-x

I'm using cocos2d-x alongside with Marmalade and running some tests and tutorials before starting an actual project with them. So far things are working reasonably well on the windows simulator, ...
1
vote
1answer
103 views

in an ios open gl es 2 game - is it better to use a few large texture atlas or many small textures

I'm working on new game, this time moving to more 3d objects and open gl es 2. Previous (successful) game was open gl es 1 and mostly 2d. For es 2 I'm developing my own 3d engine. My 3d artist ...
1
vote
3answers
1k views

Wait till all CCActions have completed

I am developing a simple cocos2d game in which I want to animate two CCSprites simultaneously, and for this purpose I simply set CCActions on respective `CCSprite's as follows. [first ...
1
vote
2answers
223 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 ...
1
vote
1answer
637 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 ...
1
vote
3answers
433 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 ...
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 ...
1
vote
1answer
563 views

Securing a TCP connection on iOS for an MMO

I am currently building an iOS MMO and I'm leaning towards using TCP as my networking protocol over the higher level HTTP (for the speed difference and the fact that it does not require the client to ...
1
vote
3answers
2k views

How do I repeat a texture with GLKit?

I am using GLKit in order to show textures on my project. The code is like this: -(void)setTextureImage:(UIImage *)image { NSError *error; texture = [GLKTextureLoader ...
1
vote
2answers
700 views

What is the best way to store meshes or 3d models in a class

I am wondering, how I should store my mesh into memory after loading it from whatever file. I have Questions floating in my head: Should a mesh could have sub meshes or does the 3d model just store ...
1
vote
1answer
756 views

Should I use animated objects or use the physics engine on iOS scenes with lots of rigidbodies?

I have a scene with lots of houses and other objects. These objects will be bombarded from the sky. How to handle these kind of settings having in mind that you want the physics to be as realistic as ...
1
vote
1answer
131 views

How should I structure my code to add enemies?

So I am currently making a 1942-style game in Sprite Kit. I've reached the point where I am finished implementing pretty much everything (movement, shooting (also recognizing a hit and exploding an ...
1
vote
2answers
133 views

How to detect collision on specific part of the sprite node

I have a spike and a ball is falling down, when the ball touches the top point of the spike, I want to make the ball invisible, and when it touches on the other part i.e on the sides I don't want to ...
1
vote
1answer
240 views

iOS Sprite Kit - Blend Mode Effect

This question builds upon the following question: How can I achieve a good fire effect with alpha blending and particles? I want to achieve the visual effect of using SKBlendModeAdd on a black layer, ...
1
vote
1answer
572 views

difference between cocos2d-x vs cocos2d-js

I'm just moving towards native apps... A friend of mine told me to start with cocos2d, I'm good in javascript. while searching google for cocos2d, and within cocos2d-x.org i found cocos2d-x ...
1
vote
1answer
122 views

In 3D camera math, calculate what Z depth is pixel unity for a given FOV

I am working in iOS and OpenGL ES 2.0. Through trial and error I've figured out a frustum to where at a specific z depth pixels drawn are 1 to 1 with my source textures. So 1 pixel in my texture is ...
1
vote
1answer
262 views

Spritebuilder and CCScrollView, page indicators not showing up?

I'm using Spritebuilder to make my game, and CCScrollView usually saves me quite a bit of time. I'm trying to implement the scroll view much in the same way as the home screen on an iphone uses the ...
1
vote
1answer
305 views

Viewport Pixels trouble - Intel XDK

I'm creating a game in Intel XDK, and using their API to get the viewport width and height. These are coming back at 1122 pixels and 746 pixels, respectively. When adding my text at 150 pixels down ...
1
vote
1answer
191 views

Why isn't this UIButton visible in Xamarin.iOS?

I'm trying to implement buttons into my game. I noticed iOS has the UIButton class, which I tried, but upon drawing it nothing is shown. The asset image is properly loaded, I've checked this. The ...
1
vote
1answer
716 views

How does Apple use App Store image banners?

I am about to publish my very first iOS game and was reading the Apple iTunes Connect guide (pages 237 till page 240). I understand that they require a PSD file of dimension 3200x600 pixels. I also ...
1
vote
1answer
144 views

How should I manage persistent score in Game Center leaderboards?

Let's say that I'm developing an iOS RPG where the player gains 1 point per monster kill. The amount of monsters killed is persistent data: it is an endless adventure, and the score keeps on growing. ...
1
vote
1answer
155 views

Bodies do not stay sticked together by joint in retina display

I'm rehearsing on Box2D revolute joints. Everything's going pretty well except for one thing. For some reason bodies joined together with revolute joints do not stay sticked, they start getting apart ...
1
vote
1answer
222 views

opengles display human face in iphone and animate it?

I need to make a human 2D face to 3D face. I used this link to load an ".obj" file and map the textures. This example is only for cube and pyramid. I loaded a human face ".obj" file. This loads the ...
1
vote
1answer
405 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
114 views

Does iOS support BC4 compressed texture?

I've been designing a new OpenGL image algorithm using BC4 textures at its core. It works well accross Windows and Mac, my main targets up to now. But today, the customer added a new requirement : it ...
1
vote
1answer
140 views

Unity3d generating a file in iOS and saving it on a linux machine

I've done a little research and don't know if the following is possible. At the moment I have created a small application in Unity that generates an XML file. This file will be used to help set up ...
1
vote
1answer
615 views

Unity3d import file on iOS device

im trying to figure out how to recall an external file in runtime on iOS device. I've already tried using Application.data+"/Raw/MY_FILE", with Application.streamingAssetsPath+"/MY_FILE", and with ...
1
vote
3answers
2k views

CCUserDefault, iOS/Android and game updates

My game uses cocos2d-x and will be published on iOS platform first, later on Android. I save a lot of things with CCUserDefault (scores, which level was completed, number of coins taken, etc...). But ...
1
vote
2answers
953 views

How to deal with Character body parts from Design to Cocos2d

I'm trying to figure out the pattern the game developers use together with game designers: See the picture below with the independent parts: Questions: 1) Should I create different image parts ...
1
vote
2answers
138 views

Submit scores for multiple players to Game Center from one iPhone

I have a quiz game, which i would like to integrate Game Center for. This is a "local" multiplayer game with the possibility to play six players per match. Is it possible to submit scores to the Game ...
1
vote
1answer
279 views

Drawing application on OpenGL for iOS (iPad) [closed]

Some help is needed. I'm developing drawing application on OpenGL (deployment target 4.0) for iOS (iPad). We have 3 drawing tools: pen, marker (with alfa) and eraser. I apply drawing with textures ...
1
vote
2answers
119 views

Threading iPhone

Say I have a group of large meshes that I have to intersect rays against. Assume also, for whatever reason, I cannot further simplify/reduce poly check count by spatial subdivisioning. I can do this ...
1
vote
1answer
534 views

Unit Testing with Cocos2D

How to implement Unit Testing with Cocos2D framework? What are the good practices? Is there any testing framework like JUnit Framework at Eclipse for Android?
1
vote
1answer
402 views

Why do my pyramids fade black and then back to colour again [closed]

I have the following vertecies and norms GLfloat verts[36] = { -0.5, 0, 0.5, 0, 0, -0.5, 0.5, 0, 0.5, 0, 0, -0.5, 0.5, 0, 0.5, 0, 1, 0, -0.5, 0, 0.5, 0, 0, -0.5, 0, 1, 0, 0.5, 0, 0.5, -0.5, 0, ...
1
vote
1answer
348 views

UIView with IrrlichtScene - iOS

i have a UIViewController in a Storyboard and want to draw a IrrlichtScene in this View Controller. My Code: WWSViewController.h #import <UIKit/UIKit.h> @interface WWSViewController : ...
1
vote
1answer
663 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? ...
1
vote
1answer
480 views

Cocos2D Accelerometer Z axis

I am making a 2D scroller game where the player controls an airplane via the accelerometer I would like to know if it is possible to scale in and to scale out the sprite/airplane using the ...
1
vote
1answer
153 views

Is it normal to these Xcode prompts/errors when you deploy to IOS Simulator from Unity?

Just trying out the IOS build process.... Is it normal to see: Q1 - "upgrade to latest project format - project currently in Xcode 3.1 format, this will upgrade to 3.2" - just click OK and let Xcode ...
1
vote
1answer
480 views

OpenGL ES Faces appear to be transparent when alpha is 1.0?

I am working on an object (OBJ File) loader for my app on iOS, currently I have successfully read the vertices and the faces of the object, and I am now just adding colours to the imported models. I ...
1
vote
1answer
1k views

Bodies are colliding but refusing to rotate in Box2D

I'm running box2d in C++ and hooking it up to C# via p/invoke. All physics stuff occurs in C++. My problem is that bodes know when they are colliding and do so with great precision. However if I have ...
1
vote
1answer
1k views

ERROR: The application bundle does not contain a valid identifier

I'm getting this error "The application bundle does not contain a valid identifier" after my application successfully compiles.This error prevents my game from launching on the phone or the simulator. ...