Jump to content

Umpa

Member
  • Posts

    9
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

About Umpa

Umpa's Achievements

0

Reputation

  1. 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
  2. well ive not used the tool much before so i wont be able to work it out myself , i messed about with the code and tried somethin like, if image is visible do image.hide but that didnt work either, meh i dunno :/
  3. almost works but it flashes on and off over and over, i just want it to flash up once and then dissapear again.
  4. i tried that but i couldnt get it to work :S could u tell me what code to put in the timer? if any, or do i just change properties or somethin, as i said im really not very good with delphi, sorry.
  5. right, dont have it with me like i thought i did but here is what it looked like, very simple, begin button starts the target moving and shoot is suposed to add to score if the circle is over the target but i cant find out how to tell if the target is the same position as the crosshair.
  6. yeah ill get one of the form but i wont bother with the code because there isnt much there and its probly wrong is there any code u know to hide an image after a certain amount of time?
  7. sorry that looked bad, we did speak through pm but he couldnt help me as he hasnt used delphi, if anyone else can help, please do.
  8. I am currently making a very very simple game, it doesnt need to be great but it needs to work and im having problems finding the code for some things. I have an image which is a target, it moves around the screen and i have a much smaller image which is a crosshair(stays in the middle of the screen), i also have a button which is suposed to be the shoot button. I have made a small image appear when i click the button but i need to make it disapear very quickly after, i need this to appear and disapear everytime i click the button, this is the first thing i need help with. Secondly i need to increase a variable i called score by 1 everytime the button is clicked while the crosshair is over the target. Very simple i know but im really not a good programer and need help with the code, thanks Re: This is in delphi
×
×
  • Create New...