What is the most basic form of writing an if statement to detect a collision?
I have two sprites and I basically want one sprite to be moved along by the other (The other sprite has predefined movement behaviour whilst the other sprite is moved by the arrow keys on the keyboard.
Imagine it like the player jumping onto the roof of an already moving spaceship.
Please let me know if you require any more information from me, I am happy to provide this for my space game.