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
votes
1answer
249 views

in-app purchase in cocosSd-x 3.0

I am working within a team, and we're at the point of finishing our first cocos2d-x c++ application. We want to add in-app purchases. for what, we made a search for this. We found 2 solutions: 1- ...
0
votes
2answers
248 views

OpenGL 2.0 - How to swap buffers for color picking

I'm trying to reproduce color picking on iOS, following the technique described here: http://www.lighthouse3d.com/opengl/picking/index.php3?openglway2, with OpenGL ES 2.0. When the user touches the ...
0
votes
0answers
20 views

Label jumps to front when tapping UITablecell

I made a UItable with some custom cells. When i press the cell, the label in the cell jumps to the front of the cell and is stuck behind a button that's in the cell. i've made a video available to ...
1
vote
1answer
178 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 ...
2
votes
2answers
213 views

Give people your app for free [closed]

I was wondering how developers can give some people (like family) their paid apps for free? Or even give paid in app purchases for free. I'm not talking about the promo codes, i believe they only last ...
0
votes
0answers
107 views

create cgpathref(s) from image?

I have been searching for a way to to take my paths (in blue below) and get a CGPathRef from them, there would be 3/6 paths created per tile. I heard something about using an Alpha but I was unsure ...
5
votes
4answers
174 views

What platform should educational games target? [closed]

Should educational games target the PC or mobile market? My professional development experience has been with the PC, but I'm wondering if mobile (iOS, Android, etc.) has a better market for ...
1
vote
1answer
419 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 ...
0
votes
1answer
66 views

How can I know when a player quits out of a turn from the Game Center UI?

In an iOS Game Center managed turn based game, if a player quits out of turn from the Game Center UI, then turnBasedMatchmakerViewController:playerQuitForMatch isn't called (as expected). However, the ...
1
vote
1answer
70 views

Why aren't subsequent glDrawArrays showing up?

I am attempting to redraw with the same arrays using glDrawArrays in a GLKView on iOS. When I comment out any two of these calls, the other draw call draws as I expect. My last hunch was that I was ...
0
votes
1answer
429 views

How to Integrate Unity with Google Play Game Services for iPhone and Android games

I want to integrate Google Play Game Services for Apple's iOS and for Android. How can I do this efficiently?
1
vote
1answer
90 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 ...
0
votes
2answers
45 views

Count number of CCNodes of a certain class on a layer

Pretty simple question. I'm working in Objective C (cocos2d) and I'm trying to count the number of a sprites of a certain class are present on the current layer being displayed. For example, I have a ...
0
votes
3answers
93 views

Is permission needed to use a living famous person as a character in a game?

If I wanted to sell an iphone game in which you play as a famous person, would that require permission from the famous person?
2
votes
1answer
400 views

What units does Sprite Kit use for physics?

I'm developing a simple ball game in Sprite Kit. I need to predict the ball's trajectory, so I went back to my physics book for the equations for acceleration, time, speed and space. The problem is ...
0
votes
0answers
430 views

Cross-platform ad-hoc local mobile multiplayer

I want to implement ad-hoc cross-platform (iOS, Android, and PC) device discovery for local multiplayer, like this scenario: http://www.youtube.com/watch?v=csXYZf2vGdE Multiple players, each with ...
0
votes
1answer
132 views

Normal Map Issues

I'm experiencing a very strange result in my very simple normal map implementation on iOS 7 - OpenGL ES 2.0. I'm only using the bare parameters necessary and I'm also skipping on all the tangent and ...
0
votes
1answer
199 views

Unity animations in iOS

I'm an iOS developer and I'm trying to make 2d animations with Unity 4.3 + RageTools Pro + RageSpline. I want to integrate the animations into a native iOS application. In Unity I have different kind ...
0
votes
0answers
42 views

Prismatic Joint causes a crash-Box2D(cocos2d)

tried to set up a prismatic joint, but I get this error upon run time: Assertion failed: (IsLocked() == false), function CreateBody, file ...
0
votes
1answer
86 views

Box2d stopping the movement of an object

I am in the process of making a game and I need an object to move only when the buttons are pressed. I have a method that begins the movement, and so far I am ending the movement of an object by ...
1
vote
0answers
70 views

How can i stack up tiles for Connect4 objective C? [closed]

I am trying to learn Objective C and iOS programming. And I'm trying to build a Connect Four. So Far i got this. I've been looking around and asking around but I haven't got the answer to my ...
0
votes
0answers
119 views

Is it possible to integrate 3d animated models in a chat app?

I'm trying to make a 3d model from the top left corner animate when a gui in the bottom of the phone opens a keyboard & shows a list of animation. The problem is I am a game developer & I have ...
0
votes
1answer
148 views

Particle effect in sprite

I want to create a particle effect when my player sprite collide with my star sprite. How can I add a particleSystem in the sprite and not in a image? Also, I wish if it could wait for the animation ...
-4
votes
1answer
100 views

How can I develop a game for iOS? [closed]

I have a Mac arriving in the next few weeks, and plan to program a 2d game. I know a little bit of Java but nothing about Objective C. I've heard about cocos2d -- it seems good but I don't know ...
2
votes
1answer
533 views

How to outline a 3D object with a cartoon style stroke? [duplicate]

How could I draw (stroke) the outline of a 3D object in a cartoon style with GLKit? I'm referring to something like this: However we can start with a simple line around the object and then try to ...
1
vote
0answers
179 views

iOS OpenGLES - Multithread Game loop - Render and Update

I am trying to implementing multi-threaded game loop in iOS. (Actaully, two thread - Render and Update) This is my structure. Update Loop Has logic and at the end of loop, save update state. ...
1
vote
1answer
366 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
0answers
53 views

Building a guided tracing scene

I'm trying to figure out an approach to creating a cocos2d scene that would help kiddos learn to draw letters of the alphabet. Right now I am just using Apple’s PaintView demo code and applying an ...
6
votes
1answer
250 views

overlapping 3d particles not blending nicely when at the same z

I'm working on a 3d particle emitter. It's going pretty good but I'm still having a problem with triangle sorting. As you can see in the photos, there are some particles that are not blending ...
1
vote
2answers
152 views

matrix to rotate a vector to a known arbitrary axis

Let's say I have a vector V (v.x,v.y,v.z) which is normalized and points somewhere in 3d space. And that I have another vector Z of (0,0,1). Knowing only these two things I'm looking for a ...
1
vote
2answers
180 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 ...
0
votes
1answer
62 views

iOS UDK Kismet Compare Vectors?

I have created a control scheme identical to the UDK Jazz Jackrabbit tutorial. Everything works as it should except I would like the Left Stick to control the character rotation when the Right Stick ...
1
vote
1answer
230 views

How to build an iPad game without an Apple device?

I am an experienced PC/mobile app developer trying to build an iPad app but I don't have access to a physical device. I have a PC and an Android phone (whatever good that is!) The app is essentially ...
0
votes
1answer
456 views

Tower defense endless levels logic sprite kit [closed]

I am making a tower defense game for iOS using Sprite Kit. I would like for my game to support an endless number of levels, like in Bloons TD 5. What approach should I take to implement this?
0
votes
0answers
313 views

OpenGL error 0x0506 in -[CCSprite draw] 530 to run project on ios divice in cocos2d?

I am running my cocos2d program on simulator. It works fine but when I run it on device, it throws error OpenGL error 0x0506 in -[CCSprite draw] 530. In my program I want to push one scene to another ...
-1
votes
1answer
469 views

Level Editor for iOS Games [closed]

What would be the best way to design "Angry Birds" - levels. I wanna develop my own Angry Birds but I don't know how I should design the levels. Is there any good tool/level editor for that? The app ...
0
votes
1answer
118 views

How set and count Angle of sprite (turret) object in portrait mode in cocos2d?

I am new in cocos2d.I follow Raywenderlich tutorial series. I wish to set turrets in below of the screen in portrait mode.when user touch that location fire bullet and turret fire position at the ...
0
votes
1answer
70 views

Fast Forward Drawing using ACEdrawingView

i am using this : https://github.com/acerbetti/ACEDrawingView i want to implemented one Functionality in which i want Fast drawing by clicking on a Button. i am drawing points on screen. i have ...
0
votes
0answers
962 views

Dragging an object by touching on Android

I am trying to move and object by touching it and dragging. I am testing it on my Samsung Galaxy SIII. I have used the following code. For some reason it moves faster than my finger. It should always ...
2
votes
2answers
160 views

What are the pros. and cons. of different representations a custom geometry format for a mobile based engine?

I am trying to create 3D model importer for my mobile based engine. These are what I am considering: Convert .obj file to text based structure like JSON or custom. So, basically, convert .obj ...
5
votes
1answer
121 views

portal cutoff effect

I want a 3D Mesh to come out of a flat portal. Only the part of the mesh that's coming out of the portal should be rendered, so the mesh should be cut off or sliced until it's fully outside the ...
0
votes
1answer
118 views

Java 2d game cross-platform compatability

I need to make a few small, simple 2d educational games primarily to help kids improve their reading. Drag & drop/matching words with pictures, spelling out words as well as maybe a scrolling ...
0
votes
1answer
71 views

Create body on a sprite (box2D)

I'm quite experimented in objective C, but now i'm tried cocos2D and his features. I need to add a body on a spritesheet (if possible on a classic 'UIImageView'), in order to detect collisions after. ...
1
vote
1answer
397 views

iOS: OpenGL ES 2.0 render texture with glScissor performance

I have drawn image with OpenGL and will redraw tile of its texture (non filled area). Which case will work faster? Set glViewport with full texture's rect, draw full texture and use glScissor ...
0
votes
2answers
262 views

OpenGL ES, orthopgraphics projection and viewport

I want to make some simple 2D game on iOS to familiarize myself with OpenGL ES. I started with Ray Wenderlich tutorial (How To Create A Simple 2D iPhone Game with OpenGL ES 2.0 and GLKit). That ...
2
votes
1answer
114 views

How do I make my iOS game free for users who 'like' it on Facebook?

I've seen a game for free on iOS when the user 'likes' a page. Though it appears the promotion was run by Apple, not the developers of the game being given away. How can I make my game free for a ...
4
votes
1answer
320 views

Do leaderboard sets (in Game Center) allow 500 unique leaderboards?

The Game Kit Programming Guide for iOS claims: The number of different leaderboards allowed increases to 500 leaderboards per game when leaderboard sets have been enabled...Leaderboard sets ...
0
votes
1answer
127 views

Gyroscope handset (e.g. mobile phone): Method to control player using Gyroscope

I am using gyroscope data (pitch, rool) to move the player space ship. It works perfectly until you play in a standard position (e.g. sitting down). Once you start using it lying (e.g. in the bed) the ...
2
votes
2answers
226 views

Workaround for Texture2D.GetData

I’m converting a game from XNA to iOS with Monogame. In the code snippet below, smallDeform is a Texture2D on which I call the GetData method. smallDeform = ...
0
votes
1answer
608 views

Anyone know the frames per second that IOS apps run?

Anyone know the frame rate that iphones, ipads, and even android mobiles run?