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.

Using chipmunk and sio2

3 posters

Go down

Using chipmunk and sio2 Empty Using chipmunk and sio2

Post  hemmi Sat Oct 17, 2009 7:19 pm

Hey guys,

Could someone point me in the right direction regarding using chipmunk with sio2? I'd like to create a 2d game with 3d rendering. I'm comfortable with chipmunk and the simplicity of working with 2d physics in a 2d physics engine really appeals to me. Has this been done before in sio2?

Thanks!

hemmi

Posts : 15
Join date : 2009-08-27

Back to top Go down

Using chipmunk and sio2 Empty Re: Using chipmunk and sio2

Post  uprise78 Sat Oct 17, 2009 8:06 pm

Just use bullet constrained to 2 dimensions. Otherwise you'll have a lot of hacking the SIO2Object and other SIO2 core elements.

uprise78

Posts : 228
Join date : 2008-10-31

Back to top Go down

Using chipmunk and sio2 Empty Re: Using chipmunk and sio2

Post  sio2interactive Sat Oct 17, 2009 8:17 pm

From my perspective, I doubt its practical... it's either one or the other... but not both together... or you got block of code that are 100% separated and not dependent... which I doubt would happen in a game Wink
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

Using chipmunk and sio2 Empty Re: Using chipmunk and sio2

Post  hemmi Sat Oct 17, 2009 8:28 pm

Is that hard to do? Are you just manipulating objects in 2d or does bullet have a way to only process them in 2d? I'm starting to see more and more how integrated everything is in sio2. I was a little worried about performance but after running the demos I'm hoping it won't be a problem. This is a fighting game with 4 players as physics objects that can jump. Punch / kick / hit testing will probably be done with a more primitive approach because its based more on player distance and angle and less on specific hit locations and real hand-to-opponent's-body collisions. However I'd like to implement missiles (spells, bombs, whatever) as real physics objects. Is that reasonable with the performance limitations of the iphone?

hemmi

Posts : 15
Join date : 2009-08-27

Back to top Go down

Using chipmunk and sio2 Empty Re: Using chipmunk and sio2

Post  sio2interactive Sat Oct 17, 2009 8:32 pm

Im pretty sure its possible, as long as you know what you are doing...
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

Using chipmunk and sio2 Empty Re: Using chipmunk and sio2

Post  hemmi Sat Oct 17, 2009 8:38 pm

So there's nothing extra I can do with bullet to make it act on certain objects only in 2d? It's fine to just treat the objects as if they were 2d and nothing more?

hemmi

Posts : 15
Join date : 2009-08-27

Back to top Go down

Using chipmunk and sio2 Empty Re: Using chipmunk and sio2

Post  sio2interactive Sat Oct 17, 2009 8:58 pm

Well you'll always have to pass the Z value but... yeah sure you can treat them as 2D if you want...
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

Using chipmunk and sio2 Empty Re: Using chipmunk and sio2

Post  hemmi Mon Oct 19, 2009 7:45 pm

Cool, Thanks a lot Smile

hemmi

Posts : 15
Join date : 2009-08-27

Back to top Go down

Using chipmunk and sio2 Empty Re: Using chipmunk and sio2

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


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