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
vote
1answer
34 views

How can I clearify users my controlls?

In my game I use a really simple control mechanic to control a character on screen. But my problem is that users do not understand this control. Beside a little delay problem they work this way: ...
0
votes
1answer
8 views

How can I avoid a delay with continues touch detection in swift?

I want control a character on my screen with a continuous swipe gesture. As soon as I do a swipe +x or -x my character moves left or right. And as long as I hold my finger it continuous to move to the ...
0
votes
0answers
21 views

Turn Based Game Match Data in iOS

Hi I’m working on turn based game development using turn based API from Apple’s GameKit framework. My game is 2 player strategy game. Currently I’m facing the issue match data update on game play ...
-1
votes
0answers
10 views

Error in Xcode: Missing Context for method declaration in iOS game

I'm currently trying too integrate Chartboost Ads into my iOS game but I keep getting 1 error that is preventing me from doing so. The semantic issue error is at the bottom where the (BOOL) is ...
1
vote
1answer
61 views

Developing an iOS/Android game with the free Unity license - feasible?

I recall, when I looked up the Unity license comparison page several months ago, seeing that some iOS/Android features were disabled for the Free license. However I can't seem to find that page now, ...
0
votes
1answer
22 views

Is it possible to detect contact with every frame change when using an animation in SpriteKit?

Is it possible to detect contact with every frame change when using an animation in SpriteKit? For example, if I have two nodes of a person walking, I want to detect contact with the ground each time ...
1
vote
1answer
35 views

Cardboard on iPhone 5 doesn't render on stereo

Has anyone ran into this? I'm on Unity 5.1.1p3, Cardboard Unity Integration v0.5 (5/28/2015) and an iPhone 5 running iOS 8.3 (12F70). I made a game that uses Cardboard and on an iPhone 6 the ...
1
vote
2answers
77 views

Unity NGUI Arial Label looks different in iOS after updating Unity to 5.1.1

I am using NGUI and I have a UILabel. It uses Unity dynamic font Arial. Bold. No effects. This is how it looks in the Unity editor: And that's how I want it to look. When I build it in iOS, it ...
0
votes
1answer
13 views

Unity 4.6.6 iOS Build Issue

I am using unity 4.6.6 to create a Xcode build. When I create a build I am getting following error Cannot initialize return object of type 'Singleton_1_t6738 *' with an rvalue of type ...
0
votes
1answer
22 views

How to choose a SKSpriteNode randomly?

I want to choose from 4 enemies using random and present it on scene. For that purpose I've made this: func enemyPicker() -> SKSpriteNode { var enemyArray = [mouse, robot, drone, block, bird] var ...
0
votes
0answers
3 views

How to assign a button in the main storyboard to launch the GameViewController.swift file

I am quite new to swift and I have constructed a main menu in the main.storyboard file, how do I assign the 'Play Now' button to launch the GameViewController.swift file where I actually plan to ...
0
votes
0answers
27 views

Unity3d iOS build restarts when regaining focus from browser

I have an app made in Unity3d for android and iOS. In it, the user has the ability to link their accounts with Facebook and Twitter. For Facebook I use their Unity plugin, for Twitter, I open an ...
0
votes
0answers
21 views

SpriteKit How to Slowdown Game with RepeatForever Actions continuously running, similar to Matrix Dodging Bullets Effect?

I'm trying to slow down my _gameLayer Node by 0.5 when the player collected a slowing down timer and I want to see all the nodes inside _gameLayer is running at a much slower speed. However when I ...
1
vote
2answers
36 views

Any way to load/execute scripts (game-logic) included in a post-release DLC (Unity3D AssetBundles) on iOS since it seems its not allowed?

We are making a game where players will be granted access to new levels every week and these new levels will probably be downloaded from our server as Unity Asset Bundles The only issue is, as ...
0
votes
0answers
25 views

Does the LibGDX AI extension work on IOS?

Does the LibGDX AI extension work for IOS? Here it does't show how to add it to the IOS dependencies. I don't have an IOS device but I want to release my game for IOS. I just don't to finish my game ...
0
votes
0answers
14 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 ...
0
votes
1answer
40 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
44 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 ...
0
votes
0answers
23 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 ...
1
vote
0answers
33 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
87 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
vote
1answer
30 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
65 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
29 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
75 views

Handling touch input with Event Trigger

I wrote a simple script to control my 'Player' object: using UnityEngine; using System.Collections; public class PlayerMovement : MonoBehaviour { public float jumpVelocity = 10; ...
0
votes
0answers
14 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
69 views

problem with SCNTransaction in Scene Kit

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
48 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
36 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
16 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
146 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
78 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
59 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
26 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
18 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
80 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
106 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
106 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
140 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 ...
6
votes
2answers
269 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
77 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
96 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
23 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
46 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
43 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
234 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
132 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
29 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
77 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 ...