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

2D Soccer Goal Net

I want to make a 2D soccer game on iOS, I started with SpriteKit and got the ball physics working. Now, I could make the goal simple and static, but I'd love to make it make it elastic like a real ...
0
votes
1answer
28 views

creating a multi player card game over bluetooth

I'm a beginner in app development so sorry if my question is cheap :( I wanted to start developing a card game and i was wondering if apple allows customers to play over bluetooth or not ( on ...
3
votes
1answer
96 views

Pathfinding: longest route along tiles of same type

I'm programming a simple tile-based puzzle game, and I've gotten stuck trying to work out a pathfinding algorithm. Here's how the game is set out: The game board is (arbitrarily) 8 tiles wide by 8 ...
3
votes
2answers
371 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
vote
2answers
111 views

In-app update, live update, hotfix for mobile game

I'm researching how to make an in app update on mobile game. When there is a hotfix, or an update, users don't have to go to Playstore, or App store to update but update inside the game. (E.g. Clash ...
1
vote
1answer
650 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 ...
0
votes
0answers
27 views

Enabling VSync results in stuttering

With VSync disabled my FPS doesn't drop below 100. When I enable it my FPS sits in the 55-60 range. The issue I have is that I have fast moving platforms that move at a constant speed, so a single ...
2
votes
2answers
87 views

create ipa without RoboVM in a project libgdx

I am creating an application with libgdx , and I wish I could produce an IPA without using RoboVM , because since version 1.9 became a fee . I saw on the original documentation that you can do with ...
3
votes
2answers
1k 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
32 views

Card game turn-based server solution needed [closed]

We are looking for a server for a game we want to build. The game is built for iOS and Android devices, and the clients need to be able to play against each other. The game architecture would be to ...
2
votes
2answers
189 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 ...
1
vote
2answers
742 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
1answer
55 views

Objective-C SpriteKit – How to make a circle of buttons

I have some code in a project already, but I'd like to change it up a bit. Currently, my code creates an empty node called _buttonLayer and then create some buttons to add to it. My buttons start from ...
0
votes
1answer
56 views

How could I access game data from a dev machine at runtime from a mobile platform?

When working on a game on a mobile platform, having read/write access to game data (assets, configuration files) stored on the dev machine at runtime would enable building of tools to quickly iterate, ...
0
votes
0answers
12 views

Unity Creating XCode build causing too many XCode Changes When using GIT ( SourceTree )

I am using Unity 5.2.1f, XCode 7.2 and SourceTree. There are multiple developers working on the same project. After we updated to Unity 5.2.1 and Xcode 7.2, it always shows too many changes in the ...
3
votes
1answer
70 views

Sprite orbiting on a point

I was wondering how to make a Sprite do an orbit on a determinated point in SpriteKit. I tried to set the anchorPoint of the Sprite orbiting with the center point but it doesn't work. Please can ...
0
votes
3answers
530 views

OpenGL ES, orthographic projection and viewport

I want to make some simple 2D game on iOS to familiarize myself with OpenGL ES. I started with Ray Wenderlich’s tutorial (How To Create A Simple 2D iPhone Game with OpenGL ES 2.0 and GLKit). That ...
1
vote
1answer
80 views

Unity apple/google ID access?

After extensive Googleing I have not come up with a way to access Apple ID's or Google ID's from unity running in respective devices. Either ID's or something else unique to the accounts logged in. I ...
0
votes
1answer
180 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 ...
1
vote
1answer
25 views

Can't call GameCenter in my Unity game for iOS

I'm trying to integrate Game Center into my Unity 5 project and facings troubles. It seems that authentification is OK when the game starts on iOS device, a notification appears, but leaderboard ...
1
vote
2answers
566 views

Cocos2d: Moving background on update: offsett issue

working with Objective C, iOS and Cocos2d I am developing a vertical scrolling shooter game for iPhone (retina display models with 640 width x 960 height pixel resolution). My basic algorithm works ...
0
votes
1answer
384 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: ...
1
vote
2answers
175 views

Exporting spritesheet for Cocos2d

I would like to know how people usually save the animations in order to load them easily in Cocos2d with as few hard-code as possible. E.G. The solution I thought of is to have one plist file ...
0
votes
1answer
273 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
1answer
245 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 ...
1
vote
1answer
152 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 ...
0
votes
1answer
103 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 ...
1
vote
1answer
78 views

Screenshot always returning as a white image on iOS using robovm and libgdx

I am trying to take a screenshot for sharing on social media. This code works on my Desktop project, but when I use it on iOS it always shows up as a white image, I am using the standard libgdx code ...
0
votes
1answer
31 views

Unity iOS build failed : Apple Mach-O Linker Error

We are using Unity v5.3 and Xcode v6.3. When we are trying to build for iOS, it throws error in build process: "Apple Mach-O-Linker Error" - with tons of errors similar to this: duplicate symbol ...
2
votes
2answers
446 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
46 views

ArgumentNullException Parameter name: format [closed]

I have made a simple game using Unity with Vuforia and exported for Android and iOS. It works fine on Android, but on iOS it crashed and gave the error: ArgumentNullException: Argument cannot be ...
2
votes
1answer
171 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 ...
2
votes
1answer
194 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
11 views

Sharing vs App Invites - what tends to drive better distribution and engagement with Apps?

Is there any statistics out there that compare the impact of Sharing on Facebook vs sending App Invites? Which of both tends to drive better distribution and engagement with Apps? I'm developing an ...
4
votes
3answers
138 views

How to fill in crevices on a height map

I am a very experienced iOS Developer, but I am beginning my very first foray into 3D graphics (specifically with SceneKit). I'm trying to model a planet, and I have it working with a height map ...
0
votes
1answer
144 views

GLES2 rendering performance for different iPad generations

I'm using C++/GLES2 for iPad only (no iPhone). The only device I own is an iPad2 and I do not plan to support iPad 1. Can anyone help me understand realistic goals/limits on iPad 2/3/4 in terms of ...
0
votes
1answer
76 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
0answers
18 views

How to implement UIBezierPath on IOS OpenGL

I have started the OPenGL IOS application development with GLImageProcessing OpenGL ES2.0 application. I could successfully load large jpg image and changed brightness using fragment shaders. Then I ...
2
votes
3answers
142 views

How to set up a game loop for a project targeting iOS?

I'm a fellow game programmer who's done many game engines in Game Maker 8.1, Visual Studio XNA and MonoGame with C#, and one in Java Android with Eclipse. I'm very used to C# and love it plus the VS ...
2
votes
3answers
4k views

Am I allowed to release an app I developed with Xcode on windows?

I want to develop an app for the iOS app store, but don't want to invest in a mac since they start very expensive. So I considered running Xcode via VMware using OSX Lion on my windows 7 computer. ...
1
vote
1answer
217 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 ...
3
votes
1answer
130 views

Cross-platform C++/OpenGL ES development (iOS/Android) [closed]

I already have reasonable experience with C++ and OpenGL, and I have recently decided to try out mobile game development. After successfully creating a simple OpenGL ES Android app using Java, I ...
0
votes
1answer
17 views

What is the more appropriate way to implement a health bar in iOS?

I'm building a game a pokemon like rpg game in iOS using Swift. I'm currently in the process of making graphics and is in the dilemma of either just using a health bar blank and dynamically changing ...
2
votes
1answer
96 views

Collisions between sprites in SpriteKit

I'm making a game in XCode using SpriteKit. The game has a player and different types of projectiles that he has to avoid. When the player collides with the projectiles, the score changes and the ...
1
vote
2answers
2k views

Cocos2D - How to move sprite on the X axis, using the accelerometer

I'm trying to make a vertical shooter, using Cocos2D and a few tutorials. Unfortunately, most tutorials only show how to make an horizontal shooter. Still, I tried to adapt the code from a horizontal ...
0
votes
0answers
20 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
1answer
66 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
53 views

How can integrate a decibel meter into my Push To Talk (PTT) game?

I have am building a Push To Talk (PTT) game and I need to integrate a decibel meter into it so that I can measure and save the decibel level and identify the peaks (spikes) and add them together. I ...
0
votes
1answer
145 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
2answers
56 views

Apple iOS review and interpreted code download/execution

I'm looking for some information regarding two specifics rules of the App Store Review guidelines. More specifically rules 2.7 and 2.8 : 2.7 Apps that download code in any way or form will be ...