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

learn more… | top users | synonyms

3
votes
2answers
405 views

Separating UI and logic in Objective-C at iOS based Games

How to separate UI and logic in Objective-C based mobile games? To develop games, I use Cocos2d library. I need a good reference to separate my UI code from game logic code.
4
votes
3answers
686 views

What technology would you use to communicate between an iOS game and a Lua-based AI server?

What technology would you use to communicate between a two-player,turn-based, board game (like checkers or Othello) running native on iOS, and a remote game server The remote game server is just the ...
10
votes
5answers
4k views

Developing for iOS on Linux

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 ...
0
votes
1answer
185 views

Copies of GameScene created when called additional times

UPDATE: It no longer crashes after removing [self removeAllChildrenWithCleanup:YES]; from onExit. The artifacts still remain though. UPDATE 2: Found my problems. See my answer below. I have a game ...
1
vote
1answer
152 views

Is it normal to these Xcode prompts/errors when you deploy to IOS Simulator from Unity?

Just trying out the IOS build process.... Is it normal to see: Q1 - "upgrade to latest project format - project currently in Xcode 3.1 format, this will upgrade to 3.2" - just click OK and let Xcode ...
1
vote
0answers
248 views

How do I use Objective-C libraries in Cocos2d-x?

We've created several libraries in Objective-C in the past, and now we're moving to the Cocos2d-x game engine. We can't figure out how to reference and use those libraries (we've also tried compiling ...
0
votes
1answer
139 views

Make game for iPhone only [closed]

From the beginning of development on my game I was hoping to release it as a universal app, but the gameplay simply doesn't work as well on the iPad. Also, it was designed to work on the iPhone ...
1
vote
3answers
2k views

How do I repeat a texture with GLKit?

I am using GLKit in order to show textures on my project. The code is like this: -(void)setTextureImage:(UIImage *)image { NSError *error; texture = [GLKTextureLoader ...
2
votes
3answers
268 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
629 views

Directional Lights

I'm working on a game idea (2D) that needs directional lights. Basically I want to add light sources that can be moved and the light rays interact with the other bodies on the scene. What I'm doing ...
10
votes
2answers
572 views

$0.99 or Free with Virtual goods - Revenue Model for mobile games

I'm trying to decide between a paid game and a free to play game. Is there research on the pros and cons of each one. I would really appreciate some concrete data on this and not just opinions. This ...
4
votes
2answers
554 views

How Do I Raycast for a Spherical Harmonic Shader Using the iOS GPU?

I am beginning an Spherical Harmonics shader project for an iOS app I am writing. I have begun by reading this excellent in-depth paper on the subject (PDF) - http://bit.ly/aQmax3. The paper ...
1
vote
1answer
273 views

Drawing application on OpenGL for iOS (iPad) [closed]

Some help is needed. I'm developing drawing application on OpenGL (deployment target 4.0) for iOS (iPad). We have 3 drawing tools: pen, marker (with alfa) and eraser. I apply drawing with textures ...
2
votes
2answers
1k views

Can I use PBOs for textures in iOS?

As far as I can see, there is no GL_PIXEL_UNPACK_BUFFER. Also, the OpenGL ES 2.0 specification (and as far as I know, no iOS device currently supports OpenGL ES > 2.0) states that glMapBufferOES() can ...
5
votes
1answer
234 views

Has anyone tried using one of those BAAS providers to create mobile games?

I'm hearing a lot about different companies offering back-end as a service (BAAS) for mobile apps but it seems like none of them are very successful with mobile games. Is there any reason why not ...
0
votes
2answers
559 views

Sprite Animation Toolkits for iPhone

Does anyone know of any good (and preferably free) Sprite Animation Toolkits/Libraries for iOS development? This library should be able to handle the collision detection and the movement of the ...
0
votes
2answers
585 views

Lua GameDev iOS - Code on win and mac

I am searching for a simple framework like http://getmoai.com where you can simply code a game in lua for iOS. I want to build it along with a friend. I am using a Mac, he prefers windows so the fw ...
1
vote
0answers
100 views

colliding btRigidBody objects behave strangely when moving slowly

I'm trying to use Bullet Physics in my iOS game. The engine appears to be correctly compiled in that the demos work fine. In my game I have the player's ship and some enemy ships. They're defined as ...
3
votes
3answers
1k views

MonoGame for iOS - getting started [closed]

I can't find any clear directions on how to get started. I only see a Windows installer for MonoGame but what little documentation I've found seems to say you install it on the Mac and do the work ...
0
votes
1answer
76 views

Where do you put assets on iOS 5.1 apps?

I'm starting with iOS 5.1 and I'm trying to figure out how to download/and load asset files to the iPad, such as sprites and sounds. Previously I think I packed them into a .xib file for iOS 3, ...
1
vote
1answer
584 views

How to make a Sprite using CoreGraphics iOS - Cocos2d-iPhone

I'm trying to make a sprite that uses the graphics that are made with core graphics. I cant seem to find anything to explain how to make shapes using core graphics to create a sprite to use in ...
7
votes
2answers
917 views

What is the correct way to implement hit detection with non-rectangular sprites?

What is the correct way to implement hit or touch detection for non-rectangular sprites in Cocos2d? I am working on a jigsaw puzzle, so our sprites have some strange forms (jigsaw puzzle bricks). As ...
1
vote
2answers
118 views

Threading iPhone

Say I have a group of large meshes that I have to intersect rays against. Assume also, for whatever reason, I cannot further simplify/reduce poly check count by spatial subdivisioning. I can do this ...
1
vote
3answers
375 views

2D Physics in a networked game (iOS)?

I am researching the possibilities for a new iOS game. It's going to be a run-n-gun type platformer, and I'm looking into the possibility of co-op multiplayer. The game itself wouldn't be very ...
12
votes
3answers
806 views

How to decide how much to charge for development?

So two other friends and I are a very small game dev studio. So far we haven't released a game but we have 2 games almost ready to launch. A bigger studio saw our work and now they want to work with ...
4
votes
1answer
745 views

Updating games for iOS 6 and new iPhone/iPod Touch

Say I have a game that runs full-screen on iPhone 4S and older devices. The balance of the game is just right for the 480 x 320 screen and associated aspect ratio. Now I want to update my game to run ...
16
votes
5answers
3k 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 ...
3
votes
2answers
2k views

Dynamic libraries are not allowed on iOS but what about this?

I'm currently using LuaJIT and its FFI interface to call C functions from LUA scripts. What FFI does is to look at dynamic libraries' exported symbols and let the developer use it directly form LUA. ...
5
votes
1answer
653 views

iOS Game Center - Quit turn-based games for previous version of app

I have a game on the iOS App Store that uses Game Center for turn-based multiplayer (GKTurnBasedMatch). I recently updated the app with a new game mode and I had to change the network protocol for ...
3
votes
1answer
1k views

Correct use of VAO's in OpenGL ES2 for iOS?

I'm migrating to OpenGL ES2 for one of my iOS projects, and I'm having trouble to get any geometry to render successfully. Here's where I'm setting up the VAO rendering: void bindVAO(int ...
0
votes
1answer
406 views

Keeping the CCSprite on the screen

In my cocos2d app I have a CCSprite moving on the screen but it moves off the screen. How can I prevent the CCSprite from moving off the screen? Thanks
1
vote
1answer
530 views

Unit Testing with Cocos2D

How to implement Unit Testing with Cocos2D framework? What are the good practices? Is there any testing framework like JUnit Framework at Eclipse for Android?
2
votes
1answer
296 views

CLR Profiler Allocated Bytes and XNA ContentManager

I've been fighting with XNA ContentManager and memory allocations for some weeks because I'm trying to port my game from XNA (Windows) to ExEn / Monotouch (iphone). The problem is that after playing ...
15
votes
5answers
17k views

Objective-C or C++ for iOS games?

I'm pretty confident programming in Objective-C and C++, but I find Objective-C to be somewhat easier to use and more flexible and dynamic in nature. What would be the pros and cons when using C++ ...
1
vote
2answers
687 views

What is the best way to store meshes or 3d models in a class

I am wondering, how I should store my mesh into memory after loading it from whatever file. I have Questions floating in my head: Should a mesh could have sub meshes or does the 3d model just store ...
4
votes
2answers
837 views

Legality of AngelCode's BMFont

Is it legal to use a bitmapped version of a proprietary font (such as Arial) in a commercial app? I'm using AngelCode's BMFont to generate a bitmapped version of a few various system installed fonts ...
2
votes
1answer
387 views

Which data structure should I use for dynamically generated platforms?

I'm creating a platform type of game with various types of platforms. Platforms that move, shake, rotate, etc. Multiple types and multiple of each type can be on the screen at once. The platforms will ...
4
votes
1answer
480 views

Organize a game set

I'm developing a endless running game and I'm not really sure on how to make the set. The first approach was to make a BIG set like 10240x3072 pixels so that we have a nice portion of set. After ...
0
votes
1answer
147 views

UDK iOS ; base Class

I want to make a game with UDK for mobile and I wonder if There is any limits? I mean, for example, can I use UTPawn as my base Pawn class when making a game for my mobile(iOS) game? How can I know ...
0
votes
1answer
153 views

Writing a basic shader for large input files

I started writing a shader for my iOS app and instead of starting from scratch i used this tutorial here: http://www.raywenderlich.com/3664/opengl-es-2-0-for-iphone-tutorial I wrote an import ...
2
votes
3answers
452 views

Is there a grey-area with Copyright infringement?

Currently a student, I'm trying to put together a game for iOS. From everywhere I've read, it seems any game's sound and art are apart of their IP and covered under their Copyright. That being said, ...
2
votes
1answer
2k views

Am I allowed to release an app I developed with Xcode on windows?

I want to develop an app for the iOS app store, but don't want to invest in a mac since they start very expensive. So I considered running Xcode via VMware using OSX Lion on my windows 7 computer. ...
1
vote
3answers
986 views

iOS - pass UIImage to shader as texture

I am trying to pass UIImage to GLSL shader. The fragment shader is: varying highp vec2 textureCoordinate; uniform sampler2D inputImageTexture; uniform sampler2D inputImageTexture2; void main() { ...
1
vote
0answers
226 views

UDK problem with kismet and unreal code interfacing

Couple of questions that I really have looked for the answer to before posting. I want to create enemies in a game (iOS - tower defense like) I am making them follow a path and do other things like ...
0
votes
2answers
424 views

Can I dynamicaly modify 3D objects?

I am new to OpenGL, I am able to render a model object (a human model) that is using .obj and .mtl file in iOS. Now I want to make a modification to the loaded model. For example, I want to change ...
0
votes
1answer
674 views

Kinetic scrolling in AS3

I have a container movieclip that contains my "game" and I would like to be able to drag the "camera" (i.e. the container clip) around, but I need it to have kinetic movement, i.e. feel more like ...
0
votes
1answer
189 views

How to use generic level editors with my arbitary code?

I have a game, breakout clone. It has a Block class that contains CCSprite as a property. Usually I made levels by manually setting those blocks to positions. Here comes the question, how do I use ...
-2
votes
1answer
2k views

How change the size of sprite in cocos2d?

I want to change the scale of sprite like a paper in 'Paper Toss' game. 'Paper Toss' is the game is available on the App store. I want to make a sprite like a paper and change the scale of sprite ...
2
votes
2answers
1k views

Using pixel art on small high resolution screens

I'm making a game and I would like to utilize pixel art as my style. But I faced a problem, modern displays on my target platform (iOS) have extremely high resolution. So if my artist makes me some ...
1
vote
1answer
813 views

For a real-time PvP game, what network service would get the job done?

The game is between two players, real time, and has to be very synchronized - latency will certainly favor one player over the other. It's built for iOS and Android and every touch on one end has to ...