I've been trying to make my own 2D bike physics game. It is now coming along quite nicely but I am after a few tips and advice if people are able to help:
1) Adding Gyro effect in the air (brake / accelerate to tilt - doesn't seem to be automatically supported with the physics)
2) Tips and Advice on mobile performance. Any advice on how to handle player collisions / settings to help keep a good fps on mobile devices. Currently I have setup with physics behavior. Body parts are pinned together with revolution joints at the start of the level. I have turned off all sprite collisions to reduce the no collision checks per tick.
3) Best way to scroll to player. Currently the bmx frame sprite has the scroll to behavior. This works fine, except it creates jerky movement sometimes when scrolling.
4) Most efficient way to handle collisions with the track. Currently I have over 8 points on the collision polygon. I tried a whole single track sprite but with around 40 collision points it phew the collisions off. I have now broke down into smaller / reusable track parts.
Any advice wold be appreciated. I've seen a couple of games out there that look like they use physics and have a few particle effects and seem to run pretty smooth on mobile devices. (Mine runs ok but slight stuttering when scrolling at the moment. FPS goes from 30-60 fps