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
0answers
25 views

Rectification of an image by using texture projection

I need to rectify an image with texture projection on GPU (GLSL/shaders), do you have any resources/tutorials/insights to share? I have the 3D pose of the camera that created the image and the image ...
0
votes
1answer
23 views

Offset a camera/render without changing perspective

I need to offset a render so that the perspective / vanishing point doesn't change. Or another way to look at it is that I need to adjust the vanishing point in my view so that instead of being at ...
2
votes
1answer
125 views

Algorithm for staying “alive” forever

I am implementing a game where the player is playing(sliding) the little red rectangle and the purpose is to not hit the black rectangles and to not move out of the inner blue rectangle. The black ...
0
votes
0answers
47 views

Apple upload screenshot not working? [on hold]

Apple requires the exact measurements of 640x1136 pixels for the 4 inch screenshots. I tried photoshopping mine and cropping them to be more exact. Then I tried uploading it again but it says "the ...
2
votes
1answer
53 views

Total Texture memory size iOS / OpenGL ES

My team is running into an issue where the amount of texture memory allocated via the glTexImage2D is high enough that it crashes the app ( at about 400 MB for iPhone 5). We're taking steps to ...
0
votes
1answer
52 views

Run Love2D on iphone and android

I have a game developed in lua using love 2d, and now i want to run it in ios/android. Is there any porting or way available to do that. Thanks.
0
votes
0answers
24 views

Game Center Leaderboard not dismissing

I was implementing Game Center into my app and all was going well except for the leaderboard done button not dismissing the leaderboard even with gameCenterControllerDidFinish added in. I call up the ...
0
votes
1answer
45 views

Is there a size limit when using UICollectionView as tiled map for iOS game?

I'm working on a turn-based strategy game for iOS, (picture Civilization 2 as an example), and I'm considering using a UICollectionView as my game map. Each cell would be a tile, and I could use the ...
3
votes
1answer
110 views

Simulating Smartphones on PC with Unity

I want to make a game that depends on the phone orientation (changing shoot direction with tilt), however I need to test this on PC. So is there any tool I can use to simulate the orientation of the ...
0
votes
0answers
37 views

sprite kit xcode CGPoint

Hi I am a newbie in this sprite kit xcode. So I am planning to place three cards on the view which I add them to the background. However I wanted to combine two of the cards and replace the first ...
0
votes
0answers
15 views

shifting turn in real time game using ios

I am trying to develop a real time game in ios but not getting how to shift turn that the users will likely to be real.I think it is not possible using php.So which will be better for that. Thank you ...
2
votes
1answer
101 views

SpriteKit - How to jump to specific position?

I'm would like to achieve something like Object A will jump to position A in parabolic way. For example: I am able to make the object jump but i do not know how to calculate to make the object jump ...
1
vote
1answer
106 views

Spritekit - gradually apply force vector in different direction (space ship turning)

I have a space ship that I'm applying a force vector to using a joystick for control. I would like this to smoothly fly around when I'm switching directions.. Exactly like minisquadron if you've ...
0
votes
0answers
30 views

iTunes Connect Not Deleting Game Center Leaderboard Test Data

I was wondering if anyone has had this problem, and if they were able to rectify it: For the last few days, I've been trying to delete Game Center test data from iTunes Connect unsuccessfully. The ...
1
vote
0answers
44 views

How do I setup scoring system for my game? [closed]

I've created a simple endless game. And I want the scoring system to be something like the one in flappy bird. My aim is to publish my game to app stores in the end. How do I save/keep a high score? ...
0
votes
1answer
189 views

Swinging a sword in Xcode with Sprite Kit

I'm working on making an RPG in Xcode, and I'm having a major gameplay issue when it comes to having my character swing his sword in a way that is realistic and gameplay compatible. Right now, when ...
1
vote
1answer
145 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
155 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 ...
0
votes
0answers
25 views

Maintaining a constant magnitude of speed of a CCNode's physics-body after collision with a static body

I have two CCNode class "Baffle" and "SmashBall" with there physics bodies. Here are the PhysicsBody details of Baffle // Defining the physics body CCPhysicsBody * physicsBody = ...
0
votes
1answer
39 views

equivalent texture function to texture2D in OpenGL-ES?

I'm trying to figure it out how can implement the same result using texture2D. The result expected is a luminescence operation but I couldn't replicate the same functionality using texture2D for iOS. ...
1
vote
1answer
289 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, ...
0
votes
0answers
28 views

Game Center- modifying turn-based match

I was looking through Apple's programming guide for Game Center to see if it would be able to do what I would like to in my game, but I couldn't find a conclusive answer. I'm looking to make a game ...
2
votes
2answers
48 views

How can I add an impulse to specific rigid bodies at rest?

Scenario Rocks falling down a rocky slope, with a flat surface at the bottom. When they land on the surface, the rocks move slightly before coming to a rest. GLESDebugDraw shows the bright orange ...
0
votes
1answer
125 views

How to get the complete width of SKSpriteNode which has many child nodes

I have a Sprite node with many 6 child nodes. Each are placed one after another in X-axis. I want to know the complete with of the Sksprite node. SKSpriteNode *array = [SKSpriteNode node]; [array ...
-1
votes
1answer
33 views

Connect players with same phone language settings

I am working on a turn-based multiplayer game using game center. The game also use Spanish localisation. It is enabled by reading the device language settings. Now my requirement is: When i start a ...
0
votes
2answers
162 views

How can i get almost pixel perfect collision detection in a multiplayer game?

I'm currently working on a multiplayer game for iPhone. The problem i have, as with all multiplayer games, is that the other user will always see everything at a non-constant delay. The game I'm ...
0
votes
0answers
25 views

How can I fix latency problems for car game? [duplicate]

Basically I'm trying to make a online car racing game for IOS using Game Center real time multiplayer. I have setup a timer that sends data every 0.02 seconds to the other player with the current ...
0
votes
0answers
23 views

iOS: game with facebook challenges

I created a game for iPad and I want to challenge my facebook friends. I follow the iOS tutorial in "facebook dev docs", with the "Smash game", but it doesn't explain how to challenge a friend ...
0
votes
0answers
90 views

Cocos2dx InApp Purchase for ios

I am trying to integrate In App Purchases in my app made by using cocos2d x c++. I am using easyNdk Helper for In App Purchases. My In App Purchases works perfectly for my Objective C apps. But for ...
0
votes
0answers
68 views

How can I port a MonoGame Windows Phone 8 game to iOS?

I downloaded the trial version of Xamarin Studio and installed it on my iMac. In addition, I installed Xcode on my iMac so that I can use the iPhone emulators in Xamarin Studio. But I don't know how ...
4
votes
2answers
166 views

Approaches for a clickable map of nations (such as a Risk game) with Spritekit

I would like to create a political map where each country is clickable by tapping but I'm not sure the best way to determine which nation was selected. Imagine Risk where each country can be ...
0
votes
0answers
40 views

Random Facebook Friends Profile Pictures

I'm thinking of a new game for iOS. It's a social game that needs a random image generator with the images of your Facebook friends. My first question is: is this even possible? My second question is: ...
0
votes
0answers
379 views

Posting to facebook from unity3d on iOS and android

I've made a game in unity3d for iOS and android. We have our own server to manage high scores and stuff like that. We'd also like to have the possibility post high scores to facebook, and also do ...
2
votes
1answer
777 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 ...
7
votes
1answer
213 views

How do I reconfigure my GLES frame buffer after a rotation?

Note: In order to keep the question as simple as possible, I am actively changing the body of the question to reflect the current state of affairs, instead of adding stuff at the bottom. I am ...
0
votes
0answers
19 views

How exactly does app ranking work?

So I've been in the app industry for around half a year and I still don't know how exactly ranking higher for your app will help increase downloads. That sounds like a question with an obvious answer ...
0
votes
0answers
76 views

iOS + cocos2d: how to account for sprite's position for the different device dimensions in an universal app?

All the questions I've seen regarding iOS universal apps (with or without cocos2d) deal with the "how to add graphics to a universal app". My question is, how does the code need to be written to ...
2
votes
2answers
127 views

Sprite Kit - containsPoint for SKPhysicsBody?

I have a ball bouncing around the screen. I can pick it up and drag it onto a "bucket". When my touches finish, I use the containsPoint function to check and see if I have dropped the ball onto the ...
-1
votes
1answer
205 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
188 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
148 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
205 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
93 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
173 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
323 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
65 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
65 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
351 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
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 ...