PDA

Click to See Complete Forum and Search --> : shoot'em up-game


joink
Jul 16th, 2001, 04:57 AM
hey,

I'm trying 2 create a very simpel shooting game in vb6.0.
With targets in a frame picturebox as gun and the mouse to aim.
but how do I make the gun always "look" @ my mouse? How do I make it so you can see and hear the gunshot & the targets move up and down? :confused:

I'd like some codes please.

PsychoMark
Jul 16th, 2001, 08:09 AM
Maybe this'll help: http://www.vbforums.com/showthread.php?s=&threadid=73493

nishantp
Jul 17th, 2001, 08:24 AM
I wrote a game just like that. It takes a lot of code. Use APIs for the sounds and use the mouse_move event to keep your gun inline with the mouse. It'll take some work.