Firstly, hello to everyone. I’m new here and this is my first post.
I’m having a little issue regarding sprite collision detection. I can make one box falling on another work fine, so I think I’ve got the hang of it in principle. However, I am doing something a little different.
I am creating a new 64x64 sprite scaled down to 8x8. During the game loop I am then expanding it until it’s reached its full size. All ok so far.
My problem is I want to detect a collision if another box expands into an existing one. It would seem the onCollision event doesn’t fire if the sprite itself doesn’t “move” into the space of the other.
Is there a way to check if an expanding sprite touches another (as opposed to a moving sprite)?
Thanks! [import]uid: 8683 topic_id: 1934 reply_id: 301934[/import]