Make camera scrolling better. #8

Open
kthakore opened this Issue Aug 7, 2011 · 4 comments

Comments

Projects
None yet
2 participants
@kthakore
Owner

kthakore commented Aug 7, 2011

Add some parallax and smooth scrolling as mentioned here.

43bc14b

@ghost ghost assigned FROGGS Aug 9, 2011

@kthakore

This comment has been minimized.

Show comment Hide comment
@kthakore

kthakore Aug 9, 2011

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
Owner

kthakore commented Aug 9, 2011

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

This comment has been minimized.

Show comment Hide comment
@FROGGS

FROGGS Aug 10, 2011

Collaborator

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

Collaborator

FROGGS commented Aug 10, 2011

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

@kthakore

This comment has been minimized.

Show comment Hide comment
@kthakore

kthakore Aug 10, 2011

Owner

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:
#8 (comment)

Owner

kthakore commented Aug 10, 2011

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:
#8 (comment)

@FROGGS

This comment has been minimized.

Show comment Hide comment
@FROGGS

FROGGS Aug 10, 2011

Collaborator

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

Collaborator

FROGGS commented Aug 10, 2011

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