I am in the process of developing what I guess you could say is a first person shooter. The player can only move left and right with the arrow keys and must aim with he mouse. The num pad is used to switch weapons. The game plays like a tower defend game. Shoot the enemies down before they get to your base. A paint assembled screen shot is show below to serve as an example as to what I'm after.
Hopefully this all makes sense to you. I am encountering quiet a few problems.
1. I know how to do a scrolling camera and it working so far. The hud wraps around the window making it look like only the back ground is moving. However, the play is created by at least 15 active objects. In order to keep them all in the same place I have them all moving when the player moves by the mouse key. The main Hud object(the orange frame and window) is set the stop when it hits the edge. However the other 14 object will continue to move and will leave their respective spots. Thus I believe that I need to find a away so that when the Main Hud part stops, I need the the other objects to stop as well. Does anyone know how?
2. The second problem I'm encountering is my cursor. When I changes it's shape to one of my crosshair objects by using the change shape command, I get an orange box with the image transparent instead of the transparent object. The box also changes color based on the surface it is currently over. Also when switching weapons my crosshairs change fine but they also suffer from the orange box and only part of them is shown. For example switching to the rocket launcher only allows 1/4th of the crosshair to be shown along with the orange box. I see a resize option for crosshair but its grayed out. Does anyone know how to activate it or know an alternative solution.
3. The last issue I have is dealing with programing weapons. The machine gun shown on the bottom left I am trying to program it to run its animation for as long as the mouse button is held down. Running a loop won't work and I do not see a holding the mouse button down. Does anyone know a solution to this problem.
Thank you all for you time and I look forward to a response.