Camera panning not so smooth in map object
Posted: Sat Jul 06, 2019 12:59 pm
So the camera panning in my tile map level leaves a lot to be desired...not smooth. Can't figure out why, because fps is fine and I render less tiles on average than whats on the screen. Here's the class that most likely has the problem: https://pastebin.com/TtrWcwc8
one of the past versions of this class had much smoother panning, but other problems: https://pastebin.com/TtrWcwc8
to visit my repo on github so you can recreate it please visit: https://github.com/GCGsauce/RPG-Game-LUA
one can go to the second commit and run that to see the smooth panning, just make sure to copy the libraries folder to that project directory. thanks!
one of the past versions of this class had much smoother panning, but other problems: https://pastebin.com/TtrWcwc8
to visit my repo on github so you can recreate it please visit: https://github.com/GCGsauce/RPG-Game-LUA
one can go to the second commit and run that to see the smooth panning, just make sure to copy the libraries folder to that project directory. thanks!