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
9 views

SerializedPropertyBindings NullReferenceException

Using: Unity 4.6.1 Pro Visual Studio 2013 Pro, c# Team Foundation Connected to git vc Windows 7 Premium Building 2D iOS app (2D set up) Details: Periodically, this error is occurring. There ...
-3
votes
0answers
30 views

How To Detect Collision With Coins [on hold]

I want to know how to give the player plus 1 point every time the player collides with that a certain object. Every time the object is collided with, it will at on to the previous amount. Example: if ...
0
votes
1answer
20 views

How do you set multiple collision rules with Swift and SpriteKit?

So basically I've got 2 types of balls and 2 types of enemies. Green can delete red only, red can hit delete only. Here's what I have for the first collision test: func didBeginContact(contact: ...
-3
votes
1answer
37 views

Unity Licensing

I'm sorry if this gets asked a lot but google gives up answers from back in 2008 and all sorts so could somebody please clear up a couple of questions for me please. I want to make 2D games in ...
-1
votes
0answers
25 views

Playing 1 second, full screen animations for iPhone 6 [on hold]

I'm planning on creating a smartphone game specifically designed for iPhone 6. This game will use full screen showing the head, face, and shoulder of a person, like a photo ID in a full screen mode. ...
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 ...
-3
votes
0answers
21 views

How to use the gaming sdk's(which sdk provides some games)in my application [on hold]

I have requirement like if user accessing something it takes 5 min for processing in mean while i want to engage the user with games.so is there any free sdk which provides games(i dont want to ...
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 ...
2
votes
1answer
75 views

Cocos2D V3 Blur effect performance test without iOS device

I am testing the blur effect (CCEffectBlur) in Cocos 2D V3 and I found that when I add an effect to an EffectNode it takes up to 5 seconds to appear in the IOS Simulator screen. (I know that the IOS ...
-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 ...
1
vote
1answer
27 views

Aspect ratios for sprites in Unity3d

I'm using Unity3D version 5.0. I'm wondering what the best way to deal with changing resolutions in Unity is. In Swift I can just use the @x2/@x3 in order for it to pick the correct sprite for it ...
0
votes
1answer
38 views

Swift - Why does my SKShapeNode pass through an object, pausing briefly beforehand?

The code below when run on a device that’s flat on the table shows a red circle (the 'ball') and a line. When I gently tip the device the circle moves towards the line. When it reaches the line, it ...
1
vote
1answer
24 views

Run some objc code very early in unity iOS game lifetime

I want to hook up a crash reporting service to my unity iOS game. It's just one line of objC to add, as early into the app lifecycle as possible, but I'm not sure how to get it to run. I know I could ...
0
votes
1answer
56 views

Touch Input with Event Trigger. How to handle with it properly

Hello Community, Since this is my first post I wanted to say hello. As every beginner developer I have a lot of problems. Below one of them: I wrote simple script to control my 'Player' object: ...
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
23 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
1answer
50 views

problem with SCNTransaction in Scene Kit SWIFT

I'm trying to move an object over a period of ten seconds from y coordinate 0 to y coordinate 10. the object is created at y coordinate 0. The problem is when the animation starts, the object pops ...
1
vote
1answer
42 views

Ortho projection of 3D points with a vector

I have 3D points and I need to make an 2D orthographic projection of them onto a plane that is defined by the origin and a normal n. The meaning of this is basically looking at the points from the top ...
0
votes
1answer
34 views

How to make a joystick follow the touch around a starting point using atan2?

I would like to move a joystick, and be able to go beyond the limit of the circle, and the joystick should follow the angle from the touch (the touch is moving), but it should stay on the circle. It ...
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 ...
0
votes
1answer
112 views

Sprite Kit - keeping character level with the terrain 2d endless runner

I've been trying to figure this out exhaustively for the past few days and still haven't found an answer. I have an endless runner built using swift where the character is fixed and the terrain moves ...
0
votes
1answer
56 views

Swift - How do I detect the exact point at which two “SKPhysicsBody(edgeFromPoint:” type physics bodies intersect in sprite kit

I have two physics bodies attached to two separate sprite nodes using Sprit Kit. One is a vertical line and one is a horizontal line: //sprite with horizontal physics body ...
0
votes
1answer
52 views

Trouble drawing repeating and scrolling screen elements from a 2d array for an endless runner in swift [closed]

I've been trying draw level segments for an iOS endless runner using 2d elements that repeat forever. I have a class that generates a random 2d array, then scene elements are drawn and animated to ...
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: ...
2
votes
1answer
64 views

Is it possible to completely avoid copying image data when uploading textures to the GPU on iOS?

I am not a game developer, but I have been doing iOS software engineering for many years. I have a particular interest in graphics and animation, but the finer details are still a little foreign to ...
0
votes
1answer
98 views

Unity3D - Cancel a build process (Windows, Unity 5)

I accidently pressed build for iOS and just realized that it might take a few hours to build the project. I tried to kill the unity process in the task manager, but on next start up unity instantly ...
0
votes
1answer
99 views

How to use atan2 to get the correct angle? (inside or outside angle) [duplicate]

I would like to rotate an object (white rectangle) towards another object (black rectangle). EDIT: the white rectangle (at the top) has a camera. I finally rotated the camera by 180 around the "y" ...
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 ...
5
votes
1answer
221 views

Does SpriteKit follow the MVC pattern?

I am currently working on an iOS project called Old Frank that I have been trying to follow a MVC design pattern. The gist of it is. GameObjects(model) <- Scene(controller) -> Sprites "SpriteKit" ...
1
vote
1answer
60 views

CGVectorMake to move SKNode at a certain speed towards the middle of screen?

I am trying to launch my ball sprite towards the middle of the screen at the same speed every time I launch it. let vel: CGFloat = 1000 dx = size.width / 2 - ball.position.x dy = vel - size.height / ...
2
votes
2answers
86 views

Data model design using Core Data and Spritekit

I have a entity called Item, and every item can have two or three bonuses... What would be a good model design in this situation. I can think of something like: To have many optional attributes ...
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?
1
vote
1answer
42 views

In unity game appears dark exporting to ios what happened? [closed]

Everything appeared darker when I exported my game to iOS. I only updated my Unity to 4.6.3 . Any idea why?
1
vote
1answer
42 views

How to figure out a vector based on 2 points that add up to a certain value

I am writing a game in which I am representing a velocity with a vector. I have a starting point and a point that I want the object to move towards at a certain speed. (I need the resulting vector's x ...
0
votes
1answer
196 views

Unity3d iOS build - where are the textures?

First time building and running my Unity3D app on my iPhone and it appears that all the textures are missing. Everything is just a solid block of whatever color I made it. When running in Unity I ...
1
vote
3answers
118 views

Finding neighboring coordinates on offset tile map

I have a grid of hexagonal tiles. Every other row is slightly offset for visual reasons. Imagine a player touches any tile - I need to compare the coordinate of that tile, with any tile they touch ...
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
1answer
91 views

How to make a stereoscopic 3D Game with SDL for iOS

I was looking up google for an answer the whole night but didn't find anything. Yesterday I found some VR demos and games on the AppStore, with stereoscopig (dual rendered) screens. So you put your ...
0
votes
1answer
56 views

How can I make background elements wrap around the screen?

I'm looking to make my clouds wrap around the screen in my game (like the picture). Right now it just continues off the screen. The current movement code is: Cloud.center = ...
0
votes
1answer
112 views

Fb.Feed dialog closes before saving

I'm having trouble with the Facebook UnitySDK when I use the FB.Feed() method for posting on user's timeline. The share dialog closes before the post is completed, Right after i press the "Post" ...
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
1answer
67 views

Unity and Chartboost loading problems

I implemented chartboost in my ios game and locally it wors great. I can receive ads. Now my game is online but in the google analytics I get only error messages from the game, meaning the ...
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
1answer
511 views

Unity IOS game restart when you press the home button

Why does my unity IOS game restart when i press the home button on the device? The same game worked fine on Android device and did not restart on pressing the home button. Thanks
1
vote
0answers
105 views

Why do phone games limit turns? [duplicate]

Many phone games restrict the number of turns you can play in a given amount of time. I don't get what is the purpose of this limitation. Is it only to force the player to buy additional turns? Some ...