Using chipmunk and sio2
3 posters
Using chipmunk and sio2
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!
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
Re: Using chipmunk and sio2
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
Re: Using chipmunk and sio2
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
Re: Using chipmunk and sio2
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
Re: Using chipmunk and sio2
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
Re: Using chipmunk and sio2
Well you'll always have to pass the Z value but... yeah sure you can treat them as 2D if you want...
Permissions in this forum:
You cannot reply to topics in this forum
|
|