Questions tagged [ios]

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

97 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
1 answer
2k views

Unity Capture And Display Live Camera Feed

I want to display the video using the device camera on specific part of the screen on iOS, android and Editor. I was able to find the WebCamTexture which display the camera video on the Quad (3D ...
user avatar
5 votes
1 answer
559 views

UIView with IrrlichtScene

i have a UIViewController in a Storyboard and want to draw a IrrlichtScene in this View Controller. My Code: WWSViewController.h ...
user avatar
4 votes
0 answers
886 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 ...
user avatar
4 votes
0 answers
246 views

Perspective correct texture mapping in iOS Metal

I tried various ways of getting the interpolation work and generate a perspective correct image, but none of the suggested ways works. My current code is: ...
user avatar
3 votes
2 answers
237 views

Facebook login using Godot 3.1 in iOS

In my game I have to integrate Facebook login. I searched about custom modules and all. I found one but it not working in ios and its for older version. Any help would be appreciated
user avatar
3 votes
0 answers
45 views

Apple App Store: Publish your game under your organization name

I am in the process of building a mobile game targeting Apple App Store. This is a co-op work done by me and my teammate. We do not want to publish the game under my personal Apple developer account, ...
user avatar
3 votes
0 answers
38 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 ...
user avatar
  • 141
3 votes
0 answers
296 views

How could I achieve an iOS high detailed level design for a platformer?

I'm seeing a lot of games that use a predefined and repeating set of tiles for their level (like FlappyBird or the Super Mario game series). I'm a graphics designer so I would like to create levels ...
user avatar
  • 131
2 votes
0 answers
49 views

How can we use an iPhone camera as a webcam on Windows?

I am developing a game on Windows and I want to use my iPhone 11p as a webcam (for video streaming). I saw some tutorial videos on YouTube, yet they only work for development on iOS platform in Unity. ...
user avatar
  • 121
2 votes
0 answers
448 views

Unity normal maps look wrong (URP, iOS)

We're building an AR-enabled app with Vuforia and Unity 2019.3, using the Universal Render Pipeline. Trouble is, on iOS our models that have normal maps in their materials look totally bad, as you ...
user avatar
2 votes
1 answer
617 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. <...
user avatar
2 votes
1 answer
677 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 ...
user avatar
  • 121
2 votes
0 answers
322 views

Difference between multiple AudioUnits and one AudioGraph with a MultiChannelMixer

I'm porting my game to iOS using MonoTouch, and I'm having some trouble getting sound output to work. SystemSound/AVAudioPlayer ...
user avatar
  • 13.2k
2 votes
1 answer
1k views

Xcode workspace with Unity3D as a sub-project?

Let's say we're developing a 2D game with Cocos2d-iPhone and UIKit and CoreAnimation. But we're also considering leveraging the 3D capabilities of Unity 3D. Is it possible that we add the Unity3D-...
user avatar
  • 121
1 vote
0 answers
51 views

In an Entity-Component-System architecture how should my map be represented?

I'm migrating a 2D game I've been making using only SpriteKit to an ECS architecture using GameplayKit, and I'm still a bit clueless on how to achieve this. I think I got the gist of ECS, but yet, I'...
user avatar
  • 11
1 vote
0 answers
104 views

How to work with PS5 DualSense's haptics on Mac OS or iOS?

FMOD's latest release a few weeks ago has some great new features for authoring haptics! Detailed Revision History discussing features. However, the features are only available on Windows, not Mac. ...
user avatar
1 vote
1 answer
241 views

How can I obtain the file size of a Unity build at runtime?

I'm wondering if it is possible to obtain the filesize of a game's build at runtime. Searching this topic only yields results for reducing the build size, which is not at all what I'm looking for.
user avatar
1 vote
0 answers
40 views

How can I remove sprites when they are outside viewport, but then add them again if I return to their location to save memory

I'm creating an open-world RPG like Neverwinter nights. But I’m worried about memory and am afraid if I just populate a huge world with physics based sprite nodes, I won't have any memory for anything ...
user avatar
  • 111
1 vote
0 answers
563 views

Unity IOS : Game crash in Facebook audience network while showing ad

I have integrated Facebook audience network for showing ads in my game. I show Interstitial Ads. Showing ads in ANDROID platform Successfully done but when i run my game on IOS it's getting crash ...
user avatar
1 vote
0 answers
70 views

What happens to deleted or added assets in your app when updating to a new version in the Google Play Store and iOS App Store?

So let's say I used Unity and built an app and uploaded it to the android and iOS app store, it is 100 MB and lots of people downloaded it. So now I want to update it to the newer version, however ...
user avatar
1 vote
0 answers
56 views

In GameCenter realtime multiplayer how to identify who is host?

In GameCenter real-time multiplayer how to identify who is a host?
user avatar
1 vote
0 answers
22 views

How to force Game Center submit score failure

What would cause a failure to report a score to a Game Center leaderboard? Currently, score reporting succeeds almost all the time, so I'm trying to force failure so I can fix it. The Game Center ...
user avatar
1 vote
0 answers
106 views

Custom Transparent Shader rendering order is wrong on iOS

In Unity Engine, I wrote a custom transparent shader(I use blend to achieve) for crystal effect and it's totally fine on Windows. However, when it's on iOS platform, the crystal always culls ...
user avatar
1 vote
0 answers
60 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 ...
user avatar
1 vote
0 answers
46 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 ...
user avatar
  • 129
1 vote
0 answers
203 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 ...
user avatar
1 vote
0 answers
361 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 ...
user avatar
1 vote
0 answers
19 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 ...
user avatar
  • 1,480
1 vote
0 answers
647 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 (....
user avatar
1 vote
0 answers
349 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 ...
user avatar
  • 111
1 vote
0 answers
92 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; ...
user avatar
1 vote
0 answers
60 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-...
user avatar
  • 111
1 vote
0 answers
104 views

TVOS SiriRemote micro pad value change handler is not called

I have a UIViewController which inherits from GCEventViewController and I register a value change handler for the GCController microPad Profile. But when I use the SiriRemote in the Simulator none of ...
user avatar
1 vote
0 answers
166 views

Black border all around simulation / viewport in iOS using Xamarin + CocosSharp

I'm just getting started with Xamarin and CocosSharp so it's possible I've missed something basic here.. but whatever it is I can't seem to figure it out. I'm trying to get my app/game to be ...
user avatar
  • 253
1 vote
0 answers
33 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 ...
user avatar
  • 261
1 vote
0 answers
499 views

Failed to pass uniform in Metal shader modifier

I'm trying to write a simple shader able to pass the color to be used for drawing in the fragment shader, through a uniform. I load the shader modifier and pass the uniform: ...
user avatar
1 vote
0 answers
576 views

Unreal Engine - How can I add blur effect at my Camera in iOS

I have requirement to add blur effect at my camera in specific point , it work just fine in pc but when I deploy in my phone it remove the effect According to documentation To turn off Depth of ...
user avatar
1 vote
1 answer
332 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 ...
user avatar
1 vote
0 answers
141 views

swift fast enumeration on MDLAsset not working

I load an MDLAsset from my main bundle and get an compile error when fast iterating the asset object. Type 'MDLAsset' does not conform to protocol 'SequenceType' ...
user avatar
1 vote
0 answers
73 views

SpriteKit Obj-C – How to add a force on a node a certain distance according to screen size

I have an SKSpriteNode that I'm trying to throw up to a certain point on the screen. I've tried applying an impulse and/or force according to the screen size, but that has strange results. I've also ...
user avatar
1 vote
0 answers
50 views

Black bar in beetween the image when Background move infinite

I'm trying to scroll my background forever and so I'm using the background image twice. When the first one goes off screen, it should relocate to the end of the second one. However, there seems to be ...
user avatar
  • 11
1 vote
0 answers
439 views

Symbol not found Error in Unity3d - IOS Buid in Xcode

I new to IOS build , when i try to build following error showing I using Unity 5.2.1f1 and Xcode 7.0.1(7A1001) . Previous unity version was 5.0.1 , in that version , same error was found thats ...
user avatar
1 vote
0 answers
636 views

How to parse HTTP response (JSONdata) in cocos2d-x

I am making a HTTP request to a server and I am getting data from the database. Now I want to parse the JSON data and get the data into variables like this: ...
user avatar
1 vote
0 answers
535 views

Implement ARToolkit SDK for Augmented reality for iOS application

I am actually new to Augmented Reality and I have to make a simple augmented reality app of rendering a 3d object over camera view in iOS (Not with Unity!). I have downloaded the ARToolKit and ...
user avatar
  • 111
1 vote
0 answers
548 views

Render cylinder tube along 3D Path

I'm working on a roller coaster game, and I have computed a function that represents the path of the track in the 3D space. Since the track will be tubular and will be dynamically generated(as opposed ...
user avatar
1 vote
0 answers
112 views

Turn Based Game Match Data in iOS

Hi I’m working on turn based game development using turn based API from Apple’s GameKit framework. My game is 2 player strategy game. Currently I’m facing the issue match data update on game play ...
user avatar
  • 121
1 vote
0 answers
600 views

touch mouseOver in createjs - DispatchEvent() not working in iPhone/iOS

I have recently developed an html5 game using createjs and I am currently in the testing phase. The game seems to work fine in all the devices except for the iPhone. After careful analysis I have come ...
user avatar
  • 11
1 vote
0 answers
452 views

Orientation of SKNode in followPath Swift

I'm developing a game like price wheel where I need to touch the correct answer. For now I find replies where people says: Set yScale of SKNode to -1. Or Set xScale of SKSpriteNode to xScale = ...
user avatar
  • 111
1 vote
0 answers
41 views

How to save characters in iOS game app

BOOL = GREENIE, UIButton =GREEN. When I click the GREEN button, I coded that now you play as GREENIE character. However, I don't know how to code it that the game always remember that the I clicked on ...
user avatar
  • 11
1 vote
0 answers
122 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 ...
user avatar