Opaque screenshot of render to texture
Hi, I am doing some render to texture stuff using FBOs and Texture2D inside EAGLView (using the default OpenGL ES XCode project template). The Texture2D object is initialized with a mist which is...
View ArticleGlider Pro
Hi I haven't coded anything for at least a decade and was wontdering how hard it would be to port Glider pro to the iPhone? It would be ace too be able to play this classic on the iPhone and I think it...
View ArticleiPhone 3g jailbreak/unlock related question
I've noticed that O2 has brought the iPhone 3g 8gb onto prepay recently and I was thinking of getting one. It was printed on the leaflet I picked up in store that indicate along the lines - unlocking...
View ArticleCocos2d Memory Management Question
I want to be able to do simulate something that when thrown it fires up (like a molotov). The problem is that I have some problems with memory management. Here is what I am doing: Sprite *spr = [Sprite...
View Articlegame View Bounds
I was hoping someone could point me in the right direction with my collision detection. I have done collision detection before when dealing with a projectile and I just looped through the possible...
View ArticleCreate UIIMage directly in NSData
Hi, does anybody have the skills to create for me a short sample that shows how to directly set RGB for pixels of newly created Image? Maybe for CGImage as well as UIImage? Which is faster? (I guess...
View ArticleSaving/Reading from a file in the documents directory
jgoemat wrote: » I use a static method to return the full path to the data file so I don't have to write it twice: + (NSString *)dataFilePath { NSArray *paths = NSSearchPathForDirectoriesInDomains(...
View ArticleOpenGl framerate after a few time down !
In my little application , the frame rate start is at 50 Fps , but after playing game , the frame rate down under 50 Fps , while all texture are loading a the begining and the number of objets are fix...
View Articleimporting a model into 2 class's
Hi everyone, I have created a 2d Vector model and by copying the implementation of apples GLGravity (one with the teapot) i have managed to import it into my drawing class so i can loop through it's...
View ArticleScrolling view
I've not played around with this yet but i have a couple of ideas how it could work but would appreciate some different views. I want to create a small example, where an image starts at the top of the...
View ArticleMP3 vs Ogg playback for games
Hello there! From apple documentation I've read that mp3 playback is realized by some hardware chip. Still when trying AVFoundation classes for playback it decreased my FPS by 5-8. I now that AVPlayer...
View ArticleDeveloping a 2D game ?!
I developed lots of games which didn't have any animation (poker, chess, etc), and the logic of the game wasn't about the animation and movements. (For example shooting an enemy requires u to know the...
View ArticleNew Game - which approach should I take?
This is my first full game project and I was hoping you guys could give me some direction. It's going to be a "laying tiles" type of game (think scrabble or dominoes). It will be one or two players, so...
View ArticleHas anyone tried the new 3.0 game features?
Has anyone tried the new game features in 3.0? The UIBouncingBall class in particular looks interesting, especially with direct tie-in to the accelerator - if you use the "Game Editor" tab in Interface...
View ArticleDevelopers Using OpenGL - Handling applicationWillResignActive
For any game developers using OpenGL, what, if anything, are you doing in response to the "applicationWillResignActive" notification? The Apple guidelines say you should pause the game and "throttle...
View ArticleiPhone random number game error=newbies need help!
This is some code which is supposed to program a simple iPhone application which generates a random number, the user must guess the correct number and the program will give it the appropriate feedback....
View Articletoo many options - where to start?
Hi. I'm new to developing for the iPhone and relatively new to programming. Last year I wrote a simple platformer for the PC from the ground up and learned a great deal about just how much you take for...
View ArticleMoving an image with Buttons
Hi, I'm wondering if i could move an image from side to side by pressing left button and right button, just like bomber online. but only side to side. If there is a tutorial or some source code, you...
View ArticleAVAudioPlayer used in games..
Right now I am currently using this in my game to play multiple sounds but I am getting errors after playing one sounds. NSString *path = [[NSBundle mainBundle] pathForResource:@"Loop" ofType:@"wav"];...
View ArticleHow To Make an App
Can someone help me? I downloaded iPhone SDK and I have no idea how to use it. I want to make a game for the app store, not too complicated, just a game where you build buildings and build people out...
View ArticleCrashlander source code
I'm new to iPhone development, but very interested to learn and maybe some day release my own game. However, a good starting point would come in handy. The crashlander example is referenced in many...
View ArticleStarting with OpenGL ES
Hi... I have been trying to get started with OpenGL ES for quite some time now, but couldn't find any good tutorials or sample codes. I think the best way is just to dive in, so is there any advanced...
View ArticleHelp with touch movement
Hi guys I have recently decided to learn OpenGL and have begun the process. I have actually run into a ditch though that is hard to get out of. Basically, I have a texture that has been drawn on the...
View ArticleAccelerometer angle. Landscape..
Im trying to make a lanscape game where you move by turning the ipod right and left, (x axis). I looked at the bubble code from apple and I got it to sorta work but for reference of 0 at portrait. How...
View ArticleVBO not picking up UVs ?
I have this weird problem i just don't quite understand with the VBOs and UVs. I set up my meshes using one VBO, with vertices/normals/UVs in the same buffer : GLERR(glGenBuffers(1, &vbo));...
View ArticleTouch Position
Hello, I am making my first iPhone app and I am trying to make an app like ESPN Cameraman where you have to find the difference in the two pictures. I have one difference in the picture and found the...
View Articletrouble with perspective view
Hey there all, I am trying to create a GL application on the iphone that can make a square bounce back and forth through the Z axis. I have lots of experience with GLUT, but since GLes does not have...
View ArticleNSArray Animations Slower on Device!!
Hello, I have a question on something that is bothering me....! I have a game and in the gameplay its popping up enemies.. And after a while in the game.... The timer that spawns enemies gets speed...
View ArticleCocos2d Restarting an Action
Is there any way to stop a Sequence and start it all over again in Cocos2D? When I call stop, and then run the Sequence again, it starts where it left off..!
View ArticleRecommended books?
I am completely new to this and need to start from scratch. I know basic C++ but really not nearly enough to get anywhere. I see there are plenty of books out there for iphone programming, but does...
View ArticleClipping in Quartz2D
Hi, I'm new to Quartz2d so I hope this is an easy question to answer. I have a scrollview whose content frame is 1024x768. Within this I push a custom view (with frame 1024x768) that uses Quartz2d to...
View ArticleIs it ok to layer UIViews?
Hi all, I'm using opengl in a UIView. It is full screen. I wanted to overlay some text stats on top of the opengl uiview. I just added a new UIView on top of it, and set the background transparency to...
View ArticleSoundEngine Stops Working After applicationWillResignActive Event
I'm using Apple's SoundEngine C++ code in my project, and I've found that it stops producing sound when I receive the applicationWillResignActive event. Has anyone else seen this behavior and know of a...
View ArticlePorting basic hangman from Java to Obj-C
Hello, I wrote a very basic hangman game in Java last semester for a class project and I am trying to learn to program on the iPhone so I figured what better way than to compare Obj-C to a language I...
View ArticleHigh Scores without my owner server
I don't have any web hosting but I want to have a leader board for my game. Does apple provide anything for developers who don't want to pay for web hosting just so they can have a global leader board....
View ArticleSuperclass problem
Hello there, I need access the my superclass but I can't, my problem: UIImageView ClassA \/ UIImageView ClassB In ClassA I declared the "a" attribute and I access that into ClassB on TouchBegan event,...
View ArticleChaining CATransactions
Hi, I'm trying to have several CATransactions (each CATransaction animating multiple layers) start each after the previous one is over. The problem is there doesn't seem to be a way to know when the...
View ArticleMove screen with hero?
Hi, I'm developing a 2D side scrolling game. All things are done with one NSTimer. Now the screen should follow my hero. So I changed the bounds to the position of the hero every time the timer is...
View Article2d side scrolling games/cocos2d tutorials?
Does anyone know any tutorials on cocos2d or any side scrolling game? I want to start making games but I have no idea where to begin. Ive already done the iCode tutorial (which I really liked) but...
View Articlescratch
i am developing one application inwhich i need scratching technique like lottery to show image?how can i do?any can give source code...? which UI i have to use? opengl or uiimageview? when user erases...
View ArticleSQLite: When to open a connection?
I'm trying to decide what's the best approach ... Do I: 1) Open the connection, make my call, close the connection? Or 2) Open the connection on app startup, use as often as needed, close the...
View ArticleIs this the correct way to use DrawRect?
I am trying to improve the speed of how I get images on the screen and although I am now at a stage where I can get the image on screen and animate in response to user touches the the image disappears...
View ArticleDraw Sprites
Hi, I'm a independent game developer trying to make my first game for iPhone plataform. I'm searching for a way to use spritesheets like that: but I haven't find a class or method to draw only a part...
View ArticleE3 registration
Do you guys think that if we have built a game, no matter how simple it is, for the iPhone that we should be able to register for E3 as an "industry insider" I mean I got a pass a few years back when I...
View ArticleGeneric Question on apps that crash after install
I've seen a number of apps on the store that tell users they must restart their iphone after installing for the app to not crash. Any idea why this is? Are there certain known features (like sqlite,...
View Articlenewbie
Hi All, Newbie here! I am looking at learning how to develop games for the iphone/touch but need a starting point.. what language is used? any tips and pointers? best place to start etc? any hints and...
View ArticleDirect screen access
Hi all. What is the fastest method of direct screen access? I'm talking about pushing an entire screen worth of pixels in realtime at a maximum FPS. I'm doing all rendering in my own code. Also, what...
View ArticleUnity3D - iPhone Game Development Class 3/22-3/24
Hi, I am working on organizing a Unity training class for iPhone Game Development. This will be an intensive 3 full-day course with limited ( 18 left ) spots for attendees. The instructor will by...
View Article
More Pages to Explore .....