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
1
vote
0answers
830 views

How to properly multi-thread my game loop?

I am trying to implementing multi-threaded game loop in iOS. (Actually, two thread - Render and Update) This is my structure. Update Loop Has logic and at the end of loop, save update state. (...
3
votes
1answer
7k views

What game engines can publish to Android and iOS? [closed]

I am about to start on a project which, at a minimum, will release to Android and iOS. Are there any game engines, other than Unity, which can publish to both? I fear that Unity might contain more ...
2
votes
3answers
4k views

Cross-platform, free (for commercial use) C/C++ 2d game library or rendering engine? [closed]

I need a C/C++ engine that should be really cross platform (or at least windows, android, and iphone). The 2d engine should be written in C or (better) C++, should permit the rendering of animated ...
10
votes
5answers
5k views

Developing for iOS on Linux [closed]

I am looking for an engine or library to develop a game for iOS on Linux. High level, low level, GUI, no GUI, does not matter too much. I am really looking for anything. I'm not actually talking ...
1
vote
2answers
424 views

How do I create an in-app update for a mobile game?

I'm researching how to make an in app update on mobile game. When there is a hotfix, or an update, I don't want users to have to go to Play store, or App Store to update, but rather for them to ...
3
votes
1answer
682 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 ...
-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 ...
-3
votes
1answer
2k views

Which game engine does “Ridiculous Fishing”(iOS) use? [closed]

Does it use game engine or just c++ libs? Its UI is concise and smooth.
10
votes
2answers
2k views

Does SpriteKit follow the MVC pattern?

I am currently working on an iOS project called Old Frank that I have been trying to follow a MVC design pattern. The gist of it is. ...
1
vote
0answers
91 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; ...
2
votes
3answers
314 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?
3
votes
1answer
1k views

Offset a camera/render without changing perspective

I need to offset a render so that the perspective / vanishing point doesn't change. Or another way to look at it is that I need to adjust the vanishing point in my view so that instead of being at 0,...
-2
votes
2answers
350 views

iOS Game Development on PC? [duplicate]

Possible Duplicate: Can we develop a game for iPhone on Windows platform? Are there any available game engines that I could use to develop on Windows instead of on Mac? I'm aware there is XCode ...
20
votes
5answers
7k views

When should you roll your own game engine? [closed]

I've been a software developer for 5 years, now, and I am wanting to get into iOS game development. I've played around with the iOS SDK for about 2 years, attending cocoaheads meetings, and I feel I ...
1
vote
1answer
2k 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 ...
0
votes
1answer
406 views

How useful would it be to know a scripting language when developing an iOS game? [duplicate]

Possible Duplicate: Why do we use scripts in development? I just starting learning iOS game development. I plan to make games using the cocos2d framework. While reading game dev related articles, ...
1
vote
2answers
728 views

How can I get almost pixel perfect collision detection in a multiplayer game?

I'm currently working on a multiplayer game for iPhone. The problem I have, as with all multiplayer games, is that the other user will always see everything at a non-constant delay. The game I'm ...
1
vote
2answers
1k 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
1answer
1k 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
2answers
486 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 ...
2
votes
1answer
772 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
0answers
190 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 ...
3
votes
1answer
893 views

How can I load a large tile map with cocos2d?

I am try to design a cocos2d game with a big world. The world's tile map is very big, maybe 20 iPad screen sizes worth of tiles. I want to know how to load this using a ...
4
votes
1answer
4k views

Unity apple/google ID access?

After extensive Googleing I have not come up with a way to access Apple ID's or Google ID's from unity running in respective devices. Either ID's or something else unique to the accounts logged in. I ...
1
vote
1answer
225 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 ...
0
votes
1answer
627 views

Libgdx: Aligning buttons inside dialog

I have the following dialog, semi circle shape. I want to position buttons in it. ...
0
votes
2answers
1k 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 ...
0
votes
2answers
505 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 ...
0
votes
1answer
80 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
1answer
877 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 ...
0
votes
1answer
435 views
0
votes
1answer
101 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
1answer
632 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 ...
0
votes
1answer
330 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 ...
1
vote
0answers
53 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-...
3
votes
1answer
833 views

Sprite orbiting on a point

I was wondering how to make a Sprite do an orbit on a determinated point in SpriteKit. I tried to set the anchorPoint of the Sprite orbiting with the center point ...
4
votes
2answers
588 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 ...
3
votes
1answer
245 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 ...
1
vote
2answers
989 views

Swift - How do I detect the exact point at which two “SKPhysicsBody(edgeFromPoint:” type physics bodies intersect in sprite kit

I have two physics bodies attached to two separate sprite nodes using Sprit Kit. One is a vertical line and one is a horizontal line: ...
0
votes
1answer
152 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. ...
5
votes
1answer
4k 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 ...
0
votes
1answer
3k 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
76 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 ...
16
votes
6answers
6k views

Can I develop games for mobile platforms in C++?

I have a good grasp in C++ and C and have also experience developing AAA game using C++. Now, I'm shamelessly thinking to dive into mobile game development either in iOS or Android. Unfortunately, I ...
1
vote
2answers
2k 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 ...
5
votes
2answers
3k views

My game is mostly complete, how do I find a publisher?

I've been working for quite a while on a game. I'm mostly done with it. Simply finishing the project, adding banners and just publishing it on google play / appstore probably won't bring in any ...
1
vote
2answers
51 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
78 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
483 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 2 3
4
5
14