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

2
votes
1answer
584 views

Xcode workspace with Unity3D as a sub-project?

Let's say we're developing a 2D game with Cocos2d-iPhone and UIKit and CoreAnimation. But we're also considering leveraging the 3D capabilities of Unity 3D. Is it possible that we add the ...
1
vote
1answer
22 views

How can I use CCClippingNode to trim the top and bottom from a CCTableView?

I'm fairly new to Cocos2d and struggling with sizing a CCTableView. How can its height be controlled so that I have space at the top and the bottom? I'm trying to visually wrap the top and bottom of ...
1
vote
1answer
193 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 ...
1
vote
1answer
280 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 ...
1
vote
1answer
81 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 ...
1
vote
1answer
229 views

Which gesture recognizer should I use to handle multiple simultaneous flicks?

So, if you can picture a game with little ninjas running down at you, and a bunch of shurikens at the bottom of the screen, you're picturing the set-up I'm addressing. I want the player to be able ...
1
vote
1answer
131 views

iOS Facebook SDK, Games Start Playing post

im trying to implement a method in my native iOS game the publish a story on face book such as this photo most games that is integrated with facebook share stories like this in the activity section ...
0
votes
1answer
17 views

supporting multiple resolutions on mobile (cocos2d, ios)

I am looking into ios game development and the first question that comes to mind is how to support the growing number of iphone resolutions. I have seen the Unity strategy of normalized screen ...
2
votes
0answers
159 views

Difference between multiple AudioUnits and one AudioGraph with a MultiChannelMixer

I'm porting my game to iOS using MonoTouch, and I'm having some trouble getting sound output to work. SystemSound/AVAudioPlayer is way too simple for my needs (I need looping and multiple simultaneous ...
1
vote
0answers
32 views

Loading Textures in Background Cocos2d Objective C loading CCScene

I am allocating a few CCScene subclasses, but when I do this, it takes more than 10 seconds. What I am trying to achieve is to perform a small CCAmimation, such as a loading logo glowing. My question ...
1
vote
0answers
189 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
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 ...
1
vote
0answers
49 views

GameCenter and multiple user's data on same device

I was wondering. Is there any official guidance from Apple suggesting how to deal with multiple GameCenter users data on the same device? My current plan is to create one file for each user and a ...
1
vote
0answers
384 views

Unity game debugging on Xcode

This question has two parts: 1. How to get meaningful information out of Xcode crash logs? The game runs fine on the editor but when running on an iOS device it crashes and then gives information ...
1
vote
0answers
304 views

iOS cocos2d - sprite gets stuck in collision detection

I'm developing a top down game in cocos2d and I have collision code that checks collisions between enemies and the player so that they don't go through each other. The code seems to work but the ...
1
vote
0answers
771 views

Unity3D: collider performances on mobile iOS devices

I'm experimenting with Unity3D and colliders. Unfortunately I still don't have Unity Pro version and I can't use the profiler. Consider the following situation: mobile devices (ios, iphone 3GS). an ...
1
vote
0answers
260 views

How do I use Objective-C libraries in Cocos2d-x?

We've created several libraries in Objective-C in the past, and now we're moving to the Cocos2d-x game engine. We can't figure out how to reference and use those libraries (we've also tried compiling ...
1
vote
0answers
106 views

colliding btRigidBody objects behave strangely when moving slowly

I'm trying to use Bullet Physics in my iOS game. The engine appears to be correctly compiled in that the demos work fine. In my game I have the player's ship and some enemy ships. They're defined as ...
1
vote
0answers
228 views

UDK problem with kismet and unreal code interfacing

Couple of questions that I really have looked for the answer to before posting. I want to create enemies in a game (iOS - tower defense like) I am making them follow a path and do other things like ...
1
vote
0answers
139 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 ...
0
votes
0answers
10 views

iOS Sprite Kit - Distort Body Upon Collision

I am trying to create a surface that will distort upon collision of another object. Imagine a rubber partition that bends outward when shot with a projectile, and then retracts back to it's original ...
0
votes
0answers
17 views

How to restore purchases made with virtual currency from the App Store? (iOS)

I want to award coins for doing thing in my app and let users purchase things with the coins that are non-consumables. I also want to let users purchase coins as IAPs. How do I keep track of what has ...
0
votes
0answers
17 views

iOS8 + SpriteKit. Does a Node Moved Via Pan Gesture Have Velocity in the Physics Simulation?

I have some SKSpriteNodes arranged in a 2D grid. Each has a physics body including mass and charge. I attach a pan gesture to the SKView and a corresponding pan handler to the SKScene. When I pan I ...
0
votes
0answers
35 views

Push Notification to start a scene

I was wondering whether I can use APNs in iOS to trigger an event in my game, like start a scene without user clicking the notification. Is it possible to use remote push notifications for events like ...
0
votes
0answers
21 views

Using Tile Maps with cocos2d - how do I handle a large amount of images?

I am building a game where the users (players) can build their own town. There they can build houses, add furniture to the houses etc etc. Basically similar to The Sims. I am using the Tiled Map ...
0
votes
0answers
27 views

Intersection issue with box2d in iOS

I'm trying to use the code here http://www.iforce2d.net/b2dtut/raycasting So I can know whether a line cross a box2d object or not. It half works, in that when the line crosses the object it does ...
0
votes
0answers
44 views

iOS Workflow for Importing Animations Into XCode

I am working with an illustrator to add animation to my iOS app. She is using Adobe After Effects on the illustration side and I am using SpriteKit on the developer side. However, the specifics don't ...
0
votes
0answers
42 views

Securing HTTP requests to online game server

I'm pretty new at making online games. Right now I'm trying to make an iPhone game. Each player has a profile in my server. I want to avoid username/password for authentication. Currently, as it ...
0
votes
0answers
21 views

Showing keyboard on SKScene and performing action on a sprite node based on key tapped

I am trying to learn SpriteKit and play with some simple sample apps. Currently I am trying to achieve below things: Show keyboard over SKScene If user taps 'A', perform some action on a sprite ...
0
votes
0answers
27 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
0answers
59 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
21 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 ...
0
votes
0answers
53 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 ...
0
votes
0answers
37 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
0answers
34 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 ...
0
votes
0answers
26 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
152 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
82 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 ...
0
votes
0answers
48 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
639 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 ...
0
votes
0answers
20 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
21 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 ...
0
votes
0answers
113 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 ...
0
votes
0answers
480 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
0answers
48 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
0answers
120 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
0answers
345 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 ...
0
votes
0answers
1k 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 ...
0
votes
0answers
85 views

Make a layer over an image and adjust its co-ordinates by touch

I need to make a layer over an image and adjust the layer to fit to image and get its co-ordinates of the layer. I need to adjust the layer by touch and pinch. The sample image is as below. I need ...
0
votes
0answers
293 views

How to add render able Texture in Unity 3d for iOS

I want to render an image on texture which should be stuck at one point, not stuck with Camera. I don't know how to accomplish this task because I started unity a week ago but I want to do this task ...