Questions tagged [ios]

iOS is an operating system for mobile devices created by Apple Inc. It runs on the iPhone, iPad, and iPod touch.

Filter by
Sorted by
Tagged with
0
votes
1answer
623 views

AdMob Rewarded Video Ads always shows same ad

I have integrated AdMob rewarded video ads in my iOS game. Currently, the game is in development stage and not released on the store. Currently, the fill rate is around 30%-40% and I always see the ...
1
vote
0answers
41 views

How can I check if someone bought a non-consumable product on iOS/Android? [duplicate]

In my application are 10 free levels, everyone can play them without doing in-app purchases. But if you want more levels, then you need to buy once a non-consumable product in the application. After ...
0
votes
2answers
60 views

How can I take ingame images and videos?

I’m using MonoGame and Visual Studio Community on my Mac to develop a game for iOS. I want to take ingame images and videos of the gameplay while the game is running on an iPhone/iPad. Afterwards, I ...
0
votes
1answer
286 views

How do I access device camera in GameMaker Studio 1.4?

I've looked everywhere in the documentation for GameMaker and I didn't find anything about how to access the camera.
0
votes
1answer
29 views

How to implement a Play As Guest feature on a mobile device using PhoneGap?

I have a Facebook Web Game that I converted to Android and iOS using PhoneGap. I can use Facebook for authentication on my mobile apps, but I would also like to allow the user to play as a guest. I've ...
0
votes
1answer
185 views

Send id<MTLTexture> from ios to unity

I'm writing a plugin for unity, I need to send a texture from ios to unity. There is a UnitySendMessage function which takes ...
1
vote
1answer
1k views

Record video and sound from device camera and show it as a texture

I need to record and show video from a real camera device in iOS/Unity and show that video as a texture in RawImage (Image of what I want) What I have tried so far: Unity WebCamTexture API: It ...
0
votes
1answer
174 views

How does an iOS developer get his app/game on the AppStores main page?

I was looking at the front page of the AppStore, and they display a new game and a new app every day. I was just curious, how does an iPhone developer get their game or app onto that front page? Does ...
2
votes
1answer
124 views

Calculating the difference between two numbers using exponential growth

I think this is a very basic game programming question, but I am bad with math and new to programming & game programming so I'm looking for some advice. I'm making a 2D sprite game for iOS. Every ...
1
vote
0answers
49 views

IOS Keyboard as Gamepad in unity

So I’ve been messing around in unity lately, and I got a vr headset to mess around as as well(google cardboard). I also want to make my own controller to use with this. To achieve this, I want to use ...
1
vote
2answers
71 views

iOS unity game was ~60mb on testflight but now its +400mb on release, why is that ?

I really have nothing else to add except that bitcode wasn't enabled, the same game was ~60Mb when we were testing it with TestFlight, after uploading it to the store the game just became 422Mb, why ...
1
vote
0answers
34 views

Reliability of Google Analytics data

I have developed an iOS game and currently the game is in beta phase. I have integrated Google Analytics (GA) to understand the users' behavior. I am distributing the game to my beta testers using ...
1
vote
1answer
190 views

Bad Viewports Using Unity with Google Cardboard VR on iOS

I'm using unity 2017.3.1f1, building for an iPhone SE. I'm able to build the google HelloVR scene, available from the Google Cardboard VR unity package. However, in the end result, the cameras are ...
1
vote
1answer
692 views

iOS 9.3.5 WebSocket connection always closes with code 1006

I'm working on an app that uses a LabVIEW implemented server on the backend that is proxied via apache. It works great on desktops and android devices but on iPhone and iPad the websocket connection ...
0
votes
1answer
80 views

How to move in between grid in crossword game

I am trying to create crossword game in my current app. As my current project is in iOS native so I wanted to implement this game only in UIKit so that it can be easily integrated. Requirement i ...
4
votes
1answer
72 views

How can I simulate a crash of OpenGL in GLKViewController to help track down a user's problem?

I am using GLKViewController for iOS app. On some devices, there are problems (possibly with OpenGL), that I am unable to solve, because I dont see this problem on ...
0
votes
1answer
431 views

How to change pre-splash image for iOS?

When I launched my game on my iPad, the screen first displayed a faulty splash image with a black lower half momentarily, before displaying the normal splash image. No matter what I tried, I couldn't ...
1
vote
0answers
179 views

Using a MTLTexture as the environment map of a SCNScene

I want to set a MTLTexture object as the environment map of a scene, as it seems to be possible according to the documentation. I can set the environment map to be ...
2
votes
1answer
2k views

Get the up vector of the camera in ARKit

I'm trying to get the four vectors that make up the boundaries of the frustum in ARKit, and the solution I came up with is as follows: Find the field of view angles of the camera Then find the ...
1
vote
1answer
169 views

How can I make a sprite slow down to the speed of another sprite while following it?

I'm making a SpriteKit game where two SpriteNodes are in a maze. That maze is represented as a grid. One sprite (A) travels faster than the other (B). Items randomly pop up, and the sprites have to ...
0
votes
1answer
112 views

How to read a data from multiple selected text files in unity

This question is based off of a previous one. How to read a data from text file in unity But I cant get the code to work for my purpose. I want to be able to choose which CSV files needs to be ...
6
votes
1answer
715 views

Surprisingly, in SpriteKit game engine, “deltaTime” is not frame time?

In Apple's cocos-like 2D enginer, SpriteKit, they have what they call a custom field: ...
1
vote
1answer
2k views

Can't Unity draw fine and smooth line?

I'm working on drawing lines in Unity, but find there is no way to draw clear, fine and smooth line in Unity, neither ...
0
votes
0answers
1k views

Is built-in checking Android/iOS permissions on runtime possible?

I have a game with some levels, coded to both Android and iOS. One of the levels late in the game uses a ...
1
vote
1answer
100 views

Does Apple allow different versions of the same game on the App Store tailored for different regions?

We are currently in negotiations with a Chinese company to give them the right to re-sell our game in the Asia region. Now for the Android version they want to sell it trough their website because ...
1
vote
2answers
2k views

Typedef redefinition error when running Unity iOS project in Xcode 9 simulator

I was able to run my Unity 2017.1.0b10 iOS project successfully on my iPhone 6S+ (Using Xcode 9). I changed the Target SDK to ...
3
votes
1answer
4k views

How to add the iPhone X screen dimensions to the mix of different iPhone screen sizes

Generally for Unity I design all my artwork in Illustrator. So I start off with 1440x1920 (for portrait games) and outline a red frame of 1080x1920. So everything that fits well within the 1080x1920 ...
0
votes
0answers
81 views

if the player moves in the real world the game object also want to move

I am creating an iOS game. It's my first experience in iOS. I am facing an issue in player movement. If the player moves in the real world this means the game object (character in the game) also wants ...
2
votes
2answers
456 views

IOS very simple 2d engine/api rendering showdown [closed]

So after taking some time running through a course, I believe I have enough experience with referring back to the course how to make the game I wish to all apart from one thing. How to draw the game ...
0
votes
1answer
827 views

Fixed camera rotate to follow character

I have a camera in a fixed position in the middle of a field, and I would like to rotate the camera to follow the character as it moves around. There is no point lower than the camera, but I would ...
0
votes
1answer
132 views

Is it possible for a particle to have an infinite lifespan in SceneKit?

I'm trying to do an experiment where the user creates particles when they touch the screen, and then the particles just stay in place, only dying in collision. I'm wondering if it would be possible to ...
1
vote
0answers
324 views

One SKSpriteNode with multiple PhysicsBodies?

I am making a game similar to Lunar Lander, when you land with your ship on different objects, etc... The issue I am having is that I have a Player SKSpriteNode (my Ship) with a slightly complex ...
2
votes
1answer
490 views

How do I apply touches to images, using Swift?

I need code this game for iOS, using Swift; but I don't know how to apply touches to images, using Swift. My attempts thus far have failed; touch!.view != image. <...
1
vote
0answers
14 views

iOS 8 iPad Mini Orientation thinks It should be landscape despite it being disabled

I've only enabled portrait mode in the info.plist and generally the iPad Mini running my game works fine except if I quickly change its physical orientation from landscape to portrait, the app ...
1
vote
0answers
515 views

arm64 architecture issue in Unity iOS plugin

I am trying to use the iOS version of ORB_SLAM2 (https://github.com/ygx2011/ORB_SLAM2-IOS) as a plugin to a Unity (Unity 5.5) project. To be able to use this as a plugin, I created a static library (....
1
vote
0answers
313 views

Swift Spritekit: Create realistic driving sprite

How would I go by creating a realistic driving experience? I'm using iOS Swift 3 with SpriteKit using the functions applyForce to accelerate when I click the gas button and when braking I add ...
0
votes
1answer
1k views

udp over cellular networks? [closed]

I'm starting to build a multiplayer iOS game using UDP. I want the game to be playable over cellular networks, but I can't really find that much information on it. Many people say that it's dependent ...
3
votes
1answer
386 views

How do I check if an iOS subscription is active?

How do I check if an iOS subscription is active? Subscriptions are the only type of purchase available; however, there are several subscription lengths. I have scoured the internet, but all I can ...
-1
votes
1answer
1k views

How do I play local user-provided audio files on an Android or iOS device? [duplicate]

I'd like to allow a user to select a path to local audio files, in Android and iOS devices. Is there a way I could provide a list of available songs, in Android or iOS devices, so the user could pick ...
1
vote
0answers
88 views

Unity 5.5 and Parse 1.7.0 on iOS 64-bit

We are using Unity 5.5 and Parse 1.7.0 (and Firebase for notifications) which doesn't have "Parse.Unity.dll" and while on Editor everything is working fine but when we build using "IL2CPP" on iOS; ...
1
vote
1answer
481 views

2D Infinite scrolling terrain on two axes

There seems to be a lot of posts about endlessly scrolling backgrounds on one axis, but not much for a 2-axis solution. As Josh Petrie suggested, I'm posting my approach as an answer to see if anyone ...
1
vote
1answer
168 views

Why is Unity 5.6 displaying launch image wrong on iOS?

I updated from Unity 5.5.0p3 to 5.6.0f3, and I have no idea what's causing this. The iOS launch image which looked like this: Now looks like this:
1
vote
1answer
991 views

GL_CLAMP_TO_BORDER - OpenGL ES 3

W want to use GL_CLAMP_TO_BORDER in my GL ES 3 app. Based on documentation (https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexParameter.xhtml), it ...
1
vote
1answer
973 views

In iOS, where/how to do a back button?

Edit: To sum up my question, what is the established back gesture for iOS games (when no pause button exists)? I have a block puzzle game, square grid, and some levels fill up the whole screen with ...
6
votes
1answer
714 views

Train-like movement in a 2D game

I am developing a 2D game using Cocos2d-X in C++ language. In my game, I need to implement train movement. Here is the image about the output I want to achieve: I tried to do the above moment using ...
0
votes
0answers
171 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 ...
2
votes
1answer
653 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
1answer
1k 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 ...
0
votes
1answer
545 views

Libgdx: Aligning buttons inside dialog

I have the following dialog, semi circle shape. I want to position buttons in it. ...
0
votes
2answers
954 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 ...

1
2
3 4 5
14