CheeseLord / plaid

PLAtformer In D
MIT License
0 stars 0 forks source link

Automatically handle horizontal sizing/movement of wViewRect #29

Open kronmillerg opened 8 years ago

kronmillerg commented 8 years ago

The level shouldn't encode the width or x position of the wViewRect. Instead, that should be automatically determined based on the aspect ratio of the screen, and it should move to follow the player, in some reasonable manner (so that levels can be wider than what happens to fit on the screen).

By contrast, we may want to have a strictly-enforced wViewRect height, so the player can't see far ahead (above) in the level and gain an advantage that way. That's a topic for another issue; this one only deals with the horizontal question.