So I've moved onto OpenGL on the iPhone which will end up being the way we render most of the graphics in the game. So far, I've simply just reproduce the demo I created using Core Graphics techniques. Next step is to "kick it up" a notch.
For my next demo, I'd like to master a few different things:
Demo Overview
Create a field of sprites that are running an animation. Allow the user to click on the screen and have the camera ease to that position. Allow the user to also click and drag to slide the camera along that specific path. Allow the user to zoom out and move around then zoom back in.
Demo Goals
- Learning how to draw 2d textures
- Create a 3dVector and 4x4 matrix class
- Creating a "frame" class that allows for easy maintenance of matrix (possible space for nesting frames..but this may not be necessary)
- Creating a functional camera class
- Detecting and using drag events
Once I got a basic OpenGL renderer up (a modified EAGLView class created with the GL template from XCode), I started getting this ol' feeling of new Flash Development. While its not a scripting language by any means, the enviroment has so much built in functionality that I'm finding I can move onto fun stuff pretty quickly without worrying about every piece of technology to do every little damn thing. Flash is a lot like that. You get a lot provided for you, its just a matter of using it. Once I get the camera panning around, I'll get that nerd excitment I've wanted for a while.
No comments:
Post a Comment