Retna
Sweet!
Wed Mar 17, 2021 9:43pm
67.190.28.76

Do you scroll the viewport and the player position at the same time when they press the direction? I might try doing that too...

    • Got the scrolling working now. - Erik_, Wed Mar 17 2021 5:28pm
      Looping gif example:
      • Sweet!- Retna, Wed Mar 17 2021 9:43pm
        • This is the second time of me writing this after clearing... I guess that's definitely a sign it needs to be rewritten. :) * Player position holds x/y coordinates on the tile map. * Screen is drawn based on player xy as the starting point and drawn until it reaches the defined screen width and ... more
          • I removed the "if player's position in the x/y is less than so and so" and just made the player's screen position constant. I was having a weird issue where as you approached 1,1 on the map, you would move 2 tiles instead of one. The new way fixes this. To get the player's map position, I just ne... more
  • Click here to receive daily updates
    "Forces act when not restrained" - Puckdropper