The iPhone smartphone designed by Apple Inc. The first iPhone was introduced on January 9, 2007. The iPhone runs on the iOS platform and can download and install applications from the iTunes app store.
2
votes
2answers
1k views
How to check battery usage of an iPhone/Android app?
I think the title says Enough. For example Unity can generate you a report how much CPU/GPU power it's using or how fast it's going to drain device battery, but what about the applications developed ...
1
vote
2answers
593 views
How do I repeatedly move an image by 1 pixel?
I have a method that is moving a UIImageView called shootImg across the screen:
-(IBAction)shoot{
if (appDelegate.shootInt > 0) {
if (direction == 1) {
shootImg.center = ...
1
vote
2answers
430 views
How to achieve graphics like those in Spy Mouse
I'm really interested in making a new application for iPhone, and I have some experience in objective-c. My main problem is the visual part. I want to have graphics like in Spy Mouse. Could this be ...
1
vote
1answer
221 views
Cocos2d: Using single timer/scheduler for multiple sprites
want to know if is it possible to use single timer or scheduler method for multiple sprites ? Like I am now working on a game and there could be any number of sprites and i want to perform some ...
4
votes
1answer
321 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
117 views
HUD layer not being added on my scene [closed]
I have a CCScene which already holds my gameLayer and I am trying to add HUD layer on that.But the HUD layer is not getting added in my scene, I can say that because I have set up a CCLabel on HUD ...
1
vote
0answers
247 views
Bezier curve sample code on touches moved
i am searching for any sample code to draw bezier curve by using touches, if any one have links or sample code please help me. i am developing the game like flight control in that i have to move my ...
0
votes
2answers
169 views
Looking for feedback on design pattern for simple 2D environment
I'm working in iOS.
I am trying to make a very simple 2D environment where there are some basic shapes you can drag around with your finger. These shapes should interact in various ways when dropped ...
7
votes
9answers
15k views
What platform is best for Android and iPhone development? [closed]
I've been developing non-mobile apps for linux; mainly stuff like interpreters, compilers, database engines and business apps.
I've been told that if I wanted to learn how to develop iPhone/iPad ...
0
votes
2answers
567 views
Constant rotation of a revolute joint in box2d
I would like to have a line with one end attached to a location and have it rotate constantly (with the same speed) with a maximum of 45 to -45 degrees (i.e. I would like to have it swing like a rope ...
4
votes
2answers
309 views
Aggro with Images
I have three UIImageViews. enemy1, enemy1AggroBox and mainSprite. What I want to do is when
mainSprite and enemy1AggroBox interect, I want enemy1 to start moving towards mainSprite. Basically ...
-2
votes
1answer
252 views
iPhone game - saving player state data
I am developing my first app for iPhone, using C++ and some Objective C code to interface with ios sdk api. My app is obviously a game. I was wondering where to save the state of the player (in my ...
1
vote
2answers
249 views
Costs for developing an Iphone physics game?
I recently made a game demo inspired by a wooden board game where you drop the ball trying to make a score, is fully playable so take a look (Works best on firefox):
...
20
votes
6answers
2k views
Marketing: Angry Birds - How it's done
Why do some apps, like Angry Birds, dominate the market while other cool/fun/addicting apps are never heard of?
I'm trying to figure out the best marketing strategy, or best way to sell an app to ...
-1
votes
1answer
161 views
Tools need to for low poly model, texture making & lighting in unity3d (iOS) [closed]
I am new to unity3d, i want to create a 3d game i have a team of 3d designers and programmers. My question which software should we use for modelling, texture making and advanced lighting for mobile ...
3
votes
2answers
306 views
Creating 2D waveform for Cocos2d game
I'd like to have a Waveform in my iPhone game that I am developing using Cocos2d v2.0.
That's the ideal wave I'd like to achieve. A simpler wave which I would still be happy with is this one.
...
0
votes
0answers
95 views
Using same b2World in different classes/Layers
How can we use same b2world in different classes in our game.. ? I am having two classes gameLayer and weaponLayer respectively. I am trying to use the b2world I am using in gameLayer in weaponLayer ? ...
1
vote
1answer
1k views
Accelerometer to move player left and right
Please take a look on my code and help me to find problem.
I used this tutorial: COCOS2D_ACCELEROMETER_MOVEMENT
This works only sometime….some time not move..How can I resolve this problem?
Here is ...
-2
votes
1answer
506 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
3answers
2k views
How do I create this underwater effect with Cocos2D?
http://vimeo.com/2461697
Hi everyone, I'm trying to create an effect like this, the underwater effect (water distortion). I've looked around and I've seen references to "water caustics" but I'm not ...
1
vote
1answer
205 views
How do I identify a collision with a specific body?
How can I identify when the ground body collides with another b2Body? I can use b2ContactListener to be notified of collision events, but how do I tell which bodies collided?
2
votes
1answer
592 views
How do you get textures out of a png file
I have 1 png of many different textures. I want to use these textures in my iphone game using cocos2d. I found the program "Zwoptex" where you can combine many textures to one png and create a plist ...
2
votes
1answer
144 views
Game speed cubic growth
Is it possible, using delta in my update method to increase a game speed variable exponentially on cubic growth (the blue line below)
My maths isn't great so I'm not sure how the formula would be ...
0
votes
0answers
807 views
Cocos2d Box2d how to shoot an object inside the screen [closed]
I have the code below :
- (id) initWithGame:(mainGame*)game {
if ((self = [super init])) {
isTouchEnabled_ = YES;
self.game = game;
CGSize size = [[CCDirector ...
1
vote
2answers
250 views
How can I make a rectangle to an irregular shape?
I used masking for breaking an image into the below pattern. Now that it's broken into different pieces I need to make a rectangle of each piece. I need to drag the broken pieces and adjust to the ...
0
votes
3answers
350 views
Is it legal to use the name of an existing game?
I'm planning on creating an iPhone game titled "Guess Who!". I know there is already a board game with the same title (linked here) so I'm wondering it is legal for me to use this title for my game. ...
1
vote
1answer
95 views
Drawing texture does not work anymore with a small amount of triangles
When i draw lines, the vertices are well connected. But when i draw the texture inside the triangles, it only works with i<4 in the for loop, otherwise with i<5 for example, there is a ...
4
votes
2answers
337 views
What term is used to refer to iPhone and Android games?
What do you call games developed for Android or iPhone to differentiate them from games developed for other platforms?
2
votes
1answer
72 views
How can I track the frame rate on a mobile device?
I am trying to track the frame rate when performaing certain actions on my mobile device.
Scenario: I open my game via the device browser and run through specific actions.
Preferably would like the ...
0
votes
2answers
2k views
What fluid simulation system is used in iPhone games?
Does anybody know what kind of system developers are using for fluid simulation in iPhone games? It doesn't seem like they're using a Navier-Strokes simulation to me.
3
votes
1answer
309 views
Smoothing rotation
I've spent the last three days trying to work out how to rotate a sprite smoothly depending on the velocity.x value of the sprite. I'm using this:
float Proportion = 9.5;
float maxDiff = 200;
float ...
0
votes
1answer
181 views
Rotation based on x coordinate and x velocity?
-(void) accelerometer:(UIAccelerometer *)accelerometer didAccelerate:(UIAcceleration *)acceleration
{
float deceleration = 0.3f, sensitivity = 8.0f, maxVelocity = 150;
// adjust velocity based on ...
1
vote
0answers
205 views
Design pattern for procedural terrain assets
I'm developing a procedural terrain class at the moment and am stuck on the correct design pattern. The terrain is 2D and is constructed from a series of (x,y) points. I currently have a method that ...
1
vote
1answer
354 views
Corona SDK: Animation takes a long time to play after “prepare” step
First off, I'm using the current publicly available build, version 2011.704
I'm building a platformer, and have a character that runs along and jumps when the screen is tapped. While jumping, the ...
9
votes
7answers
3k views
Can we develop a game for iPhone on Windows platform?
Is it possible by any means to have a game developed for iPhone using the iPhone sdk on Windows?
0
votes
5answers
1k views
How do I approach large companies if I have a killer mobile game idea?
I have an idea for a game that has potential, but I'm not a programmer.
How do I tell this to development companies without having my idea stolen? All I want from the company is for somebody to ...
-1
votes
1answer
131 views
Make a CCSprite come up from bottom of the screen in intervals
I have a cocos2d iOS app. I have a CCSprite that I need to come up from the bottom of the screen every few seconds (like 2 or 3 seconds). How would I do this?
11
votes
4answers
3k views
What are the app file size limitations for different smartphone OSes & carriers?
I know the iPhone App Store limits how large an app can be in general and there are also limitations with AT&T over the size it can be to transmit over a data plan vs WiFi. I have no idea what, if ...
12
votes
4answers
3k views
2D non-tile based map editor
I am currently developing a relatively simple 2D, topdown oriented adventure game for the iPhone and was wondering what would be the easiest way to create the maps for my game. I figured I would need ...
2
votes
2answers
200 views
Moving 2d camera in the y direction
I'm developing a simple game for the iphone and am struggling to work out the best way for the camera to follow the main character. The following picture hightlights the three main components:
...
1
vote
2answers
1k views
How to connect two Iphone/ipod/ipads for gameplay over local wifi network?
I would like to add the option to play against another person over my wifi network in my pong game. How do I make this happen?
Also, I would like to know how to be able to have 4 players at the same ...
0
votes
0answers
194 views
Export POD format from 3D Max to cocos3D
we're developing a Medical app with a 3D character thats teachs about phisioterapy.
We have a 3D character in 3D Studio Max with animation, when export it into POD (I Have tried many configurations) ...
0
votes
1answer
100 views
Help figuring out how to build for the iOS Unit3D
So currently I'm exporting my game strictly for testing to the iOS (iPad.)
I don't own a Mac, so I'm having my client make a build from his Mac, but that means I need very specific instructions for ...
49
votes
15answers
17k views
Cross Platform 2D Graphics Engines [closed]
I'm looking for a 2D graphics engine that would allow me to release to Windows, Mac and the iPhone, much the way Unity does for 3D.
Is there a good engine that does this and is specific to 2D?
2
votes
1answer
133 views
How can I implement temporary effects in Objective-C?
How could I use this IBAction
-(IBAction)shield:(id)sender{
appDelegate.healthInt = 150;
}
and simply make it work for a limited time. I want to set appDelegate.healthint = 150 for about 20 ...
4
votes
1answer
295 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 ...
2
votes
2answers
584 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 ...
3
votes
5answers
1k views
What is the average team size for mobile games like these?
I know that it is maybe too broad question but please give me at least some guidance.
What is the average team size for mobile games like in
...
1
vote
0answers
179 views
Cocos2D and iPhone's accelerometer
good afternoon!
Today I've started to develop a game and I got a trouble. So, first at all I would like to say that I have no experience developing games...
So, I've a CCSprite in the layer and I ...
0
votes
3answers
175 views
Is storing data via property lists in an iPhone application's documents directory secure?
Is storing game state in plists in an iPhone application’s documents directory a secure method? Meaning, does anything other than the application have access to that directory?



