Is this possibe in ChipMunk?
Posted: Sat Jun 21, 2008 11:36 am
Hello, I've only recently downloaded Chipmunk - Thank you very much Slembcke! - and Brucey (I am using the Blitzmax module). I have looked at the command and played around with some of the demos. I have an idea of a game I wish to write using ChipMunk and I was wondering if it is possible to do the following things in ChipMunk and also how they can be implemeted. I am a beginner so I apologise if I have asked anything obvious.
These are all to be implemeted in a 2d platform game.
- I want to have my main character, and possibly some enemy characters represented by a polygon outline. Maybe even a box. However currently boxes tip when they reach the edge of platforms I want my box to not rotate at all and also to be able to stay on the platform until the last corner is no longer in contact with the platform. How Can I make a box which will not rotate? This is also good because I do not want my main character to tip up at an angle when going up slopes. I can also think of other features in the game which could use non-rotating boxes. I have thought of using a circle but these fall off platforms early too! (when you walk off a platform i want my man to stay on the platform until the last part of him is no longer in contact with the platform)
- I want to have automatic doors which open by sliding into the walls. Hence they are like a thin rectangle which gets shorter each frame (while they are opening). How can I implement this in Chipmunk? (i don't need code just an idea of what technique to use)
- I would like to do moving platforms (like all good platform games
). What commands should I use to do these. Won't these rotate round when something lands on them? How can I fix them in place so they don't rotate but can still move?
I really appreciate any help. Thank you very much - Rico
These are all to be implemeted in a 2d platform game.
- I want to have my main character, and possibly some enemy characters represented by a polygon outline. Maybe even a box. However currently boxes tip when they reach the edge of platforms I want my box to not rotate at all and also to be able to stay on the platform until the last corner is no longer in contact with the platform. How Can I make a box which will not rotate? This is also good because I do not want my main character to tip up at an angle when going up slopes. I can also think of other features in the game which could use non-rotating boxes. I have thought of using a circle but these fall off platforms early too! (when you walk off a platform i want my man to stay on the platform until the last part of him is no longer in contact with the platform)
- I want to have automatic doors which open by sliding into the walls. Hence they are like a thin rectangle which gets shorter each frame (while they are opening). How can I implement this in Chipmunk? (i don't need code just an idea of what technique to use)
- I would like to do moving platforms (like all good platform games

I really appreciate any help. Thank you very much - Rico