2D Games with SIO2 or OpenGL?

View previous topic View next topic Go down

2D Games with SIO2 or OpenGL?

Post  yxrkt on Tue Jul 21, 2009 1:44 pm

Would it be better to use SIO2 or just OpenGL for 2D games? I would like to have my player be animated from a large texture file where i change the uv coordinates.

yxrkt

Posts : 9
Join date : 2009-07-20

View user profile

Back to top Go down

Re: 2D Games with SIO2 or OpenGL?

Post  sio2interactive on Tue Jul 21, 2009 3:31 pm

What do you mean by "large texture file" the max width and heigh is 1024x1024 that's pretty small if you ask me Wink

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: 2D Games with SIO2 or OpenGL?

Post  yxrkt on Tue Jul 21, 2009 4:09 pm

well it's big enough if the frames are small. So would 2D animation be fine with OpenGL, or is there a part of sio2 that makes it easier?

yxrkt

Posts : 9
Join date : 2009-07-20

View user profile

Back to top Go down

Re: 2D Games with SIO2 or OpenGL?

Post  sio2interactive on Tue Jul 21, 2009 4:32 pm

Why you don't simply use an OGV to animate your texture... it'll be alot smaller and you have basically no restriction in size...

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: 2D Games with SIO2 or OpenGL?

Post  yxrkt on Tue Jul 21, 2009 4:59 pm

so i would have a seperate ogv for each of the character's animations, and swap them out?

yxrkt

Posts : 9
Join date : 2009-07-20

View user profile

Back to top Go down

Re: 2D Games with SIO2 or OpenGL?

Post  sio2interactive on Tue Jul 21, 2009 5:17 pm

no just one ogv, then you seek inside it to switch to the animation you want...

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: 2D Games with SIO2 or OpenGL?

Post  yxrkt on Tue Jul 21, 2009 5:44 pm

oh sweet. does it support alpha?

yxrkt

Posts : 9
Join date : 2009-07-20

View user profile

Back to top Go down

Re: 2D Games with SIO2 or OpenGL?

Post  sio2interactive on Tue Jul 21, 2009 5:47 pm

No but you can use other blending method that will take out the black around your character...

I think that might just work... Honestly Im not really comfortable with 2D stuff... expect for GUI with OpenGL... maybe you should check cocos2D... SIO2 is more 3D oriented...

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: 2D Games with SIO2 or OpenGL?

Post  yxrkt on Tue Jul 21, 2009 5:53 pm

how would i go about doing that? o.O

edit: whoops posted before your edit. Alrighty then; i'll save sio2 for my 3d game then.

yxrkt

Posts : 9
Join date : 2009-07-20

View user profile

Back to top Go down

Re: 2D Games with SIO2 or OpenGL?

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum