FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

2D Games with SIO2 or OpenGL?

2 posters

Go down

2D Games with SIO2 or OpenGL? Empty 2D Games with SIO2 or OpenGL?

Post  yxrkt 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

Back to top Go down

2D Games with SIO2 or OpenGL? Empty Re: 2D Games with SIO2 or OpenGL?

Post  sio2interactive 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
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

2D Games with SIO2 or OpenGL? Empty Re: 2D Games with SIO2 or OpenGL?

Post  yxrkt 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

Back to top Go down

2D Games with SIO2 or OpenGL? Empty Re: 2D Games with SIO2 or OpenGL?

Post  sio2interactive 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...
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

2D Games with SIO2 or OpenGL? Empty Re: 2D Games with SIO2 or OpenGL?

Post  yxrkt 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

Back to top Go down

2D Games with SIO2 or OpenGL? Empty Re: 2D Games with SIO2 or OpenGL?

Post  sio2interactive Tue Jul 21, 2009 5:17 pm

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

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

http://sio2interactive.com

Back to top Go down

2D Games with SIO2 or OpenGL? Empty Re: 2D Games with SIO2 or OpenGL?

Post  yxrkt Tue Jul 21, 2009 5:44 pm

oh sweet. does it support alpha?

yxrkt

Posts : 9
Join date : 2009-07-20

Back to top Go down

2D Games with SIO2 or OpenGL? Empty Re: 2D Games with SIO2 or OpenGL?

Post  sio2interactive 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...
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

2D Games with SIO2 or OpenGL? Empty Re: 2D Games with SIO2 or OpenGL?

Post  yxrkt 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

Back to top Go down

2D Games with SIO2 or OpenGL? Empty Re: 2D Games with SIO2 or OpenGL?

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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