Re: look into control array for colission detection
- From: "Ken Halter" <Ken_Halter@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 31 Mar 2005 07:26:21 -0800
"bluemech" <bluemech.1mr5xw@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:bluemech.1mr5xw@xxxxxxxxxxxxxxxxxxxxxxxx
>
> Hey, Im sort of new to vb6. I dont know how to use functions, api
> calls, modules or anything else close to that. I know stuff like
> "image1.left = image2.left + 3". bad hah. But Iv taken on the task of
> programming a shooter game. So far "I THINK" I have the animation
> timming down, my ship's movement(no bitblt not enough learning yet) and
> , shooting. My problem is in the shooting.
>
> I made an image array during runtime. That fire-ball is moving as
> another is made. from here on is CRAZY. I need to look through the
> array to see if the fire-ball left the screen the unload it. I think
> Iv done my best but it doent unload any untill the last I shot leaves.
> Still good to me that I dont leak mem. My next and worse problem is
> looking though the array to see if the fire-ball hits a moving
> objet(soon will be many in an array). I will leave the source. This my
> be simple, but I think if I knew more about vb6 and what it can do(and
> how can I do it) I may be able to get it. Like I said "no bitblt", I
> looked at a lot of sites about it, and I dont understand enough to try
> it.
>
> I would love to do the game in DirectX, but wow did that look crazy.
> Should I try do learn it while I learn VB6. and could I program DX in
> VB or do I need to learn C or C++ to do DX.
>
> Thanks for (all/any) help.
>
>
> +----------------------------------------------------------------+
> | Attachment filename: game.zip |
> |Download attachment:
> http://www.codecomments.com/attachment.php?postid=1452826 |
> +----------------------------------------------------------------+
>
>
> --
> bluemech
> ------------------------------------------------------------------------
> Posted via http://www.codecomments.com
> ------------------------------------------------------------------------
Planet-Source-Code.com has several collision / DirectX samples. Try
searching there. Be sure to select the VB category first.
--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
Sign up now to help keep VB support alive - http://classicvb.org/petition
Please keep all discussions in the groups..
.
- References:
- look into control array for colission detection
- From: bluemech
- look into control array for colission detection
- Prev by Date: Re: Date Problem
- Next by Date: Re: Date Problem
- Previous by thread: look into control array for colission detection
- Next by thread: Adding small icons to the column headers of the List View
- Index(es):
Relevant Pages
|