I'm trying to achieve a great camera for my 2D platformer and I'm using Mario games as my model of how it should work. It looks like it would be good to have the camera follow the player along X, but Y should only be scrolled if the player is jumping past a certain height on the screen, such as when you land on a platform close to the top of the screen or like in mario when you use a cape or something and fly way above the level. If Y scrolls all the time, it doesn't look very good and feels too jumpy with too much motion going on. This might be a little hard to explain, so I'll use a video and article:
[url:2gsn5lyw]http://replicaisland.blogspot.com/2010/01/elusive-perfect-platformer-camera.html[/url:2gsn5lyw] (this article has the video embedded as well if you want to go straight to this)
I've tried all sorts of complex things involving the Advanced Camera Plugin. My most recent attempt was to try to use a "window" method like is mentioned in the linked article. In theory, when the player pushes up against a box around him, the window scrolls appropiately, otherwise it stays still. I did this by putting a Box at the top of the screen, (there would be one at the bottom as well) then using a couple cameras and camera switching and multiple layers with sprites and things, but it gets confusing and still won't work right.
If anyone knows how to get this to work (a camera system like in SMB3 or SMW), it would be an amazing accomplishment and immensely appreciated.