Camera Pan and Zoom

I have finally implemented Camera Pan and Zoom for the map! I thought it would be painful, but it turns out most of work I put into building my engine made things simple. I also made the camera follow the mouse as well as the cursor!

You can also see my first grid! It is only 1 pixel wide no matter the zoom level, but I will change that soon enough.

Leave a comment