
-----------------------------------
progrmmar
Sat May 15, 2004 3:14 pm

shooting game
-----------------------------------
hi, 
i am making shooting game. i need to hlep to disapear the man, like when i shoot to man how he disapear adn how new come. can some one plz give me the coad or thell me how can i do this?????

-----------------------------------
Tony
Sat May 15, 2004 3:30 pm


-----------------------------------

var x,y,b:int
Draw.FillBox(100,100,200,200,red)
loop
Mouse.Where(x,y,b)
exit when b = 1
end loop
cls


and when you click the mouse... the box disappears! isn't that amazing? :lol:

-----------------------------------
progrmmar
Sat May 15, 2004 9:06 pm

I am not using mouse control
-----------------------------------
Yo Tony i am not using mouse control, i am using keyboard. My question was there is 3 man on screen one time and when i shoote one how he Disappear and how the new man appear

-----------------------------------
jonos
Sat May 15, 2004 10:15 pm


-----------------------------------
You have to just make the guys, then cover the guys with a box that is the same colour as your background, then you just generate 2 random numbers within your run window boundaries and then move the guy to that point.
