Results 1 to 3 of 3

Thread: [RESOLVED] What's the easiest... [vb6]

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2008
    Posts
    34

    Resolved [RESOLVED] What's the easiest... [vb6]

    Way to make something move with keypresses?

    using keyarray or other ways which i'm not aware of?

    I wanted to know because i'm starting to make a little platformer, and the other question is..

    How would i make it possible for enemies to attack me and then i lose health?

    Any help appreciated, thanks

  2. #2
    Hyperactive Member singularis's Avatar
    Join Date
    Nov 2006
    Location
    Over There!
    Posts
    372

    Re: What's the easiest... [vb6]

    Hi Joe123,

    With VB6 if I remember, you use key events on the form (use the drop down boxes near the top of the IDE).

    If you want to make a decent platformer then learn BitBlt, its a fairly simple graphics API that will allow you to draw 2D sprites quickly. If you learn BitBlt then you could learn how to use getasynckeystate too which would allow nice smooth input.
    If what I said was helpful, give me rep!

    My Complete Games: -- 2D Zone (Space Shooter game) || _2D Zone 2_ || Ninja Blob (2D platformer) || Dren (Co-op up to 4 player base defence game)

    My Projects: -- The Dread Engine (2D VB game Engine) || A* Path Finding


    An excellent site for learning DirectX7, 8 & 9 (for VB6, C# & VB.net) would be: directx4vb.vbgamer.com --- For my projects and games see: pieper.freehostia.com

  3. #3

    Thread Starter
    Member
    Join Date
    Jun 2008
    Posts
    34

    Re: What's the easiest... [vb6]

    Ok thanks :]

    I'll get learning.

Posting Permissions

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



Click Here to Expand Forum to Full Width