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
2
votes
3answers
389 views

Optimizing graphics for an iOS flash game

A friend of mine and myself are working on a flash developed iOS (and later Android) puzzle board game. He's a developer and I'm a designer/developer so (no surprise) we have different points of view. ...
2
votes
2answers
2k views

Simulating a 3D body with a skeleton in iOS

I would like to make an iOS application that simulates a 3D body with joints and bones, but I am not sure how to do that. The aim of the app is that you can move its arms around and throw it around (x ...
2
votes
2answers
2k views

Is it true that to test a game on the iPhone or iPad, we either need to pay $99 to join Apple Developer program, or jailbreak the iPad?

To test a program for iPhone or iPad, seems like the only way is to join the Apple Developer program and pay $99 per year? Can you also jailbreak the iPhone or iPad and be able to test it?
2
votes
1answer
174 views

iOS Game that Runs Continuously in Background

I'm trying to understand the most logical way of creating an iOS game that runs continuously in the background. For example.. you have tower and enemy waves. The game has endless enemy waves even ...
2
votes
2answers
543 views

Minimum target iOS version for games

I have noticed lately on the App Store many games have been updated to require a minimum of iOS 4.3 to run thus eliminating support for 2nd gen devices (iPod Touch 2nd gen and iPhone 3G). It is now ...
2
votes
2answers
3k views

Sync clocks on a real time multiplayer game - Is this ok?

I'm developing a multiplayer game through Gamecenter in unity with prime31 plugin. This is how I sync the clocks of the two players (right now there will only be 2 player in one match), and I wanted ...
2
votes
1answer
3k views

Game Development at iOS, Android and PC with OpenGL ES

I'm beginning iOS apps development, and my aim is to make games to launch on App Store. But I want to know if it's possible to program a game on Xcode with OpenGL ES (C++ game logic), integrate it on ...
2
votes
2answers
5k views

What is the proper use of CADisplayLink, and where do I put game logic?

I have an iOS OpenGL ES 2.0 game and currently have a CADisplayLink with a :render method. In this render method I do all the game's logic updates and drawing. Is this correct? Or should my game ...
2
votes
3answers
847 views

Objective-C or C++ of game engine header file for iOS developers?

We've developed a game engine written in C++. Now we are preparing our game engine for iOS developers. I guess that many game developers use C++ or Objective-C for their game apps. So I think we ...
2
votes
3answers
1k views

How do I make a turn based game for two players who play with different devices on iOS?

I only have experience in physics-based games in cocos2d. I want to develop a turn-based game in Cocoa Touch (iOS). Two players will play this game on different devices which connect via Bluetooth or ...
2
votes
1answer
3k views

Bodies are colliding but refusing to rotate in Box2D

I'm running box2d in C++ and hooking it up to C# via p/invoke. All physics stuff occurs in C++. My problem is that bodes know when they are colliding and do so with great precision. However if I have ...
2
votes
2answers
983 views

HIGH energy consumption in Empty Scene Unity iOS

I am struggling from quite long about this issue where I am having High Energy Impact in Unity 2019.2.16f1 on iOS platform and it doesn't matter which device I am using. It occurs on iPhone6 to ...
2
votes
1answer
138 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 ...
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 ...
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 ...
2
votes
1answer
298 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 ...
2
votes
1answer
2k views

iOS Sprite Kit - Blend Mode Effect

This question builds upon the following question: How can I achieve a good fire effect with alpha blending and particles? I want to achieve the visual effect of using ...
2
votes
2answers
262 views

What are the pros. and cons. of different representations a custom geometry format for a mobile based engine?

I am trying to create 3D model importer for my mobile based engine. These are what I am considering: Convert .obj file to text based structure like JSON or custom. So, basically, convert .obj file ...
2
votes
1answer
130 views

How do I make my iOS game free for users who 'like' it on Facebook?

I've seen a game for free on iOS when the user 'likes' a page. Though it appears the promotion was run by Apple, not the developers of the game being given away. How can I make my game free for a ...
2
votes
1answer
375 views

Adapting motion controls to changes in the player's orientation

I am using gyroscope data (pitch, roll) to move the player's space ship. It works perfectly as long as you play in a standard position (e.g. sitting down). Once you start using it lying down (e.g. ...
2
votes
1answer
1k views

How to create a 2D ocean effect in cocos2dx and box2d for iphone, android, windows phones

Currently my game needs a top ocean view. Can this ocean effect done using box2d? or should I dive into write my own physics (liquid/water simulation). Ideas and suggestions are welcome.
2
votes
1answer
512 views

Displaying animations during loading screens

Games like Karateka (which uses UDK) seem to be able to asynchronously load GL assets as well as display animation. The splash is incredibly short, then presumably their glView shows up. I can think ...
2
votes
1answer
2k views

iOS game integrated with Facebook - Random game

How could I implement a random game for iOS via Facebook. I registered my game with Facebook and done everything so far... Can Facebook do such a thing? EDIT I connected my app to Facebook, I can ...
2
votes
2answers
1k views

Multiplayer game sdk for ios and android [closed]

I am working on a multiplayer game supporting Android and IOS. For IOS Game-Center seems promising. But its IOS only. OpenFeint could be a option, but now GREE has stopped supporting it. Is there ...
2
votes
1answer
714 views

Bad FPS for smaller size (OpenGL ES with SDL)

If you saw my other question, well, there is still a little problem: Click here to watch on youtube Basically, the frame rate is very bad on the actual device, where for some reason the animation is ...
2
votes
3answers
494 views

How to store and update data table on client side (iOS MMO)

Currently I'm developing an iOS MMO game with cocos2d-x. The game depends on many data tables (Excel file) given by the designers. These tables contain data like how much gold/crystal will be cost ...
2
votes
1answer
2k views

OpenGL ES 2 - glSwapBuffers?

this is what i do to blit FBO onto screen in ViewController: [m_Context presentRenderbuffer:GL_RENDERBUFFER]; but i need something like glSwapBuffers, so that ...
2
votes
1answer
820 views

How to use Kobold2D/Cocos2D to create a turn-based iOS 5 Game Center game?

I've searched for information on this, but cannot find it, is this not something you can do yet with Kobold2D/Cocos2D? or are there options I've missed?
2
votes
2answers
856 views

Efficient Bullet Firing Class

I've been struggling with this for a while. I have been trying to create a bullet pool class for a game I have made that doesn't cause a significant fps drop. I have tried creating a bullet pool ...
2
votes
1answer
4k views

Does CADisplayLink automatically control the app's timestep?

I'm writing an iOS game that uses OpenGL ES 2.0. I have my 'OpenGLView' which contains a ...
2
votes
1answer
384 views

Are mobile devices a viable platform/market for “User-Generated Content”-based games?

I intend to do a lot of research into this, but I know this community has a knack for delivering hard-to-find gems of knowledge, so I figured I'd ask here first. Preamble (My Situation) I'm ...
2
votes
2answers
1k views

OpenGL ES on iOS Books [closed]

I was wondering if someone has read both the: iPhone 3D Programming And OpenGL ES 2.0 books and have an opinion if one is better than the other? I'm basically wanting to get into doing 3D ...
2
votes
2answers
1k views

What are the basics in game architecture? How do you create your game skeleton such that it doesn't stay in your way?

There must be some best practices on how you create your game architecture/skeleton. One of the best resources that I found is: http://cowboyprogramming.com/2007/01/05/evolve-your-heirachy/ My ...
2
votes
1answer
676 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 ...
2
votes
2answers
5k 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
1k views

Collisions between sprites in SpriteKit

I'm making a game in XCode using SpriteKit. The game has a player and different types of projectiles that he has to avoid. When the player collides with the projectiles, the score changes and the ...
2
votes
2answers
411 views

Data model design using Core Data and Spritekit

I have a entity called Item, and every item can have two or three bonuses... What would be a good model design in this situation. I can think of something like: To have many optional attributes ...
2
votes
1answer
855 views

Viewport Pixels trouble - Intel XDK

I'm creating a game in Intel XDK, and using their API to get the viewport width and height. These are coming back at 1122 pixels and 746 pixels, respectively. When adding my text at 150 pixels down ...
2
votes
2answers
481 views

Adding an angle variance to a 3d vector

I am converting a particle emitter from 2d to 3d. In the 2d system the original coder used a random angle variance and added it to the angle. So it would be something like: ...
2
votes
2answers
690 views

Cocos2d: Moving background on update: offsett issue

working with Objective C, iOS and Cocos2d I am developing a vertical scrolling shooter game for iPhone (retina display models with 640 width x 960 height pixel resolution). My basic algorithm works ...
2
votes
3answers
349 views

OOP in cocos2d for ios

I have been pulling my hair out trying to make an object in cocos 2d that is a CCSprite (with an image) and a CCLabelBMFont. I tried making a CCNode object and I tried making a custom CCSprite object ...
2
votes
1answer
995 views

How do I run an iPhone GameSalad App on an iOS Device?

I have made a simple game application with GameSalad . It runs fine in the iPhone simulator after loading the GameSalad Viewer but doesn't work in the device as it gives a code signing error. If I ...
2
votes
1answer
2k views

GLSL Shader Solution for Ambient Occlusion?

For the iOS app I am writing I want to incorporate some aspects of ambient occlusion for photo manipulation. Can someone suggest a GLSL approach that will work. Realtime performance is not super ...
2
votes
2answers
647 views

What are my tool options to prototype a 2D online multiplayer game? [closed]

I'm looking for the best tool to allow me to quickly put together a 2D game that relies largely on networking. It's extremely likely that this game will require a server side program to constantly run....
2
votes
1answer
2k views

Which is better for mobile games, PNG or SVG? [closed]

I want to make several 2D games for mobile platforms, mainly using Qt for iOS, Android, Symbian, MeeGo and whatever supported by Qt. I've made one game already using PNGs. Now I'm thinking of making ...
2
votes
1answer
828 views

Moving a big set of box2d bodies in an iOS endless side-scroller game (such as Canabalt)

I am working on an iOS endless-running game (Robot Unicorn, Canabalt, etc). I'm using box2d for the Physics and Collision Checking and cocos2d for graphics. To achieve the notion of an endless level, ...
2
votes
1answer
76 views

A ball hits the corner slightly, where will it deflect?

I am currently making an iOS Game but I have a small problem. The game is simply a ball which you can control to avoid obstacles and find the food. When the ball hits, e.g. the top or the bottom of an ...
2
votes
2answers
927 views

Unity NGUI Arial Label looks different in iOS after updating Unity to 5.1.1

I am using NGUI and I have a UILabel. It uses Unity dynamic font Arial. Bold. No effects. This is how it looks in the Unity editor: And that's how I want it to look. When I build it in iOS, it looks ...
2
votes
2answers
67 views

How can I add an impulse to specific rigid bodies at rest?

Scenario Rocks falling down a rocky slope, with a flat surface at the bottom. When they land on the surface, the rocks move slightly before coming to a rest. ...
2
votes
1answer
1k views

Spritebuilder and CCScrollView, page indicators not showing up?

I'm using Spritebuilder to make my game, and CCScrollView usually saves me quite a bit of time. I'm trying to implement the scroll view much in the same way as the home screen on an iphone uses the ...

1
3 4
5
6 7
14