Next we are going to create the aiming for our attack.
Create a new function called ‘createAim‘.
Set up a sprite variable callded ‘crosshair‘ and set it to a kind of ‘pointer’. You will have to create a new kind..
For the image set up a 7 x 7 area and draw a red +.
Now wwe are going to add a new sprite called ‘noTarget‘.
This will be an EMPTY sprite image. It is created and destroyed here to help out shooting object later in the project.
Add the ‘createAim‘ to your on start block.
Test to make sure all your functions are working correctly!