Access of Speed 2 - Race Game-VBForums
Results 1 to 19 of 19

Thread: Access of Speed 2 - Race Game

  1. #1

    Thread Starter
    Lively Member Mikle's Avatar
    Join Date
    Oct 2009
    Location
    Tuapse, Russia
    Posts
    95

    Access of Speed 2 - Race Game

    I offer you a 3D race game in VB6 using dx_vb. Source code included.
    Need the support of at least 2_0 shaders:
    http://mikle.ucoz.com/load/0-0-0-8-20
    Last edited by Mikle; Sep 14th, 2013 at 04:25 AM.

  2. #2
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,346

    Re: Access of Speed 2 - Race Game

    Cool! Although, trying to move the car doesn't do anything when running the application. What are the keys to play the game?

    Edit:

    Just noticed the controls are listed in the "Read Me" file although, that doesn't solve the problem of the car not moving when I press the arrow keys, etc.

    If I change from "Automatic" to "Automatic for beginners" the car moves.
    Last edited by Nightwalker83; Jun 2nd, 2012 at 03:46 AM. Reason: Adding more!
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    Please consider giving me some rep points if I help you a lot.
    Please rate my post if you find it helpful!
    Technology is a dangerous thing in the hands of an idiot! I am that idiot.

  3. #3

    Thread Starter
    Lively Member Mikle's Avatar
    Join Date
    Oct 2009
    Location
    Tuapse, Russia
    Posts
    95

    Re: Access of Speed 2 - Race Game

    In the manual and normal automatic transmission after starting the car is in neutral, to move forward (or backward), you must press <A> (or <Z>).

  4. #4
    Member
    Join Date
    May 2012
    Posts
    45

    Re: Access of Speed 2 - Race Game

    Nice game. But Handling is not that great.
    The cars are not moving, They are gliding
    Not only Time and Tide, even Tech waits for none!


    My Desktop: Intel Pentium G620 + Intel DH61SA|4GB DDR3-1333 RAM|Dell IN1930|WD Caviar Blue 250GB
    My Netbook: Intel Atom N450|2GB DDR2-667 RAM|10.1" WVGA|WD 160GB
    My Notebook: HP Compaq Presario C722TU

  5. #5
    Member
    Join Date
    Jul 2012
    Posts
    52

    Re: Access of Speed 2 - Race Game

    cool I like it.. :0

  6. #6
    Junior Member MetallicArt's Avatar
    Join Date
    Sep 2012
    Location
    Germany
    Posts
    24

    Re: Access of Speed 2 - Race Game

    this is... awesome!!
    i didn'T know you could do things like that in VB!
    well... how much of it is actually done using the ACTUAL native VB codes and how much is.. kind of external coding?

    could you do real reflections too? i think the ones i saw were environment mapping, right?

  7. #7

    Thread Starter
    Lively Member Mikle's Avatar
    Join Date
    Oct 2009
    Location
    Tuapse, Russia
    Posts
    95

    Re: Access of Speed 2 - Race Game

    dx_vb.dll is not written in VB6 - this is DirectX9 port for VB6. The rest of the code in VB6.
    How are realistic reflections, can be found here, in post #14, article:
    http://www.vbforums.com/showthread.p...&daysprune=365

  8. #8
    Lively Member
    Join Date
    Jan 2010
    Posts
    82

    Re: Access of Speed 2 - Race Game

    i have to say this really amazing...way beyond i know what VB 6.0 capable of

  9. #9
    Lively Member
    Join Date
    Aug 2008
    Location
    Denmark
    Posts
    79

    Re: Access of Speed 2 - Race Game

    I agree its quite impressive. Congrets!
    @jedifuk: VB6 is perfect capable for games. The trick is to get access to the graphics and sound card effectively. This can be done using OpenGL (using a game engine or even a typelib) or DirectX again using a Bridge like Mikle's dx_vb.dll and the vb6 codes he is sharing or you can use a game engine like ice2d. Developing games with VB6 is actually quite fun and easy if you have a game engine or bridge library. One of the strongest features in VB6 is edit and continue debugging. I often end up coding maybe 20% of the game within debug session - its sick i know!, but very effective. With ice2d game engine you can also make games with edit and continue debugging in vb.net or c#.net if you prefer.

  10. #10
    Lively Member
    Join Date
    Jan 2010
    Posts
    82

    Re: Access of Speed 2 - Race Game

    @dracullsoft, thank you, actually i built some games using DX7 and VB6 awhile ago,
    but after i saw this, i just can't believe so many potential VB6 still hold.
    thank you

  11. #11

    Thread Starter
    Lively Member Mikle's Avatar
    Join Date
    Oct 2009
    Location
    Tuapse, Russia
    Posts
    95

    Re: Access of Speed 2 - Race Game

    jedifuk
    Thank you!
    Here is another near my game ([VB6] 64k game "Hello, Win!"), it is more revealing in terms of features VB6.

  12. #12
    New Member port12345's Avatar
    Join Date
    Apr 2014
    Location
    los angles
    Posts
    3

    Re: Access of Speed 2 - Race Game

    Pleasant computer game. Nonetheless Handling just isn't of which excellent.

  13. #13
    Registered User
    Join Date
    Sep 2014
    Posts
    2

    Re: Access of Speed 2 - Race Game

    Hi mikle.

    Very nice implementation in VB6.
    Just a question. How do I change car models and create different tracks ?
    What editor you used to create/edit .mesh files ?

    Thanks.

  14. #14

    Thread Starter
    Lively Member Mikle's Avatar
    Join Date
    Oct 2009
    Location
    Tuapse, Russia
    Posts
    95

    Re: Access of Speed 2 - Race Game

    Hi bytegame.
    For the conversion of the model, I used their utility:
    https://yadi.sk/d/S9Myegg9bS662
    This is not a universal tool, I changed in the code coefficients and options, here:
    Code:
      ' Scale Model Size and Rotate
      For n = 0 To MeshVertCount - 1
        Vert(n).Pos.X = Vert(n).Pos.X * -0.0007
        Vert(n).Pos.Y = Vert(n).Pos.Y * 0.0007
        Vert(n).Pos.Z = Vert(n).Pos.Z * -0.0007
        Vert(n).Norm.X = -Vert(n).Norm.X
        Vert(n).Norm.Z = -Vert(n).Norm.Z
      Next n
    
      For n = 0 To MeshVertCount - 1
        If MinX > Vert(n).Pos.X Then MinX = Vert(n).Pos.X
        If MaxX < Vert(n).Pos.X Then MaxX = Vert(n).Pos.X
        If MinY > Vert(n).Pos.Y Then MinY = Vert(n).Pos.Y
        If MaxY < Vert(n).Pos.Y Then MaxY = Vert(n).Pos.Y
        If MinZ > Vert(n).Pos.Z Then MinZ = Vert(n).Pos.Z
        If MaxZ < Vert(n).Pos.Z Then MaxZ = Vert(n).Pos.Z
      Next n
    
      ' Center Model Coord
      For n = 0 To MeshVertCount - 1
        Vert(n).Pos.X = Vert(n).Pos.X - (MaxX + MinX) * 0.5
        Vert(n).Pos.Y = Vert(n).Pos.Y - (MaxY + MinY) * 0.5
        Vert(n).Pos.Z = Vert(n).Pos.Z - (MaxZ + MinZ) * 0.5
      Next n
    The View button toggles the display modes. In Single mode only seen subset marked by the cursor (dotted line), Poly mode displays all marked subset.
    When clicking the Save button marked subset stored in the .mesh file.

    To create a landscape I used their utility, and is also not universal. If I find this utility - I will publish.

  15. #15
    Banned
    Join Date
    Jan 2014
    Posts
    50

    Re: Access of Speed 2 - Race Game

    Quote Originally Posted by Mikle View Post
    I offer you a 3D race game in VB6 using dx_vb. Source code included.
    Need the support of at least 2_0 shaders:
    http://mikle.ucoz.com/load/0-0-0-8-20

    THIS PROJECT IS FIRE, A TRUE NFS IN SOURCE CODE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! O MY GOD !




    https://www.facebook.com/MicrosoftVB

  16. #16
    Lively Member
    Join Date
    Aug 2008
    Location
    Denmark
    Posts
    79

    Wink Re: Access of Speed 2 - Race Game

    Hi Mikle,

    Just wanted to say your code is now famous on planet source code submitted by some Rais dude.
    http://planet-source-code.com/vb/scr...75548&lngWId=1

    Go claim it under your own name and you might win the month Coding contest.

  17. #17

    Thread Starter
    Lively Member Mikle's Avatar
    Join Date
    Oct 2009
    Location
    Tuapse, Russia
    Posts
    95

    Re: Access of Speed 2 - Race Game

    DracullSoft, thank you!

  18. #18
    Registered User
    Join Date
    Sep 2014
    Posts
    2

    Re: Access of Speed 2 - Race Game

    Hi Mikle,

    Thanks for your reply and sorry for this delayed post.
    I am happy to announce that I have added Kinect sensor support to your game. Now the game can be played using arm gestures. The gesture module is also written in VB6, although the data from the Kinect is acquired via Visual C++ UDP program. But the results are really beautiful. The code will be made available in a few days from my new site www.posesnap3d.com where your game is featured.

    You can also watch the related video at http://www.posesnap3d.com/media.htm

    I have given appropriate credits to you on the homepage as well as in the download section. Please let me know if I need to add/edit something.

    I also request you to register at http://www.posesnap3d.com/forum/
    I have made special category in the forum for Visual Basic so that you can share your VB6 project links which will inspire other developers to write decent code.

    Please share this with your friends if possible.

    Regards.

  19. #19

    Thread Starter
    Lively Member Mikle's Avatar
    Join Date
    Oct 2009
    Location
    Tuapse, Russia
    Posts
    95

    Re: Access of Speed 2 - Race Game

    Please let me know if I need to add/edit something.
    I have no complaints.

    Your site www.posesnap3d.com is unavailable.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.