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
3answers
439 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 ...
0
votes
1answer
164 views

How can I ensure my Collada model fits on an iPhone screen?

Hi I am new to game development. I see many examples and tried myself like displaying triangle, cube etc. Now I am looking to render a Collada object. So I created a Collada object using Google Sketch ...
1
vote
0answers
328 views

Creating Smooth Animations [duplicate]

Possible Duplicate: What’s the best way to create animations when doing Android development? What animation technique is used in ‘Dont Starve’? I've always admired Zeptolab for their ...
4
votes
3answers
14k 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 ...
1
vote
1answer
145 views

Unity3d generating a file in iOS and saving it on a linux machine

I've done a little research and don't know if the following is possible. At the moment I have created a small application in Unity that generates an XML file. This file will be used to help set up ...
-1
votes
3answers
1k views

2D engine for both Android & iOS engine? [closed]

I want to make a simple 2d game that would run on both Android and iPhone. Since coding it separately for each platform would take some time, I thought of using an engine, that would be able to port ...
2
votes
0answers
138 views

3D Dice using Maya - for integration with iOS game app [closed]

My designer is building a 3D design of a dice using Maya. I want to integrate this in my iOS app so that the user can spin the dice and get a number. Then they play the game using that number. So, ...
5
votes
4answers
397 views

How bad would be to focus on iOS/Android development for an indie developer? [closed]

After some time developing games for others I'm thinking of moving towards my own productions. My background is 10+ years of software development, with last 2 years spent on the iOS development ...
1
vote
1answer
209 views

How can I rotate a tile map (and all of it's individual tiles) around an arbitrary point? [duplicate]

I have a 3D tile map made up of individual billboards in OpenGL ES. Each tile is a two-triangle mesh with a 3D vector to determine position and another defining rotation. How can I rotate the entire ...
0
votes
1answer
1k views

Integrating game center into cocos2d

I have a Cocos 2d game in which I want to have achievements and a leader-board. What are the steps I would need to take? Thanks P.S All of the tutorials I have found are outdated. So please write ...
-1
votes
2answers
412 views

Is opengl ES a necessity for developping mobile games [closed]

I learned some OpenGL ES and some shader coding. But is it really a necessity for developing Android, iOS and windows phone games? Windows phone I'm 99% sure that it is not even supported but have not ...
5
votes
2answers
2k views

How do I create a game that runs on Windows, iOS and Android? [closed]

I use C++ to create windows games and now I want to step into another other OS like Android or iOS. I'm totally familiar with C++ so I tried to create app for iOS using objective C it was working ...
1
vote
1answer
656 views

Unity3d import file on iOS device

im trying to figure out how to recall an external file in runtime on iOS device. I've already tried using Application.data+"/Raw/MY_FILE", with Application.streamingAssetsPath+"/MY_FILE", and with ...
0
votes
1answer
409 views

Alternatives to NSMutableArray for storing 2D grid - iOS Cocos2d

I'm creating a grid-based iOS game using Cocos2d. Currently the grid is stored in an NSMutableArray that contains other NSMutableArrays (the latter are rows in the grid). This works ok and performance ...
1
vote
3answers
2k views

CCUserDefault, iOS/Android and game updates

My game uses cocos2d-x and will be published on iOS platform first, later on Android. I save a lot of things with CCUserDefault (scores, which level was completed, number of coins taken, etc...). But ...
3
votes
5answers
7k views

Parse/Write JSON with Unity iOS

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

Updates for IOS AppStore Multiplayer Game

I am developing a multiplayer game for the web, android and ios. For the web and android i can instantly push out new versions of my game because they support executing remotly loaded code. But with ...
2
votes
1answer
189 views

What causes the iOS OpenGLES driver to allocate extra memory?

I'm trying to optimize the memory usage of our iOS game and I'm puzzled about when/why the iOS GLES driver allocates extra memory at runtime... When I run our game through Instruments with the OpenGL ...
4
votes
1answer
2k views

How to make a iOS plugin for Unity3d

I've passed last 2 days reading articles and book for understand how can i make a plugin for iOS in Unity. Basically i need just a demo for understand how it work. For now i've tried to make this ...
0
votes
3answers
287 views

Simple iOS glDrawElements - BAD_ACCESS

You can copy paste this into the default OpenGl template created in Xcode. Why am I not seeing anything :-) It is strange as the glDrawArrays(GL_TRIANGLES, 0, 3); is working fine, but with ...
1
vote
2answers
982 views

How to deal with Character body parts from Design to Cocos2d

I'm trying to figure out the pattern the game developers use together with game designers: See the picture below with the independent parts: Questions: 1) Should I create different image parts ...
1
vote
2answers
148 views

Submit scores for multiple players to Game Center from one iPhone

I have a quiz game, which i would like to integrate Game Center for. This is a "local" multiplayer game with the possibility to play six players per match. Is it possible to submit scores to the Game ...
3
votes
2answers
314 views

App Store free promotion

How can I make my app to be free for certain period of time? Is it ok to switch it to free and then after a day or two switch back to my original price, is it possible and where can I do it?
2
votes
1answer
498 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 ...
0
votes
1answer
369 views

OpenGL ES 2. How do I Create a Basic Fading Streak Effect?

For the iPad app I am writing using OpenGL ES 2 I have a single quad - shaded using GLSL - that is dragged around the screen. Very basic. This works fine. But is rather boring. I want to increase ...
3
votes
4answers
358 views

What is technical specs for iOS platform for a game?

I would like to know when a contractor ask you for a technical specs for iOS platform of a game, what's the description that you should give back to him?
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 ...
1
vote
3answers
2k views

Wait till all CCActions have completed

I am developing a simple cocos2d game in which I want to animate two CCSprites simultaneously, and for this purpose I simply set CCActions on respective `CCSprite's as follows. [first ...
0
votes
1answer
197 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
4answers
366 views

How to store an iOS game save file in multiple devices? (Without remote servers)

I've been developing an iOS game for iPhone. My game saves the progress as a couple of .plist documents in the device. I have come to realize that when I install a game in my iPhone, this same game ...
1
vote
0answers
258 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 ...
2
votes
1answer
364 views

Game Center: Leaderboard score inconsistencies

Background I'm currently developing a simple library that mirrors Game Center's functionalities locally. Basically, this library is a system that manages achievements and leaderboards, and optionally ...
0
votes
1answer
140 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 ...
2
votes
3answers
279 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
671 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 ...
11
votes
2answers
580 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 ...
5
votes
1answer
245 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 ...
1
vote
0answers
106 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 ...
0
votes
2answers
595 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 ...
3
votes
2answers
434 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.
1
vote
1answer
287 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 ...
1
vote
1answer
621 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 ...
0
votes
1answer
672 views

Admob banner not getting remove from superview

I am developing one 2d game using cocos2d framework, in this game i am using admob for advertising, in some classes not in all classes but admob banner is visible in every class and after some time ...
12
votes
3answers
859 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 ...
2
votes
3answers
271 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 ...
3
votes
2answers
3k 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. ...
4
votes
1answer
767 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 ...
7
votes
2answers
984 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
120 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 ...
2
votes
1answer
568 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 ...