I've got an idea for a game but I'm after some advice on coding method, specifically whether I will be able to use UIImageViews rather than learning OpenGL.
My idea requires a top-down view of a game area/map. This will need to scroll over several "pages" (i.e screen areas). Let's say, for example, this is a car racing game where the track covers an area of 4 iphone-screens x 4 iphone-screens. Would I be able to create the whole map as a UIImageView and move it around so the correct area is visible. Would I also be able then to create the cars as UIImageViews and move them appropriately. Would hit testing be easy for tracking whether the car is on the track etc or has hit the barrier? Alternatively, should I be looking at learning OpenGL to achieve this. I have a clear idea of what I want to achieve, I just need some pointers as to how to start off, specifically with the map scrolling to begin with and possibly with the sprites. I think the game mechanics/logic/internals (whatever you want to call it) are fairly straightforward for me to code.
Any input would be greatly appreciated. I'm new to Objective-C, iPhone SDK, and games programming, but in no way new to programming in general.
My idea requires a top-down view of a game area/map. This will need to scroll over several "pages" (i.e screen areas). Let's say, for example, this is a car racing game where the track covers an area of 4 iphone-screens x 4 iphone-screens. Would I be able to create the whole map as a UIImageView and move it around so the correct area is visible. Would I also be able then to create the cars as UIImageViews and move them appropriately. Would hit testing be easy for tracking whether the car is on the track etc or has hit the barrier? Alternatively, should I be looking at learning OpenGL to achieve this. I have a clear idea of what I want to achieve, I just need some pointers as to how to start off, specifically with the map scrolling to begin with and possibly with the sprites. I think the game mechanics/logic/internals (whatever you want to call it) are fairly straightforward for me to code.
Any input would be greatly appreciated. I'm new to Objective-C, iPhone SDK, and games programming, but in no way new to programming in general.