How does these classes tie together.
4 posters
How does these classes tie together.
Hello everyone,
I'm a programmer, but not a graphics programmer and not familiar with how this engine is tied together. I'm trying to learn how to programming a game to expand my knowledge of programming in general. I'm having trouble piecing how the tutorials are put together. Can someone tell me how the different classes fit together. I haven't had much luck finding documentation to help me.
I notice that there are the png, bullet, jpeg, luna, theora, vorbis, zlib, and sio2, these must be source classes that I need to include with my project in order to use them.
And the template.mm is where the code goes.
But how does the EAGLView.h/.mm and templateAppDelegate fit into the equation?
Also, how does the application know to use the template.mm when there is a touch event. Is it configured somewhere, it is there a convention that I'm missing.
Thanks in advance
I'm a programmer, but not a graphics programmer and not familiar with how this engine is tied together. I'm trying to learn how to programming a game to expand my knowledge of programming in general. I'm having trouble piecing how the tutorials are put together. Can someone tell me how the different classes fit together. I haven't had much luck finding documentation to help me.
I notice that there are the png, bullet, jpeg, luna, theora, vorbis, zlib, and sio2, these must be source classes that I need to include with my project in order to use them.
And the template.mm is where the code goes.
But how does the EAGLView.h/.mm and templateAppDelegate fit into the equation?
Also, how does the application know to use the template.mm when there is a touch event. Is it configured somewhere, it is there a convention that I'm missing.
Thanks in advance
hosthvo- Posts : 4
Join date : 2009-02-03
Re: How does these classes tie together.
But how does the EAGLView.h/.mm and templateAppDelegate fit into the equation?
>> What I did is take a standard iPhone OpenGL ES project auto-generated by XCode and then add the bits and pieces to run SIO2. The only exception is the template.mm and .h that I create manually and link to the project in order to make things more clear...
>> What I did is take a standard iPhone OpenGL ES project auto-generated by XCode and then add the bits and pieces to run SIO2. The only exception is the template.mm and .h that I create manually and link to the project in order to make things more clear...
Thanks for your reply
Thank you for your reply.
I'm having trouble understanding the responsibility of that class. Is it just use as a connector? Can you tell me what is the purpose of those class.
I'm having trouble understanding the responsibility of that class. Is it just use as a connector? Can you tell me what is the purpose of those class.
hosthvo- Posts : 4
Join date : 2009-02-03
Suggested readings...
http://developer.apple.com/iphone/gettingstarted/docs/creatingiphoneapps.action
They're it explains the basic skeleton of an iphone app. In short, the app delegate is the "introducer of your application". Takes care of maintainance and communication with OS etc.
Good Luck
They're it explains the basic skeleton of an iphone app. In short, the app delegate is the "introducer of your application". Takes care of maintainance and communication with OS etc.
Good Luck
goldfrapp0x0309- Posts : 43
Join date : 2009-02-28
Re: How does these classes tie together.
Maybe this thread will help you a bit http://forum.sio2interactive.com/sio2-engine-f3/errr-wheres-tutorial-01-t46.htm
oioioi- Posts : 136
Join date : 2008-12-02
Location : Norway
Permissions in this forum:
You cannot reply to topics in this forum
|
|