I am currently in grade 10 but am in a grade 11 computer programming class. For our final project we are required to make a game. I am making a version of Space Invaders but I have a major problem. I need to know how to make the program - when i hit spacebar - to produce a bullet on the screen. I have an picture saved as “bullet” in the same directory. Is there a way to make the program so that when I hit spacebar, the program will withdraw the picture from the file, then put it on the form? My teacher has no idea how to do graphics so it is up to us to find out the answers, and I have been wasting valuable time (the last 2 days) trying to find an answer
I am using Delphi 3 and I need a code that will, when I press enter, make an image and put it on the screen. I don’t want to have it so I have a series of images already on screen with .visiable := false, I need something that will make a “bullet” appear on screen then start moving up.