Question about using ImagesCollide and SetRotation

BlitzMax Forums/BlitzMax Beginners Area/Question about using ImagesCollide and SetRotation

Sokurah(Posted 2010) [#1]
I'd like to use [b]ImagesCollide[b] between a 'normal' image and one that's been rotated. Y'know, standard stuff like this;

If ImagesCollide (SpaceshipGFX:TImage, x1, y1, 0, TilesGFX:TImage, x2, y2, a) Then

...but if the spaceship only has one frame and I'd like to do the collision with it being rotated...how do I do it?

Sure, I can pre-rotate the spaceship (and it might even be a better solution?) which would solve the problem, but is there a better way of doing it...without having to use 360 times the memory used by the spaceship (or whatever steps I decided to do it in)?


Zeke(Posted 2010) [#2]
ImagesCollide2?


Sokurah(Posted 2010) [#3]
ImagesCollide2?

Haha, (now) I remember the command, but I've never used it so it didn't even enter my mind.

That should do it. Thanks for giving me a kick in the head. :-)