Jump to content

camera follow glitching physics


egeres
 Share

Recommended Posts

You can easily see what's the issue in this video I recorded : error.avi

The problem is that once the camera starts following the player, speed increases and the collisions of the tilemap just doesn't work. My idea is to create a simple platformer, but I want very pixelated textures, so I "zoomed" by rescaling both, the player sprite and the layer of the tilemap. This is the code I'm using : https://pastebin.com/sNZ22tmu

And here is the whole project folder : test_game.7z

Does anyone has any idea of why this could be happening ?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...