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

5
votes
1answer
142 views

portal cutoff effect

I want a 3D Mesh to come out of a flat portal. Only the part of the mesh that's coming out of the portal should be rendered, so the mesh should be cut off or sliced until it's fully outside the ...
5
votes
6answers
6k views

Port libgdx application to iOS

I made my game using libgdx which is a cross-platform framework which supports desktop, Android and html5 (using Google Web Toolkit). What could be a possible route to port my game to iOS?
5
votes
1answer
800 views

GameCenter turn based central server

I'm a tad confused about the turn based option with iOS5. Does this take care of everything needed to make a multiplayer turn based game?i.e all the game turn data is stored with apple or do I need to ...
5
votes
3answers
1k views

How to protect Lua scripts in IOS game?

I'm developing an iOS game and was considering putting level info and monster info in a Lua script for ease of use. However, since I'm using Game Center for multiplayer I'm concerned users will ...
5
votes
2answers
879 views

How to combine tap and long hold gesture recognizers?

I have a game in which the player moves around a sprite by tapping on various sections of the screen (left, right, up, down). So far, each tap moves the sprite one tile (I use a tile system for ...
5
votes
3answers
26k views

How to move gameobject with touch on Android

I'm trying to make a game where you control a character via touch on Android devices. The player will have two degrees of movement. When you touch the touch screen and move your finger, the game ...
5
votes
1answer
1k views

Things to do to port game made for iOS in Unity to Android?

I have just made my first game for iOS and submitted it to app store. I was thinking of porting my game to Android also. I would like to know things one need to do/remember to port game made for iOS ...
5
votes
3answers
419 views

Approaches for a clickable map of nations (such as a Risk game) with Spritekit

I would like to create a political map where each country is clickable by tapping but I'm not sure the best way to determine which nation was selected. Imagine Risk where each country can be ...
5
votes
1answer
1k views

Mixing Javascript with C++ for mobile development?

I have a few games for the iPhone, Android, and Windows 8 that I built using native C++. This works great but is really limiting when I try to create menus and start screens. I have read about rapid ...
5
votes
1answer
2k views

GLSL Editor and Debugger for MacOSX with ES2 support

is there a GLSL editor for the mac? I need it for iOS OpenGLES2 shader. How do you best debug shader? Regards
5
votes
1answer
3k views

Can you embed a Unity3d mobile project into an existing native mobile app?

I am creating an application for both Android and iPhone that will have a few mini games in it. I would like to create the non game section in native Android and iPhone. My question is, is it possible ...
5
votes
2answers
2k views

Physics or Time-Based Animation In Corona SDK (iOS) Using Box2D

I am part way through creating a Doodle Jump clone for iOS using Corona SDK. I'm currently using the physics engine (box 2D). It's not a straight clone, but I need the basic principles in place to ...
5
votes
1answer
319 views

iOS paralleling of game tasks (Client)

What good practice in paralleling of rendering, main game logic and networking on iPhone/iPad? If I program on Windows I use threading and IOCP, but I am new to iOS. So what patterns, io async ...
5
votes
3answers
541 views

OpenGL ES 1.1 - How to batch draw particles with different translations?

Assuming that I've combined all of my vertex data for many particles into a single array, how would I batch draw all of those particles in a manner that preserves their unique translations? Any code ...
5
votes
0answers
415 views

How to support all iOS device screen sizes / resolutions in my game [duplicate]

I made this game. Right now the game supports all iOS devices except iPhone 5. The definition of each level of the game is kept in a plist. The creation of each level is done through a graphical ...
5
votes
1answer
736 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 ...
4
votes
1answer
3k views

Is glEnable obsolete/unneeded in OpenGL ES 2?

In an iOS app I am writing I am now culling all the GL 1 crap from my GL 2 code. Can I safely remove glEnable?
4
votes
4answers
754 views

Benefits of upgrading from OpenGL ES 1.1 to 2.0 on iOS

I have an animated 3D iPhone game that I first wrote using OpenGL ES 1.1 in late 2009. After many updates to the rest of the game, the OpenGL ES 1.1 code still runs fine under iOS 6, but I'm ...
4
votes
5answers
2k views

Is it worth planning to be cross-platform in mobile game development?

Disclaimer: my goal is not to use cross-platform frameworks like Unity. I am currently planning a mobile game which I intend to first launch on iOS. However, I am wondering if it is better to write ...
4
votes
6answers
11k views

Parse/Write JSON with Unity iOS [closed]

anybody know a tutorial or maybe can help me to develop a parser/reader for JSON compatible with Unity iOS pro? I've already tried different third part libraries but without luck (i've tried json.net, ...
4
votes
4answers
3k views

Recommended hardware for developing ios games? [closed]

I know you have to have mac os x to use xcode and thus to develop/compile apps for the iphone. And I'm not exactly wanting to go the hackintosh way, so I'm looking at buying a used mac. What specs ...
4
votes
2answers
402 views

Can I do iPhone game dev on iPod touch?

I do not want a mobile phone, but are there any issues I'd run into by developing games on an iPod for iPhone?
4
votes
2answers
2k views

How to implement color changing fragment shader?

I have a background of a given size and filled with a given color. I want to change it with an animation effect, starting from the center and spread out until it extends the whole background. The new ...
4
votes
1answer
1k views

Isometric Tile maps in Cocos2d-x [closed]

Is there an specific isometric tile map handler in cocos2d-x? I can't find any.
4
votes
1answer
389 views

Is developing for non-retina iPod Touch/iPhones still worth it for deployment?

We're a couple of guys making games for iPod Touch and iPhone. I personally have an iPhone 4 with the retina display and I'll be using this as my main test device. I have an opportunity to purchase a ...
4
votes
1answer
2k views

How do I break an image into 6 or 8 pieces of different shapes?

I am working on puzzle game, where the player can select an image from iPhone photo gallery. The selected image will save in puzzle page and after 3 second wait the selected image will be broken into ...
4
votes
1answer
7k views

Game engines that publish to android and iOS

I am about to start on a project which, at a minimum needs to go out to android and ios. Are there any game engines other then Unity which can publish to both? I fear that Unity3d might be more ...
4
votes
3answers
528 views

How to restore purchases made with virtual currency from the App Store? (iOS)

I want to award coins for doing thing in my app and let users purchase things with the coins that are non-consumables. I also want to let users purchase coins as IAPs. How do I keep track of what has ...
4
votes
1answer
1k views

How to load a png file without alpha premultiplying in ios?

I am making a game in which I use the alpha value, in some cases for transparency, in others for occlusion, and for HDR in others. I'm loading the images like this (this is MonoTouch, but objective-c ...
4
votes
1answer
429 views

What is the best way to display a cut scene?

How do we show cutscene in the game? Currently I am using images and animation upon them to show cutscenes or story. I heard from my friend that showing a video might be one of the option too. Is it a ...
4
votes
3answers
702 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 ...
4
votes
1answer
5k views

difference between cocos2d-x vs cocos2d-js

I'm just moving towards native apps... A friend of mine told me to start with cocos2d, I'm good in javascript. While searching google for cocos2d, and within cocos2d-x.org I found cocos2d-x ...
4
votes
1answer
484 views

Are there any implemented game controls like a screen (thumb) joystick? - iOS

I'm looking for some open source game controls. Especially I'm looking for a thumb screen joystick to move a character on the screen, something like a touch circle. Are there any open source ...
4
votes
1answer
466 views

Do leaderboard sets (in Game Center) allow 500 unique leaderboards?

The Game Kit Programming Guide for iOS claims: The number of different leaderboards allowed increases to 500 leaderboards per game when leaderboard sets have been enabled...Leaderboard sets ...
4
votes
1answer
817 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 ...
4
votes
2answers
2k 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 ...
4
votes
1answer
861 views

Lua or C++ in Cococ2d-x

I am going to use Cocos2d-x to make a game for Android and ios, but my question is, do I use the Lua integration or only c++, I see Lua useful here because the compilation thing. Or do I use only Lua ...
4
votes
1answer
500 views

Cocos2d: Tongue effect like in Munch Time

I'm wanting to do a tongue effect for my character like the one in Munch Time( shown in pic ). The player does some action and his tongue attaches to the nearest platform. I'm thinking this is ...
4
votes
1answer
619 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 ...
4
votes
2answers
753 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 ...
4
votes
0answers
2k views

OpenGL ES 2.0 Camera advices and general thoughts for a 2D engine [closed]

I'm working on my first 2D OpenGL engine for iOs 5+ using GLKit (that's to say: OpenGL ES 2.0). While I am on a good path and a lot of things are implemented and nicely working, I'd like to share with ...
4
votes
2answers
2k views

What should I do to get my Blender models into my iOS game?

I am working on a 3D OpenGL|ES game for iPad. All the models are created in Blender. How should I go about getting my models into my game? I have the following requirements of my models: One ...
3
votes
4answers
16k views

What programming languages would be used to make an Apple App like Angry Birds or Cut the Rope? [closed]

I'm currently working in the Multimedia industry and although I'm better at design then development. I have knowledge of HTML, CSS, very basic jQuery, Actionscript. What programming Languages would ...
3
votes
2answers
2k 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 ...
3
votes
1answer
3k views

Why do my sprites have a dark shadow/line/frame surrounding the texture?

I'm starting OpenGL with Apple's GLKit hand I'm having some trouble to get my sprites displayed properly. The Problem is that they all are surrounded with thin dark lines. The screen shot below shows ...
3
votes
4answers
3k views

IOS OpenGl transparency performance issue

I have built a game in Unity that uses OpenGL ES 1.1 for IOS. I have a nice constant frame rate of 30 until i place a semi transparent texture over the top on my entire scene. I expect the drop in ...
3
votes
4answers
13k views

What are the pros and cons of GameSalad versus Cocos2D?

I am currently using the Cocos2D framework for creating my game but I just happened to come across GameSalad and was amazed by this video. GameSalad claims to allow you to create games without ...
3
votes
1answer
2k views

Automated Unity iOS command line build on Mac

I am doing the iOS builds for a group of Unity (Unity3d) game developers. After pulling the latest git updates, I start up the Unity editor on my Mac and choose "Build Settings", select the iOS ...
3
votes
3answers
5k views

Can an iOS application have an explicit quit button?

I've heard a rumor that you cannot have an explicit quit button on your app when it goes to the Apple App Store, can anyone verify this? It seems that most applications do not have one, and there is ...
3
votes
1answer
441 views

How do you incorporate cocos2d with regular iPhone UI widgets?

I want to build a sprite based game using cocos2d. I will be mostly drawing everything in code. I also want to incorporate iPhone UI widgets such as buttons and such. Can these be created to appear on ...