semar
thanks for the help but the
target\image =LoadImage("gfx\target_hit.bmp")
is only loaded to either target 1 or 2 when it is hit ie mouse over and button 1 pressed. it will only be run the once. I cannot put it into an initialisation routine as the image prior to being hit is different so I load it with a target image, check if its been 'hit' then change the image if it has.
The program runs fine, target 1 is red, target 2 is yellow, both move left to right at a set speed. Problem still is that mouse cursor is target 1 image, even though it has been set for its own unique image.
Maybe it would be best for you to run the prog to see exactly what the problem is, but thanks for your input
thanks for the help but the
target\image =LoadImage("gfx\target_hit.bmp")
is only loaded to either target 1 or 2 when it is hit ie mouse over and button 1 pressed. it will only be run the once. I cannot put it into an initialisation routine as the image prior to being hit is different so I load it with a target image, check if its been 'hit' then change the image if it has.
The program runs fine, target 1 is red, target 2 is yellow, both move left to right at a set speed. Problem still is that mouse cursor is target 1 image, even though it has been set for its own unique image.
Maybe it would be best for you to run the prog to see exactly what the problem is, but thanks for your input