sio2InitGL problem
3 posters
sio2InitGL problem
Hello
I'm preety new using graphic engines, currently developing a 2d game on iphone. I have tried using Sio2Image for rendering a image on the screen. I have succeded only to draw images that are power of 2, so I used some tutorials from http://www.71squared.co.uk/category/iphone-game-programming/, based on Texture2D from the crash landing example.
They have worked so far but the problem occurs when I'm using Image class. It's not rendering anything unless I comment sio2InitGl.
I can't find the code for this init function. Can you please make it public, so can you tell me what can I do so I can use both sio2 and the classes in that link ?
Thanks!
I'm preety new using graphic engines, currently developing a 2d game on iphone. I have tried using Sio2Image for rendering a image on the screen. I have succeded only to draw images that are power of 2, so I used some tutorials from http://www.71squared.co.uk/category/iphone-game-programming/, based on Texture2D from the crash landing example.
They have worked so far but the problem occurs when I'm using Image class. It's not rendering anything unless I comment sio2InitGl.
I can't find the code for this init function. Can you please make it public, so can you tell me what can I do so I can use both sio2 and the classes in that link ?
Thanks!
qflov- Posts : 1
Join date : 2009-05-25
Re: sio2InitGL problem
The power of 2 limitation is openGL. Texture2d just hides it by filling your non power of 2 images with empty space. Not to mention it is very inefficient at drawing. Apple made it as a quick demo with no intention of having it used for an actual game.
If you want to use SIO2 for a 2d game you may want to check out https://sio2interactive.forumotion.net/sio2-engine-f3/sprite-additions-t502.htm which should provide a good base for you.
If you want to use SIO2 for a 2d game you may want to check out https://sio2interactive.forumotion.net/sio2-engine-f3/sprite-additions-t502.htm which should provide a good base for you.
uprise78- Posts : 228
Join date : 2008-10-31
Similar topics
» sio2init, sio2initgl, etc
» Call sio2InitGL
» Camera problems
» Error when loading .SIO2 (texture.)
» Passing Through Static Object (Beating my iPod seems to help)
» Call sio2InitGL
» Camera problems
» Error when loading .SIO2 (texture.)
» Passing Through Static Object (Beating my iPod seems to help)
Permissions in this forum:
You cannot reply to topics in this forum
|
|