Open kthakore opened 13 years ago
Hey so the scrolling is better. But there is a bug. Change x, and y and scrolling gets weird:
https://github.com/kthakore/Zombie-Trap/blob/master/lib/ZT/Camera.pm#L9
What do you mean "it gets weird" ? I dont see anything strange...
i cant scroll right and right+down as smoothly
Kartik Thakore
On 2011-08-10, at 2:49 AM, FROGGSreply@reply.github.com wrote:
What do you mean "it gets weird" ? I dont see anything strange...
Reply to this email directly or view it on GitHub: https://github.com/kthakore/Zombie-Trap/issues/8#issuecomment-1770354
hmmm, maybe something about floats that get passed to rect->x/y which are ints...
Add some parallax and smooth scrolling as mentioned here.
https://github.com/kthakore/Zombie-Trap/commit/43bc14b178fb3c40c4339cf882edebe21048514c