Jump to content

Help - Simple code


Recommended Posts

well, using the pic above, the begin button makes the target bounce around the screen, when it hits the edges it goes off in another direction. The dot in the middle is suposed to be a crosshair, so when the user clicks the shoot button, if he hits the moving taget(is in same position), the score goes up by one which is in the top right. The crosshair doesnt move so the user just has to time the button click. If he misses the target nothing happens.

When he shoots i want a small picture to flash up, the picture is a small explosion picture which is suposed to be the shot, i want it to flash up then disapear until the next time the button is pressed.

i need help with the code that finds out if the crosshair is over the top of the target or not and need help with making the image appear and disapear untill the next button press.

Hope this is enough, ask if u need to know some other information.

Thanks for taking time to help me :rolleyes:

Edited by Umpa
Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...