i want to know how to do that scrolling in this video and i already asked the guy that made that game another thing and i dont want to fill his email with questions
Originally Posted by just cecil just have values for the cameras x and y position. and when you go out of the visible play area. set the new x and y camera positions.
wait, so when he gets out of the play area new center screen thing? ugh
Originally Posted by just cecil just have values for the cameras x and y position. and when you go out of the visible play area. set the new x and y camera positions.
wait, so when he gets out of the play area new center screen thing? ugh
its not THAT difficult. the example is only 7 events. the scrolling is 6 of them. its really THAT EASY.
that scrolling can be modified to be more like zelda scrolling. when you get to the edge of the screen, instead of going directly to the new screen center, you can stop everything else, scroll the center of the screen to the new one then release everything again.
a bit more complex and requires you to activate and deactivate groups. also recommended you not use any built in movements. otherwise youd have to stop all movements as well. then start them again appropriately.
yeah im always afraid to use that cause of the division. ive done things like that before (snap to grid) and it didnt quite work for some reason. i hate how mmf utilizes floats. i dont even bother anymore.
i know it works. i wouldve done that but mmf is stupid sometimes and im discouraged to use methods that rely on floated values to be rounded to the nearest integer. i wasnt saying he was wrong