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
230 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
2answers
596 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 ...
1
vote
1answer
327 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
36 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 ...
-1
votes
1answer
57 views

Will Chartboost block my account for clicking my own ads?

I created a game in iOS and Android. Every day I manually click ads in it from my device. Is this okay? Or can Chartboost block my account if I do this for a long time? I've been doing it for the ...
2
votes
1answer
177 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
2answers
63 views

Unity 3d: Animating Offset on a Quad is causing stretching issue only with iOS devices - Using Wrap Mode: Repeat

I added a 3D Object > Quad and added a graphic on it with the Wrap Mode set to Repeat. I'm animating the Offset to scroll the repeating image for a parallax effect. Everything is working perfectly ...
1
vote
1answer
195 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
109 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 ...
0
votes
0answers
7 views

Should the Sprites in my Boids implementation be backed by model objects?

This question is about the proper way to architect an implementation of Craig Reynolds Boids algorithm. I have an Agent object like this: struct Agent: Equatable { let identifier = ...
0
votes
0answers
27 views

How can I make a realistic soccer ball that gets impulsed by finger touch in Swift?

So I got this ball ball = SKSpriteNode(imageNamed: "ball") ball.name = ballCategoryName ball.userInteractionEnabled = false ball.size = CGSizeMake(120, 120) ball.zPosition = 2 ...
0
votes
1answer
37 views

How can I use tilt sensor in iOS iPad to steering a car

I am absolute beginner with unreal engine , I am working in car race project here is my situation : I need to navigate my car in left and right direction using tilt Here is what I do I read tilt ...
0
votes
1answer
44 views

How can I determine the size of my app store bundle?

I made a very simple game. It only has Facebook, and Twitter share icons but it does have Ad Networks SDKs and adapters. My entire folder that contains all the SDK's is currently 200mb. The inmobi SDK ...
1
vote
1answer
198 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 ...
3
votes
1answer
238 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
260 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; ...
1
vote
1answer
146 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 ...
1
vote
0answers
9 views

Paradigm for storing user data for iOS

Disclaimer: I'm not well versed in Game Dev best practices so this may be a trivial question. I'm developing an iPhone game in which I have to store a user profile containing such information as ...
0
votes
0answers
24 views

Apple Development Register Help Understanding Terms And Conditions [closed]

I am currently enrolling, but whilst reading the terms and conditions, saw this. "legally permitted to register as an Apple Developer". I do not know what this means.
0
votes
2answers
90 views

Android game to iOS, go with an engine?

I have developed a game on android using native coding. However I am being asked to port it to ios. So I thought that I should bite the bullet and recode it in unity so I can go cross platform. I ...
0
votes
0answers
13 views

Voice modification in iOS Xcode

I want to record a sound and then change the effect of sound. For example if record my sound and by applying filters voice get changed into robotic sound. How can I do that?
0
votes
0answers
17 views

Information regarding remittance in iOS/Facebook

I am a new game developer who wants to deploy game in facebook and ios I have few questions regarding the monetary transactions and remittance Till now I have figured out that facebook pays the money ...
0
votes
1answer
82 views

Isometric scene in SpriteKit

I tried play with spritekit in isometric grid. But i can't understand how to fix level. import SpriteKit import XCPlayground let view:SKView = SKView(frame: CGRectMake(0, 0, 1024, 768)) ...
2
votes
2answers
181 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 ...
2
votes
1answer
2k views

How to move an UIView along a curved CGPath according to user dragging the view

I'm trying to build a interface that the user can move his finger around the screen an a list of images moves along a path. The idea is that the images center nevers leaves de path. Most of the ...
1
vote
1answer
709 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 ...
1
vote
0answers
41 views

Mobile game without game engine [closed]

I am planning on making a 2D mobile game for iOS and Android. It will have animations (including some simple flash/light and particle effects, like in Candy Crush), but the only physics the game will ...
1
vote
1answer
631 views

How can I load a large tile map with cocos2d?

I am try to design a cocos2d game with a big world. The world's tile map is very big, maybe 20 iPad screen sizes worth of tiles. I want to know how to load this using a CCTMXTiledMap? If I directly ...
3
votes
2answers
416 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 ...
2
votes
1answer
115 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 ...
1
vote
1answer
110 views

iOS build size is too large in Unity

I have finally completed my game and ready to upload my game to the App store, but my build size is too large. I have checked log statement and it is roughly 13.3 mb but when i build my game and test ...
2
votes
2answers
339 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
824 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 ...
3
votes
1answer
126 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
0answers
10 views

set customize attribute value in a sprite in cocos2d

I want to make a puzzle game by cocos2d ios. For that, I want to set value in customized attribute. Like: In cocos2d js:(value, power, picked attribute) var sprite = cc.Sprite.createWithSpriteFrame("...
0
votes
1answer
777 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
1answer
289 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 ...
2
votes
2answers
225 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
2answers
310 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 spriteMatrix[i][j]....
0
votes
0answers
10 views

Issue moving only one child node

I am trying to make a game that has a ball which is a SKShapeNode that shoots projectiles (SKSpriteNode). The issue that I am having is that when I try to get the players to move, it moves all of the ...
0
votes
0answers
27 views

POST & push for turn-based network?

Can you create a viable two player turn-based networking implementation using only REST API for outbound and push for inbound data? If a game is comprised of, on average, 30 moves, is it a bad idea to ...
1
vote
2answers
181 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 ...
0
votes
1answer
51 views

Does Apple allow customers to play 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 ...
1
vote
1answer
129 views

Should be GameKit used together with GameCenter?

As far as I understand, GameKit provides Bluetooth-maches, while GameCenter allows to play matches through internet. So it looks like the best scenario is to use both of them? Is this reasonable?
0
votes
0answers
83 views

Compiling libgdx game to iOS with BugVM - it launches libgdx Hello World app instead of my game

I'm trying to use BugVM (which is just a free open-source fork of RoboVM) to compile my libgdx game to iOS, but when it launches in iPhone simulator, it's not my game but the libgdx "Hello World" app: ...
2
votes
0answers
164 views

Porting libgdx game to iOS using Multi-OS engine - how to add Admob ads

I want to port my libgdx game to iOS using Multi-OS (RoboVM is no longer available). I've searched whole internet but can't find any info about how to use Admob with Multi-OS engine on iOS. Every ...
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 ...
3
votes
5answers
14k views

What are the pros and cons of GameSalad versus Cocos2D? [closed]

I am currently using the Cocos2D framework for creating my game but I just happened to come across GameSalad and was amazed by this video. GameSalad claims to allow you to create games without ...
5
votes
4answers
210 views

What platform should educational games target? [closed]

Should educational games target the PC or mobile market? My professional development experience has been with the PC, but I'm wondering if mobile (iOS, Android, etc.) has a better market for ...
1
vote
3answers
628 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 ...