Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Make camera scrolling better. #8

Open
kthakore opened this Issue · 4 comments

2 participants

@kthakore
Owner

Add some parallax and smooth scrolling as mentioned here.

43bc14b

@FROGGS FROGGS was assigned
@kthakore
Owner

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
@FROGGS
Collaborator

What do you mean "it gets weird" ? I dont see anything strange...

@kthakore
Owner
@FROGGS
Collaborator

hmmm, maybe something about floats that get passed to rect->x/y which are ints...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.