josefnpat / vapor

Vapor - LÖVE Distribution Client
zlib License
77 stars 24 forks source link

Coverflow menu scrolling looks jaggy... #87

Open Yonaba opened 11 years ago

Yonaba commented 11 years ago

I have encountered some issue with the latest 0.2 release of Vapor (well, that is the only one I tried). And I was wondering if it was just me or a known glitch. The coverflow menu scrolling looks jaggy. I uploaded a video to illustrate this.

Regards, Roland.

josefnpat commented 11 years ago

The problem is that vapor tries to download each image as it goes past them.

At this point, I think it would make more sense to just download all the images from the start to avoid this jaggy issue.

Thank you for bringing this up @Yonaba !

qaisjp commented 11 years ago

or use coroutines (to download asynchronously whilst you pass through, the download will stop once it is out of the threshold) and a rotating "loading" icon whilst the image is nil.

threshold = IMAGES_VIEWABLE_ON_EITHER_SIDE + 3

Bobbyjoness commented 9 years ago

@Josefnpat my pull request recently accidentally received a commit that fixes this. I made it look nice now.

josefnpat commented 9 years ago

@Bobbyjoness please provide this as a separate pull request that is associated with this ticket.