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

3
votes
1answer
368 views

Bullet physics weird behavior. Jittering and drifting with btBoxShape

I'm dropping a simple box onto a plane from 100 units and my solution using Bullet Physics is giving me some weird behavior. The dimensions of the box are {2, 4, 1}. When the box hits the ground it ...
2
votes
0answers
187 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
23 views

Orientation of SKNode in followPath Swift

I'm developing a game like price wheel where I need to touch the correct answer. For now I find replies where people says: Set yScale of SKNode to -1. Or Set xScale of SKSpriteNode to xScale ...
1
vote
0answers
12 views

How to save characters in iOS game app

BOOL = GREENIE, UIButton =GREEN. When I click the GREEN button, I coded that now you play as GREENIE character. However, I don't know how to code it that the game always remember that the I clicked on ...
1
vote
0answers
78 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
280 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
61 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
2k 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 ...
1
vote
0answers
476 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
335 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
299 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
113 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
232 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 ...
0
votes
0answers
7 views

touch mouseOver in createjs - DispatchEvent() not working in iPhone/iOS

I have recently developed an html5 game using createjs and I am currently in the testing phase. The game seems to work fine in all the devices except for the iPhone. After careful analysis I have come ...
0
votes
0answers
10 views

Localizing Game Center hosted match based game for different regions

I have created an iOS game that uses Game Center hosted match feature ...
0
votes
0answers
22 views

Particles starting around specific shape?

I'm trying to solve a difficult UI issue with my iOS/Cocos2d game - I need a visual way of highlighting when a user has made a unique connection of the game pieces (think: a user a forms a triangle ...
0
votes
0answers
22 views

cocos2dx - Bypass body contact

I am using cocos2dx and setup two Sprites with same Physics Body definitions see below PhysicsBody *physicsBody=PhysicsBody::createBox(size,PhysicsMaterial(1.0f,0.0,0.5f),Vec2(0, size.height*0.5)); ...
0
votes
0answers
17 views

How can I shorten distributing iOS builds to our testers?

We need to have quick builds of our iOS game to deliver to our testers like several times a day but the pipeline we've found is limiting us greatly. My current pipeline to export my Unity project is: ...
0
votes
0answers
116 views

Unity3D Mobile System Fonts | Include Font Data | and Licensing

Working with type for Unity mobile apps: I'm struggling to figure out how to work with type when developing / publishing a unity mobile app. Here's my thought process, this isn't my question but if ...
0
votes
0answers
22 views

Identity for google Play Game Service (GPG) for web and ios games

How Google Play Game Services (GPG) asks for user identity in non android devices? Will it ask for user to login into a google account for every game?
0
votes
0answers
28 views

On mobile, where should I save game expansions' assets when purchased in-app?

Say you have a card game and you want to add more cards with an add-on available through in-app-purchase. Where would you save the new cards (e.g. image assets, code)? Of course you could just ...
0
votes
0answers
68 views

Unity PolygonCollider2D acts different on iOS Device

I'm instantiating new game object, then adding a SpriteRenderer component and attaching a sprite object, and only after the sprite is fully loaded, I add a PolygonCollider2D, to fit the sprite I've ...
0
votes
0answers
31 views

iOS: Texture loading when app is running in background

I have a loading screen to load textures between game screens. The loading process runs on a thread created by GCD with an OpenGL ES context. Everything works fine. Now my game is supporting ...
0
votes
0answers
60 views

Why am I getting Swift dynamic cast failed? when launching this controller from a button?

I read that this has to downcast to UIViewController but the controller is actually MapViewController.... but it fails either way. func showMap(){ let viewController:UIViewController = ...
0
votes
0answers
66 views

Show emoji colors in CCLabelTTF in Cocos2D v2.0

Is there a way to show the colors of emoji characters in a CCLabelTTF? As it stands, all my emojis appear monotoned in the color set by the CCLabelTTF. If not, is there an alternative CCLabel I should ...
0
votes
0answers
47 views

iOS / Gamekit - Leaderboards empty after adding in 3 values from different accounts

I am trying to query for the high score and rank of a player on a leaderboard. I am using some code found on the Apple website: - (void) retrieveTopTenScores { GKLeaderboard *leaderboardRequest = ...
0
votes
0answers
51 views

Test iOS build on jailbroken device?

I want to test my Unity iOS builds on my jailbroken iPad and was wondering how I can do that. Please note that it's just for testing purposes and I don't intend to do anything illegal with it. I do ...
0
votes
0answers
36 views

Display problems with iPhone4s and Unity

I'm having an issue with the screen on iPhone4s. I calibrated the camera's viewport size depending on the screen resolution. This has given me buggy results on the 4s since ther e is a black stripe of ...
0
votes
0answers
90 views

Game Center leaderboard delay in scores

I'm currently using Sandbox mode to test my device for Game Center integration. I use several sandbox accounts and whenever i beat a previous high score, leader boards doesn't post the new high score ...
0
votes
0answers
78 views

Use real Game Center account on real device instead of sandbox

I've tested GameCenter leaderboards on sandbox accounts long enough for the simulators. I don't know if I can test the GameCenter leaderboards on a real device with my real game center ID instead of ...
0
votes
0answers
70 views

Game Center login not showing for iOS 7.1 iPhone 4s

GKLocalPlayer *localPlayer = [GKLocalPlayer localPlayer]; localPlayer.authenticateHandler = ^(UIViewController *viewController, NSError *error){ if (viewController != nil){ [self ...
0
votes
0answers
34 views

MonoGame iOS .m4a song files load exception

On previous MonoGame iOS projects I have successfully loaded songs as raw .m4a files without using the content pipeline since .mp3 has a hefty license cost. A few days ago I updated to the latest ...
0
votes
0answers
122 views

Monogame: Unsupported Landscape Screen Orientation on iOS 8.0

Did anyone have a fix on the landscape orientation problem that monogame has or is it the iOS 8.0 that has a bug? I have visited the github of monogame and tried to compile the latest developer ...
0
votes
0answers
86 views

Cocos2d v3 - addChild method make performance problems

i have currently a performance problem with the addChild method in cocos2d version 3.3. My scenario is currently that i have about ten CCNode which holds a bundle of other CCNode (about 500), i called ...
0
votes
0answers
107 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
57 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
28 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
213 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
66 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
34 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
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
119 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
96 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
56 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
992 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
718 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
79 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
500 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
98 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 ...
-1
votes
0answers
15 views

iOS app Swing Copters game movement when tapped

I love the movement the game Swing Copters uses for it's game. You need to constantly tap the screen in order for the swing copter to stay as close to the middle of the screen as possible, if you ...