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
22
votes
4answers
13k views

How to achieve uniform speed of movement on a bezier curve?

I'm trying to move an image along Bezier curve. This is how I do it: ...
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 ...
20
votes
5answers
13k views

Is deferred rendering/shading possible with OpenGL ES 2.0 ?

I asked this on StackOverflow, but it might make more sense here: Has anyone implemented deferred rendering/shading under OpenGL ES 2.0? It doesn't support MRTs, so with only one color buffer, it's ...
19
votes
5answers
2k views

Do iOS users use Facebook and Twitter buttons within games?

Does anyone have any insight or experience into the successfullness of placing Facebook or Twitter "share" buttons within an iOS game? For example, when a user gets a high score, presenting them with ...
18
votes
5answers
22k 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++ ...
17
votes
3answers
7k views

How would I implement an endless road the player runs down?

I want to create the illusion that a man is running down a long road i.e. this pic http://camlinecambridgelimited.web.officelive.com/images/road%20graphic1.jpg If you have played Temple Run on the ...
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 ...
14
votes
4answers
13k views

Should I learn 2d game development before 3d? [closed]

I'm an iPhone app developer. I want to get into iOS gaming. The question is-should I start with learning 2D like Cocos 2D or Corona SDK before learning 3D gaming like Unity? I'm more interested in 3D ...
12
votes
3answers
1k 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 ...
12
votes
2answers
687 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 ...
12
votes
2answers
1k views

If you are a solo programmer, how do you manage the graphics artistry part?

If you are a solo programmer creating a game, what do you do for the graphics and art part? Should I work with graphics artist to draw the characters and the environment? I don't know how to draw ...
11
votes
3answers
1k views

Prototyping a puzzle game for solvability of levels

I am in the prototyping phase of making a puzzle game for iOS. The basic premise of what the player has to do is get from point A to point B by navigating through a maze like setup, while moving ...
11
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. ...
10
votes
2answers
8k views

Using L-Systems to procedurally generate cities

I'm currently making an app that focuses a lot on procedurally generated content. So far, I've successfully implemented the procedural generation of the terrain and shape of a map using simplex noise. ...
10
votes
4answers
1k views

Do Apple and Google ask for a share if custom payment is done in a free app?

I have a multiplatform game (web/iOS/Android) in the making. In the free version the core game is still fully playable but people who choose to pay will get more social features (and no ads, of course)...
10
votes
1answer
12k views

Why does Unity let you install iOS Build Support on Windows?

When installing Unity on a Windows machine, you are allowed to select "iOS Build Support" as one of the components to install. However, it is not possible to make an iOS build from Windows. Why is ...
10
votes
1answer
6k views

Cross-platform C++/OpenGL ES development (iOS/Android) [closed]

I already have reasonable experience with C++ and OpenGL, and I have recently decided to try out mobile game development. After successfully creating a simple OpenGL ES Android app using Java, I ...
10
votes
1answer
8k 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 ...
10
votes
5answers
4k 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 ...
9
votes
3answers
2k views

Is it worth supporting iOS 3.x or iPhone 3G devices anymore when developing a game?

Is it still worth it for a game developer to try and support older devices: iPhone 3G and earlier or to support older OS: iOS 3.x and earlier? Or is it recommended to make use of OpenGL ES 2.0 ...
9
votes
2answers
5k views

How well does Unity 3d work for both Android and iPhone?

First off this question might be a bit broad so I apologize if it is. I am really just looking for peoples experiences and personal knowledge on the subject. I am looking to create a game for both ...
9
votes
1answer
1k views

Is the STL efficient enough for mobile devices?

When it comes to mobile game development on iOS and Android NDK, some developers write their own C++ containers, while others claim that STL is more than adequate for mobile game development (For ...
9
votes
2answers
2k views

What's the recommended bitrate for Background Music in iPhone Games?

What is the recommended bitrate for Background Music in iPhone Games?
9
votes
1answer
14k views

Blend Modes in Cocos2D with glBlendFunc

We've been trying to replicate the most common blending modes that are available in Photoshop and Quartz 2D, but we've only come up with 3 and that's after some long searching online. For anyone ...
8
votes
1answer
3k views

How do I create a simple RPG game server? [closed]

I'm working on a Sprite Kit game. I'd like to make it a true multiplayer game, by which I mean that each person joining the game has their own camera. I've seen tutorials on multiplayer games where ...
8
votes
3answers
7k views

How can I deploy a JavaScript game into the iOS app store?

Unfortunately, I don't have a Mac, so I can't develop for iOS. I understand that HTML5 apps run in the browser, but is there a way to make an HTML5 app (e.g. a JavaScript game) and get it deployed ...
8
votes
2answers
7k views

Where and how to check if game was developed with bought Unity3D licence (not cracked app)?

We hired an external team from Eastern country. They built our mobile game app using Unity3d which we paid a lot of $K. We asked them to only use the software with bought license, not cracked one, and ...
8
votes
2answers
2k 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 ...
8
votes
2answers
856 views

Recording the gameplay in the game itself?

I'm presently working on a 3D car racing game for the iOS platform. I had to implement a replay system and then record that replay in a video file to upload it to YouTube. I'm only having issues ...
8
votes
1answer
505 views

In a scrolling 2D game, should the objects move or should the camera move?

I'm new to game design and don't really know how things are done. I'm thinking of building an iOS game where a ship has to fly as high up as possible (at variable speeds), collecting power ups, et ...
8
votes
2answers
3k views

What do you use to support multiplayer turn-based network game for iOS and Android games?

If I'm doing a turn-based card game, what kind of technique do you use to support multiplayer gameplay over Internet? Is it socket? If it's socket, which SDK (CoronaSDK etc.) can provide solid ...
8
votes
1answer
400 views

In Box2D, how can I get the compression force on a specific body?

I'm using Box2D. As you can see, there are three dynamic bodies connected to each other (think of it as a table from front view). LEG1 and LEG2 are connected to the static body (it's the ground body). ...
8
votes
2answers
2k views

Getting the number of fragments which passed the depth test

In "modern" environments, the "NV Occlusion Query" extension provides a method to get the number of fragments which passed the depth test. However, on the iPad / iPhone using OpenGL ES, the extension ...
8
votes
1answer
474 views

Promoting independent iOS games [duplicate]

Possible Duplicate: What are effective marketing strategies for iPhone games? I'm interested in promoting my latest iOS game. What have you done that really helped spread the word? Any smaller ...
7
votes
4answers
6k views

Price for Unity on Android and iPhone? [closed]

I was looking at the Unity site, and I was a bit confused with the pricing. It says it's free, but for iOS/iOS Pro or Android/Android Pro. I need to shell out $400 minimum each. So if I want to ...
7
votes
2answers
9k 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 ...
7
votes
3answers
204 views

Where to show user shot's power on touch screen?

I want to show user shot power in standart way (the more user holds finger on the screen the stronger is shot) Where is the best place to show this icon on touch screen(when I use mouse it's better ...
7
votes
2answers
4k views

Best memory allocation strategy for iOS?

I'm debating myself about memory allocation on iOS. I write most of my code in C++ and I really like using ObjectPools, FreeLists, etc. In order to pre-allocate a lot of the stuff that I'll be ...
7
votes
3answers
8k 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?
7
votes
2answers
5k views

How to differentiate a tap from a drag

I'm creating an app and I'm trying to make it so I can drag a sprite (with a second sprite on top) around the screen, but if I just tap the sprite some other method should get called. I got the ...
7
votes
1answer
6k 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
7
votes
4answers
47k views

How to move gameobject with touch on Android [duplicate]

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 ...
7
votes
3answers
3k views

iOS Game Development - Where to start? [closed]

I'm a web developer with a keen interest in game development for the iOS platform. I develop mostly with Ruby for the day job but I have dabbled quite a bit with Java in the past, random world ...
7
votes
2answers
2k views

How do I reconfigure my GLES frame buffer after a rotation?

Note: In order to keep the question as simple as possible, I am actively changing the body of the question to reflect the current state of affairs, instead of adding stuff at the bottom. I am ...
6
votes
1answer
617 views

Train-like movement in a 2D game

I am developing a 2D game using Cocos2d-X in C++ language. In my game, I need to implement train movement. Here is the image about the output I want to achieve: I tried to do the above moment using ...
6
votes
4answers
2k views

Mobile game monetization idea - pay to remove ads?

Has anyone tried a free app/game with Apple's iAds with an in-app-purchase to remove the ads? Just wondering if this works. A friend mentioned that some apps do this... is this a common and/or "user-...
6
votes
1answer
5k 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 ...
6
votes
2answers
735 views

How can I convert a paid iOS game to a free game with in game purchases?

I have developed a game for iOS that has had a decent amount of downloads, but I think I would get significantly more revenue if I were to convert the game to free to play, with in app purchases (...
6
votes
1answer
643 views

Can I query the Game Center APIs from C++, without Objective-C?

I am writing a game that needs Game Center leaderboards. These however, are not very extensive leaderboards. I just need the ability to submit a score automatically when the player completes a level. ...
6
votes
1answer
534 views

overlapping 3d particles not blending nicely when at the same z

I'm working on a 3d particle emitter. It's going pretty good but I'm still having a problem with triangle sorting. As you can see in the photos, there are some particles that are not blending ...