Log In  


Cart #39543 | 2017-04-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

As part of a Rogue-like OSR D&D game I'm playing around with I'm building random map generator that uses 7x7 tiles rather than the standard Rogue map generation.

Anyway got any ideas on how to make up and left scrolling smoothly display new sprites? Is this a camera() issue?
Thanks in advance.



Old post but just in case: the tile pop issue probably doesn’t come from 'camera' but from 'map'! A cheap fix could be to change your code that detects screen boundaries (to determine were tiles should be put) so that it starts at -1,-1 tiles.



[Please log in to post a comment]