How do you prevent screen from moving down again, just up (like Doodle Jump)
Simple Gamer Arts
Member, PRO Posts: 305
So the actor is jumping upwards, so the screen follows actor up... How do I prevent the screen from moving down again if the actor were to drop a bit? (the same as a Doodle Jump, the screen only moves up but not back down, actor dies if touches the bottom of screen; I would actually like to do this very thing)
Comments
Create a second (invisible) actor to control the camera. Have a rule in it, that says if hero.Y > self.Y constrain self.Y to hero.Y
@pHghost You sir or mam, are my hero. Thank you, it worked beautifully.
Sounds like these templates might help you out. They were made quite a few years ago but I had a quick test and it still seem to hold up.
http://forums.gamesalad.com/discussion/18053/free-doodle-jump-template-toastkitten
Best,
Two.E
GSLearn.com | Templates | Free Demos | Udemy Course
@Two.E Thanks for that!