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
4 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
51 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
10 views

How to implement addon/extension?

I was wondering if anyone knows a good way to implement an addon/extension for your app. For example you have a card game and you want to add more cards with an addon thats available through ...
0
votes
0answers
18 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
11 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
23 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
40 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
38 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
21 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
14 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
30 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
15 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
23 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
82 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
104 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 ...
0
votes
1answer
88 views

Hexagonal buttons

I'm trying to create a map of touchable hexagons and the playing area would be like in Catan game. I would like to use Sprite Kit to do the job but is it cabable of doing that? Process goes like ...
0
votes
0answers
26 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
1answer
55 views

How to create a line that is always connected to two Objects. (iPhone, Cocos2d)

I'm wanting to create a rope like animation effect. I don't need any kind of rope physics, all I need is a straight line connected to Object A and the other end connected to object B. Object A and B ...
0
votes
1answer
23 views

Porting WP8 to IOS GraphicsDevice Error (Monogame/Xamarin)

I seem to be having a problem porting to IOS. I have my game working on WP8 and Android with any major issues but when trying to run on iPhone I seem to get an error when initialising the ...
0
votes
0answers
33 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
1answer
64 views

Port sandbox flash game to Android and iOS

I'm want port my sandbox game to Android and iOS. Game written in AS3 (i'm use my simple 2d engine on stage3d). What do you recommend I use? Haxe + OpenFL MonoGame + Xamarin (C#), or other 2D engine ...
1
vote
1answer
51 views

Can I set a texture as the wallpaper of an iOS device?

I have a game in Unity which creates drawings. I need to have a button which sets the drawing as the wallpaper (with permission from the user of course). Is it possible?
0
votes
0answers
29 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
22 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
1answer
38 views

memorizing button tap code iOS game

I'm using a single view app in Xcode 6.1 for my game with Storyboards. Not unity or sprite kit. It's a small game not even 3MB. Anyways, I created un-lockable characters with a BOOLEAN. ...
0
votes
1answer
49 views

Handling image size based on different ios device versions (Unity2D)

This game is built using Unity 4, C#, and the 2D toolkit. In the unity game scene settings, it is set to (ios 5 tall) and I matched the Menu background dimensions with the dimensions of an ios 5 tall ...
0
votes
1answer
45 views

How can I make a flapper game that scales to multiple aspect ratios?

So I've never made a game before besides a basic 4:3 aspect ratio flapper, so bare with me. Recently I had this wild idea that I wanted to make this complected (for a 2d) game in cca. Unfortunately ...
1
vote
1answer
73 views

model view projection multiplication order

I'm debugging a lighting problem where the camera position is effecting the diffused lighting component on my 3d model. In researching my problem I went back and am reading over all the how to ...
0
votes
1answer
65 views

Developing game progress screen [duplicate]

I'm developing an application for iPhone with a screen where the user will track his progress. Something like so, as seen in the Two Dots game: Currently I plan on creating this using constraints ...
0
votes
0answers
20 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 ...
5
votes
1answer
161 views

Can I query the Game Center APIs from C++, without Objective-C?

I am writing a game that needs Game Center leaderboards. These however, are not very extensive leaderboards. I just need the ability to submit a score automatically when the player completes a level. ...
0
votes
0answers
81 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
46 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 ...
2
votes
1answer
91 views

How can I position a sprite in the same spot across different screen sizes?

Taking into account the multitude of screen sizes and resolutions, is there a way I can position a sprite so it's at roughly the same spot on every iOS device? Doesn't matter if you are using ...
0
votes
1answer
40 views

iOS gaming with copyrighted characters? [closed]

Can I use animate characters in an iOS game if I do a citation in the credits. Ex Steven univers in a fighting game and I list Rebecca Sugar in the Credits or by the character bio.
4
votes
3answers
227 views

How to restore purchases made with virtual currency from the App Store? (iOS)

I want to award coins for doing thing in my app and let users purchase things with the coins that are non-consumables. I also want to let users purchase coins as IAPs. How do I keep track of what has ...
0
votes
1answer
65 views

Should I design UI in raster or in vector editing software? [closed]

I am working on a IOS city builder game (more like planet builder) but that's not the case, I was making the buttons in photoshop when something hit me: "if I make raster icons in photoshop, they will ...
1
vote
2answers
191 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 ...
1
vote
0answers
67 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 ...
0
votes
2answers
139 views

Execute native ios code in unity

I want to execute native iOS code in unity. For this I have added two files in /plugins/ios. ViewController.h ViewController.m Code for each file represented as under. ViewController.h ...
0
votes
0answers
69 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
1answer
38 views

How to make an object in box2d have constant velocity even after collision? [duplicate]

I have iOS game where I have a bouncing character. Everything is being handled by box2d. The problem is when the character hits a wall of another character it's velocity changes, but I don't want ...
0
votes
1answer
124 views

Can someone provide a practical example of decoupling game world updates from frame redraws in iOS?

Please bear with me as I've been spending some time lately trying to get a better grasp of some game dev fundamentals. My specific issue is a direct result of trying to apply what I've read about ...
1
vote
1answer
72 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 ...
1
vote
1answer
102 views

Can we use credit card/prepaid voucher payment systems in Android and iOS?

We already have a credit card gateway with a local bank. We also have a prepaid card voucher in the market. In our game, a user will create an account within our portal. The user will "recharge" his ...
7
votes
1answer
1k views

Using L-Systems to procedurally generate cities

I'm currently making an app that focuses a lot on procedurally generated content. So far, I've successfully implemented the procedural generation of the terrain and shape of a map using simplex noise. ...
0
votes
1answer
65 views

Push Notification to start a scene

I was wondering whether I can use APNs in iOS to trigger an event in my game, like start a scene without user clicking the notification. Is it possible to use remote push notifications for events like ...
0
votes
0answers
38 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
1answer
128 views

What is the speed difference between cross platform HTML5 games and native mobile games? [closed]

Microsoft is advertising and promoting cross platform HTML5 game development. I am thinking of creating a simple 2D side scroller game and I am trying to decide what engine should I use for creating ...
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 ...