Similar Posts

2 Comments

  1. Great technics)
    Do you think it’s possible to make camera also subpixel-ready for sidescroller-platformers?

    1. Given you’re using an HD drawing surface (usually the application surface), it should be. Try adding the sub-pixel remainder to the camera movement code as well (just like you’d do with the player sprite drawing) and it should now follow the player with sub-pixel precision.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.