Re: look into control array for colission detection



"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..


.



Relevant Pages

  • look into control array for colission detection
    ... Im sort of new to vb6. ... I made an image array during runtime. ... array to see if the fire-ball left the screen the unload it. ... Still good to me that I dont leak mem. ...
    (microsoft.public.vb.controls)
  • Re: Conversion Problem
    ... prefix is written or not depending on the exact type of the variable. ... VB6 side Ive got a xinteger array... ... the _x array is a single dimension array whose size is the same as the ... dim arr1 ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Is VB.NET Stable??
    ... 3/4 of VB6 developers don't use classes. ... You are a junior programmer in spirit and more than likely an in-patient ... I know how to use the rest of them; I just dont think ... you are still only 15% of the developer you could have been ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Is VB.NET Stable??
    ... 3/4 of VB6 developers don't use classes. ... You are a junior programmer in spirit and more than likely an in-patient at ... I know how to use the rest of them; I just dont think ... 85% of being a good developer is about communication, ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Conversion Problem
    ... VB6 side Ive got a xinteger array... ... the _x array is a single dimension array whose size is the same as the 3D array VB6 side. ... that vb8 does not support arrays declared like arr1because when you try to do the Fileput it just gives an error saying only 2 dimentional arrays are supported - what a load of tat!!! ... dim arr1 ...
    (microsoft.public.dotnet.languages.vb)

Quantcast