Author Topic: Side Scroller Playertype  (Read 743 times)

A playertype that does not allow the player to turn or move left or right (from the players perspective). For usage with the 2d camera mod.

I remember this as one of the first addons i saw. I thought it was under the playertype_mario moniker, not sure. Maybe the old rtb catalogs has them?

*edit* not finding it, i dont know if ill get the chance to work on this today but if you wanted to try yourself, take the overthesholder player I saw in swollow's rtb archive and look at how it displaces the camera, then make a version of your own with the side offset instead. Thats my best guess right now without looking at any code myself.

*edit two* oh and make sure to override the turnLeft() and turnRight()commands in a package for this player so you dont have silly things going on with that... this might actually be the most tricky aspect to that, I'd imagine.
You may have to try something a tad different to have the camera just follow along the side of the player now that I am thinking about it, but dont feel afraid to try it out yourself, worst thing that happens is you learn something.
« Last Edit: October 18, 2014, 10:00:51 AM by Ladios »