Computer Science Canada

shooting game

Author:  progrmmar [ Sat May 15, 2004 3:14 pm ]
Post subject:  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?????

Author:  Tony [ Sat May 15, 2004 3:30 pm ]
Post subject: 

code:

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? Laughing

Author:  progrmmar [ Sat May 15, 2004 9:06 pm ]
Post subject:  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

Author:  jonos [ Sat May 15, 2004 10:15 pm ]
Post subject: 

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.


: