Thursday, February 21, 2019

c++ - What do I need to implement a side-scrolling screen, like in classic platformer games?


I'm working on a game in Allegro for C++. I'm stumped about how to scroll the screen.


I'm trying to make the screen scroll with the player, as it does in classic side-scroller games such as Super Mario Brothers. What is the approach I should take to implement such behavior?




No comments:

Post a Comment