Skip to content

Repository files navigation

StardewCamera (MonoGame)

This project replicates the camera system used in Stardew Valley.
It allows pixel art games to render nicely at any resolution by smoothing gently on non-integer scales.
The window resizing behavior also follow the same system as Stardew Valley.

Note: The textures used are from Haunted Chocolatier by ConcernedApe, used here for educational purposes only.
(Source: https://www.hauntedchocolatier.net/media/)


Controls

  • F11 : Toggle fullscreen
  • Z/Q/S/D (AZERTY) : Move camera
  • Arrow Up / Arrow Down : Zoom in / Zoom out
  • Arrow Left / Arrow Right : Adjust camera speed
  • Escape : Quit the application

License

Free to use for any purpose.


Visuals and explanations

https://www.reddit.com/r/monogame/comments/1lfl8wr/i_needed_a_camera_like_stardew_valleys_so_i/

About

This project replicates the camera system used in Stardew Valley. (MonoGame)

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages