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

How create simple dialog in SpriteKit?

I'm new to SpriteKit and I don't know how to create a simple dialog window. Is there a way to do such a thing?
0
votes
0answers
20 views

Libgdx: resizing images correctly

The numbers are taken using photoshop. I have a 32*32 pixel image I am using viewport = new StretchViewport(800, 400, camera); Camera x and y are also 800. I can't change the viewport. The ...
0
votes
0answers
33 views

Libgdx: How to setZIndex for pause dialog?

Pause dialog has to appear on top of the play screen, it has to appear on top of other objects. I have tried to use dialog.setZIndex(10); // or whatever number and I tried adding it in many places ...
2
votes
1answer
121 views

Unity application freezes on ios at pause

When I play my game made with Unity on iOS device, and press the home button or let the screen close by time or by pressing the power button and then try to come back to the game, the game freezes ...
0
votes
0answers
15 views

Love2d iOS background continuously

so I wrote this very crude iOS timer, but it does what I need it to do, I was just wondering if there's a way for me to have it run continuously when I put the phone to sleep. It's a timer after all: ...
0
votes
0answers
27 views

Integrate server side logic Unity Firebase

I know Firebase is really just a database that is accessible via the client, but I was hoping there was a way to integrate server side logic. What I need is a loot generator for my Unity iOS game. So ...
0
votes
1answer
89 views

The object can't rotate around z axis in SceneKit

I am doing an app with a functionality like a 3D compass, it can point to the direction where I want. The code is extension AR: CLLocationManagerDelegate{ func locationManager(_ manager: ...
0
votes
1answer
75 views

Libgdx: Aligning buttons inside dialog

I have the following dialog, semi circle shape. I want to position buttons in it. dialog.button(closeButton, false); dialog.getContentTable().add(buttonS); dialog....
0
votes
2answers
57 views

Libgdx: How to draw the score on the top left?

I want to keep the score visible on the top left corner of the screen. I have the score talking care of. I just want to display it. Score: x The comment on the accepted answer on Stackoverflow ...
0
votes
0answers
49 views

Libgdx: Candy crush style bouncing button animation

This article describes how to make candy crush style bouncing button animation using SVG <?xml version="1.0" encoding="utf-8" standalone="no"?> <svg width="100%" height="...
0
votes
2answers
42 views

Libgdx: how to pick a random texture?

I'm trying to pick a random texture from a fodler placed in assets and use it but it's giving me errors. I'm doing so in the main game screen class final File dir = new File("img"); Random ...
0
votes
1answer
32 views

Double touch joysticks

I am developing a mobile game where I need to control main character in any direction using touch analog joystick (https://pineight.com/mw/images/6/6f/Ipoc_dpad.png). It's ok but I also want my ...
0
votes
0answers
16 views

Scene Kit select object and change color using .dae

I am developing 3D model using the Scene Kit. I have converted 3D model to .dae format and able to render via scene kit. Also I am able to tap on each of the objects in 3D model but when I change ...
0
votes
0answers
25 views

Tap issue in OpenGL

I am working with a 3D model, and wanted to tap an object when it's tilted. I have implemented tap, and it's working when the map isn't rotated, but when I tilt map with a two finger gesture and try ...
0
votes
1answer
34 views

How to change mute/unmute button?

I'm saving music in libgdx preference, the following code works perfectly but if you enter the settings again you'd see the initial button up regardless if the sound is muted or not. TextureAtlas ...
0
votes
1answer
38 views

Libgdx: How to leave the dialog visible?

setBtn.addListener(new ClickListener() { @Override public void clicked(InputEvent event, float x, float y) { final Dialog dialog = new Dialog("Settings", skin, "dialog") { ...
0
votes
2answers
66 views

Libgdx: How to replace texture with shaperenderer?

I have a method that creates rectangles, it takes a texture for (Rectangle rect : rect) { game.batch.draw(rectImage, rect.x, rect.y); } The texture is simple, I could just draw ...
0
votes
1answer
103 views

Load large .obj file

I am working with teh 3D model and I am uses the Scene Kit for rendeing and Model I/O for loading the obj file. It works perfectly fine for the small size of obj. But now I have 250MB of file and when ...
0
votes
1answer
54 views

What is the shader format for Metal shaders shipped with iOS applications?

I am interested in analyzing existing shaders implemented using Apple's Metal framework. From my previous experience on other platforms with OpenGL, I have found that applications sometimes bundle ...
1
vote
0answers
20 views

What strategies are best for managing Game Center and offline saves in the same app?

I have an iOS app for which I want to use the Game Center API for saving games. At the same time, I want to have the option to save multiple games on the local file system, using the familiar save-...
0
votes
1answer
18 views

When should iOS gamecenter authentication be called?

I'm integrating GameCenter leaderboards into my iOS game. The game has a home screen with a play and "High Scores" button, the game screen itself, and a finished screen with you score, another "High ...
0
votes
1answer
96 views

Handheld video playback pauses when going to the home screen

Put an MP4 movie in your StreamingAssets folder and play it with Handheld.PlayFullScreenMovie("MyMovie.mp4", Color.black, FullScreenMovieControlMode.CancelOnInput); Then, in the middle of the movie,...
0
votes
1answer
15 views

Are TestFlight apps the same as the finished product?

This may be an obvious question, but to me it is a little unclear. I built an app using PhoneGap. While testing with PhoneGap Desktop and the associated app it was pretty obvious that this was just a ...
0
votes
0answers
235 views

GoogleSignIn/GIDSignIn.h file not found

I've been hitting my head against a wall with this one for a couple of days now ... I'm a little new to Unity iOS development (and iOS development in general) and wanted to include a Google Play ...
0
votes
0answers
14 views

Make a test version of a project even if the version is already “waiting for review” in app store

I am new to game development, Unity3d and iOS. The issue is that I received the project files for our app(it is still live in the App store and playstore) from our contractor and I need to check if ...
0
votes
0answers
54 views

SIGABRT error when building Unity project in Xcode

I am trying to build a Unity project in Xcode. The build succeeds, but when it tries to run on an iPhone, I get an error: Thread 1: SIGABRT error on the following line of code in main.mm: ...
1
vote
0answers
15 views

Page transition a cocos2d scene to a UiViewController

My project is a cocos2d game project, but I added a UIViewController for the initial log in. The first scene is the splash logo, followed by the menu screen, but I need to pass to my UIViewController ...
0
votes
1answer
66 views

AdMob - my own impressions

I wanted to test my in-game ads and I forgot to add my device as a Test Device. My game is not yet in Google Play and App Store but I have 12 impressions on AdMob. What I have to do in this situation? ...
0
votes
0answers
81 views

Black image on splash screen

I'm having a problem with the splash screen for iOS. I'm getting a black image a second after I get the logo in the splash screen. How do I fix this? I´m using Unity 5.4.2. This is the configuration: ...
0
votes
1answer
182 views

Minimum hardware requirements for developing for iOS and Android with Unity, Cocos2d-x and GameSalad on a Mac

I intend to create iOS and Android games. My main priority is to create 2D games. The software that I’m planing to use are Unity, Cocos2d-x and GameSalad. I am a bit interest in the Mac Mini, ...
0
votes
0answers
47 views

while loop not being executed on iOS

So I have this code for showing an ad. It is supposed to pause the app while the ad is showing. It works on android but on iOS it doesn't even seem to be called, judging from the debug msgs shown in ...
1
vote
2answers
108 views

How to save a text file to relative Path

I'm creating an app that should be accessable from every platform (android, IOS, windows). At this moment I'm saving a file that is set to a specific path. c:\test\test.exe. Now I know that Android ...
1
vote
2answers
105 views

Do i host my app on google server?

So I have a app that I have been working on and I was wondering does Google/Apple host the server requirements for the multiplayer aspects of a app? If so does anyone know if its laggy or Smooth, or ...
0
votes
0answers
127 views

Unity 5 iOS 10.1 app stalls with Wifi IPv6 network

So in my recent apple review I got the following report : We also discovered one or more bugs in your app when reviewed on iPad and iPhone running iOS 10.0.3 on Wi-Fi connected to an IPv6 ...
1
vote
2answers
37 views

Upgrades in game with leaderboards? [closed]

I am working on an endless mobile game right now and I'm currently in the designing phase. Most (or all) mobile games especially endless ones now have leaderboards and a player's position in the board ...
1
vote
1answer
40 views

Slow down in the same time over different distances

I'm trying to slow down a object over different distances in the same time, say 3 seconds. My slow down code is. function lerpSpeed (speed: float, lerpSpeedTime: float) { ...
0
votes
1answer
75 views

Maze or puzzle algorithm for something similar to noodles

Not sure if anyone has played Noodles at all https://itunes.apple.com/gb/app/noodles!/id967624193?mt=8 but it is a simple puzzle game, that involves rotating tiles until they link up. The tiles are ...
0
votes
0answers
44 views

Is the touch position on Android and iOS the same?

There is a small difference in the touch position detected on my current Android device in reference to all the iOS devices I’ve tested so far. It is noticeable in the way that I need to touch the ...
1
vote
1answer
163 views

How to create and choose sprite sheet for different mobile screen resolution in Unity

Background We’re working on a 2D mobile game. We want to publish the game on all apple devices which at least support iOS 7 and to all android devices which at least support Android 4 OS. These ...
1
vote
0answers
197 views

Fatal error: unexpectedly found nil while unwrapping an Optional value [closed]

I am trying to run this code but I keep on getting this error: fatal error: unexpectedly found nil while unwrapping an Optional value I don't understand why I'm getting it. Any hint? import ...
1
vote
1answer
610 views

Why does Unity let you install iOS Build Support on Windows?

When installing Unity on a Windows machine, you are allowed to select "iOS Build Support" as one of the components to install. However, it is not possible to make an iOS build from Windows. Why is ...
0
votes
0answers
48 views

iOS: controlling size of assets designed in Cinema 4D when importing into Xcode?

A designer provided the attached two DAE files created in Cinema 4D. The characters in these DAE files are to be integrated into an iOS game. Both assets are of comparable size inside of Cinema 4D. ...
0
votes
0answers
36 views

Unity3d app immediately goes to background after starting up on iOS

So the iOS build of my game started doing this today and I have no idea why. The only think I can think of is that I added this line : Application.runInBackground = true; but this should not force ...
2
votes
0answers
29 views

First time working on 3D game: exporting steps after designer finishes 3D characters?

First time making a 3D game so could use advice. The designer is creating 3D characters with Cinema 4D (https://www.maxon.net/en/products/cinema-4d/overview/). What steps are required to go from his ...
0
votes
0answers
112 views

Calculate object position irrespective of camera orientation in augmented reality

Recently I am working on a game in iOS and trying to get a feature like Pokemon Go game where an object stays in a specific position and trying to find this object by camera view. So, I read some ...
1
vote
0answers
117 views

SpriteKit and Swift or Objective-C

As a newbie to iOS programming, I'm wondering which of these would be more conducive to the type of game I want to program. I've been tasked to program an iOS game for my company. They asked me to do ...
0
votes
0answers
105 views

How to post on Facebook with graph UI using LibGDX

I'm implementing FB share into my LibGDX made game, and finally got things to start working. When the "share on Facebook" button is clicked, if the user hasn't given permission, FB UI will ask for ...
0
votes
1answer
121 views

Xcode Build Errors Unity 4.7.2

These two errors are doing my head in. New to Xcode. So please advise thank you. FYI I did not touch or modify anything of the Xcode that was generated by Unity. Upon opening there is a warning that ...
0
votes
1answer
73 views

Unity and C# - Cube with random directions

I want to create a similar line RigidObject in Unity c# just like in the iOS game Circle: So far I placed a cube object that is extended by length. So, how would you approach to create such an ...
2
votes
2answers
283 views

How to play sound effects on iOS?

I have a game that plays sounds when some events occur. Currently, I am using AVAudioPlayer for the purpose of playing the sound. But just the bare AVAudioPlayer has a noticeable lag time before the ...