hyperandroid / CAAT

Canvas Advanced Animation Toolkit
hyperandroid.github.com/CAAT
MIT License
727 stars 117 forks source link

setOffset SpatialHash #39

Closed iaincarsberg closed 12 years ago

iaincarsberg commented 12 years ago

If you call setOffset on a CAAT.SpriteImage the SpatialHash code is incorrectly marking an actor as being off screen, so as you pan around the CAAT.Actor doesn't get drawn.

iaincarsberg commented 12 years ago

There are issues with tiling images as well, in that it automatically tiles once more than the setBounds, which cases the SpatialHasher to hide a visible images.

hyperandroid commented 12 years ago

Could you try calling setClip(true) on the actor with tiling image ? Could you please post an example ?

Thanks.

hyperandroid commented 12 years ago

Fixed. CAAT 0.3 build 208.

iaincarsberg commented 12 years ago

Great thanks