Hello everyone
I've been doing more research on how to implement scrolling on my NES-like XNA project, and this has led me to the game Metroid.
http://metroid-database.com/m1/lvldata.php
In theory - I have yet to program them but have the data marked up and documented - my maps would run just like in Metroid. Independent of each other but the game would scroll from one map to the next.
I have conceptualized and jotted down how collision detection would work. I'm just stumped how the developers programmed scrolling with the PPU. E.g., if there isn't a level to the left, stop scrolling left. Or move the camera right when the character is in the middle of the screen.
Stuff like that - in addition, remembering which column to draw onto the PPU nametables when the character moves left and right.
Any enlightenment?
I've been doing more research on how to implement scrolling on my NES-like XNA project, and this has led me to the game Metroid.
http://metroid-database.com/m1/lvldata.php
In theory - I have yet to program them but have the data marked up and documented - my maps would run just like in Metroid. Independent of each other but the game would scroll from one map to the next.
I have conceptualized and jotted down how collision detection would work. I'm just stumped how the developers programmed scrolling with the PPU. E.g., if there isn't a level to the left, stop scrolling left. Or move the camera right when the character is in the middle of the screen.
Stuff like that - in addition, remembering which column to draw onto the PPU nametables when the character moves left and right.
Any enlightenment?