Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
0answers
72 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
1k 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 ...
2
votes
3answers
292 views

Do Google/Apple provide the multiplayer servers for an app themselves?

I have an app that I have been working on and I was wondering does Google/Apple host the server requirements for the multiplayer aspects of an app?
1
vote
2answers
50 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
74 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. ...
0
votes
1answer
296 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 ...
1
vote
1answer
968 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
678 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? ...
10
votes
1answer
12k 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 ...
1
vote
1answer
488 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 ...
0
votes
0answers
113 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 : ...
3
votes
0answers
34 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 ...
1
vote
1answer
417 views

SpriteKit and Swift or Objective-C [closed]

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
1answer
259 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
110 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 ...
5
votes
2answers
1k 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 ...
-5
votes
1answer
249 views

Should I patent game before putting it on Apple App Store?

If it's a huge hit, I could then patent it. Or, if I put my game up on App Stores before patenting, does this cause a problem? Would this invalidate a patent application? Should I bother to even ...
5
votes
1answer
1k 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 ...
1
vote
2answers
2k views

How can I create a “wireframe” texture for a sphere in SceneKit?

I've been struggling to figure this out. I would like to have a sphere in SceneKit that looks like this: I think the easiest way would be to create a mostly transparent texture with the wireframe ...
1
vote
0answers
82 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 ...
5
votes
1answer
3k views

How do I pixelate a scene with SceneKit and Metal, in Swift?

I managed to get pixelation working by using the OpenGLES2 rendering API, and a CIFilter. But it was way too slow, so I want to use the Metal API and just have a very simple filter that pixelates ...
1
vote
0answers
161 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 ...
2
votes
2answers
4k views

How do I know when the app is launched, loses focus and gets focus again on mobile?

I searched in Unity Documentation but there are no information. I'd like to know which methods is called and what it returns in the following scenarios on Android: App initially starts App goes in ...
-2
votes
1answer
609 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 ...
0
votes
1answer
81 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: ...
1
vote
0answers
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 ...
1
vote
0answers
618 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 ...
0
votes
2answers
139 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
1answer
147 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 ...
4
votes
1answer
3k 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 ...
4
votes
0answers
866 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 ...
-1
votes
1answer
1k views

How to enable/disble vibration feedback in Unity?

I want to create toggle that enable/disable vibration feedback on the device, as i can't figure it out. How do i do that? ...
1
vote
1answer
199 views

Making Bigger Touch Space in Node Using SpriteKit And Objective-C

I am trying to make simple game, but I have a problem. The node is too small. On iPhones with smaller screen size, the finger can't move it. On iPad and on simulator, however, the node can be moved ...
3
votes
0answers
266 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 ...
0
votes
1answer
990 views

Isometric scene in SpriteKit

I tried play with spritekit in isometric grid. But i can't understand how to fix level. ...
1
vote
0answers
464 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: ...
1
vote
0answers
459 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 ...
1
vote
1answer
199 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 ...
4
votes
2answers
482 views

How to determine contact bodies when multiple bodies overlap and a third makes contact with both at the same time

I understand how the below DidBeginConact function works, but how do you detect which categories make contact when you have multiple colored bars (in the example code) or a friend category and enemy ...
4
votes
2answers
1k views

How to add a bump map in scene kit?

I'm trying to draw an Earth, as I've found the textures in this site: http://planetpixelemporium.com/earth.html I loaded the diffuse, specular and bump maps: ...
2
votes
1answer
2k views

Is it possible to use Metal and SceneKit at the same time?

All the tutorials that I've found online speak about using Metal alone, without any other supporting library. But I don't understand if it's possible to create a SceneKit game and then use a Metal ...
1
vote
2answers
387 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 ...
0
votes
1answer
333 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
430 views

How can I describe a square in OpenGL ES 2.0?

I need to draw a Tic-Tac-Toe board in Xcode using OpenGL ES 2.0. I am new to graphics programming and can't find good information on drawing a square in opengl es in iOS. I looked at Ray's tutorials, ...
3
votes
1answer
515 views

How can I play user-provided music stored on the phone inside my game?

I am creating a car game. Is any way to play the music stored on the phone inside the game? I'd like the player to choose files that are already on their device and hear them played in the game. For ...
0
votes
0answers
469 views

Unity crash on iOS - GameObject.SendMessage()

Unity Version: 5.3.2p2 It's crashing from within Unity's internal code when doing a GameObject.SendMessage() call, it should be noted that this particular line itself is not the source of the crash (...
1
vote
1answer
6k views

Why is SCNNode.rotation property a four dimensional vector?

I don't understand why SCNNode's rotation property is a SCNVector4 instead of a SCNVector3. The documentation states that: The four-component rotation vector specifies the direction of the rotation ...
2
votes
1answer
255 views

Pathfinding: longest route along tiles of same type

I'm programming a simple tile-based puzzle game, and I've gotten stuck trying to work out a pathfinding algorithm. Here's how the game is set out: The game board is (arbitrarily) 8 tiles wide by 8 ...
0
votes
1answer
96 views

How could I access game data from a dev machine at runtime from a mobile platform?

When working on a game on a mobile platform, having read/write access to game data (assets, configuration files) stored on the dev machine at runtime would enable building of tools to quickly iterate, ...
1
vote
1answer
745 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 ...