|
|
@ -5,7 +5,7 @@ using System; |
|
|
|
// https://gamasutra.com/blogs/ItayKeren/20150511/243083/Scroll_Back_The_Theory_and_Practice_of_Cameras_in_SideScrollers.php
|
|
|
|
namespace Jumpy { |
|
|
|
class Camera { |
|
|
|
private Rectangle bbox = new Rectangle(0, 0, 1920 / 6, 1080 / 6); |
|
|
|
private Rectangle bbox = new Rectangle(0, 0, 1920 / 4, 1080 / 4); |
|
|
|
|
|
|
|
public int Width { get => bbox.Width; } |
|
|
|
public int Height { get => bbox.Height; } |
|
|
|