Results 1 to 23 of 23

Thread: Matrix-based game help

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2001
    Location
    Michigan
    Posts
    23

    Question Matrix-based game help

    I'm a long time VB user, but I want to get into graphics. I want to make an online 2d matrix game. It is to be an adventure/combat game of people and tiles made out of icons (32x32). I have no clue where to begin.

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    How to show the gfx: BITBLT.
    http://vbden.tripod.com/
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  3. #3
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    There are lots of vb gaming sites! Just search for "VB Game Article" or something

    There's also an excellent Lander game tutorial here at VB-World.net, it might help
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

  4. #4
    Zaei
    Guest
    For starters, cut out the "online" part. Just go with the graphics for now. Then, when you are ready, start over, and code it for online play. It may sound like a pain, but this way, you wont hate yourself when you get in over your head (personally, i never want to try to program networking code =).

    Z.

  5. #5
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    But Zaei remember TOW you're going to have to
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Jun 2001
    Location
    Michigan
    Posts
    23
    Learned BitBLT thru and thru in about an hour.
    God where has it been all my life?

    Things are all downhill from here, so hop on the skis!
    This is gonna be L33T LIEK JEFF K.

  7. #7
    Hyperactive Member
    Join Date
    Aug 1999
    Posts
    482
    <-- Taught jack BitBlt

  8. #8

    Thread Starter
    Junior Member
    Join Date
    Jun 2001
    Location
    Michigan
    Posts
    23
    <-- has known preogeix for 5 years

  9. #9
    Hyperactive Member
    Join Date
    Aug 1999
    Posts
    482
    <--- Amazed jack can't spell the name right

  10. #10

    Thread Starter
    Junior Member
    Join Date
    Jun 2001
    Location
    Michigan
    Posts
    23
    typo damnit
    comeon it was 4am

  11. #11
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    (D*mn, VB-World ate my post... and it was almost 30 lines long )

    Hey Jack, if you like BitBlt, you might wanna try DX...
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

  12. #12

    Thread Starter
    Junior Member
    Join Date
    Jun 2001
    Location
    Michigan
    Posts
    23
    DX sounds scary...

  13. #13
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Take my word for it; DX is scary at the start ...
    Absolute Power corrupts Absolutely... But of course is only available in a C++ flavour. If you are really serious in making a game you need C++ & DX.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  14. #14
    Zaei
    Guest
    But of course, that is why i program. I like to play god =).

    Z.

  15. #15
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    It's easy if you use one of those "easy-to-use" wrapper modules
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

  16. #16

    Thread Starter
    Junior Member
    Join Date
    Jun 2001
    Location
    Michigan
    Posts
    23
    I need help doing TRANSPARENCIES in BitBlt.
    Ive got my map complete but now I want to overlay objects to it that dont take up the full square. Each square is 16x16 pixels and the grid is 25x21 tiles. The map is 101x101 tiles (made it odd just to have a CENTER)

  17. #17

    Thread Starter
    Junior Member
    Join Date
    Jun 2001
    Location
    Michigan
    Posts
    23
    up

  18. #18

    Thread Starter
    Junior Member
    Join Date
    Jun 2001
    Location
    Michigan
    Posts
    23
    In 12 hours you'd think someone would reply...
    YOU PEOPLE ARE ABSOLUTELY NO HELP WHATSOEVER

  19. #19
    Hyperactive Member VBD's Avatar
    Join Date
    Apr 2001
    Location
    The Place Above The Place Below Heavin
    Posts
    278
    You won't just need winsock! You need a master file that computers automaticly download to get IP's and upload their own.. To do this you may want my FTP control!

    For it: E-Mail me at
    [email protected]

  20. #20
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    Sorry Jack, I could tell you what happened the last 48 hours or so but you just wouldn't believe

    Anyway, you'll need a MASK or you'll have to use TransBlt (it only works in Win98 so that's probably not a good choice). Look in the Lander game here at VB-World.net, it might help, or Fox's web site (there are lots of others but I can't remember )
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

  21. #21
    Zaei
    Guest
    Jack, in the last, say, 3 months, there have been at least 10 questions about Transparencies with BitBlt. Search before you post.

    Z.

  22. #22

    Thread Starter
    Junior Member
    Join Date
    Jun 2001
    Location
    Michigan
    Posts
    23
    Zaei i dont know if you knew this or not, but I ALREADY LOOKED IN THE ARCHIVES AND ALL I GOT WAS SOMEONE POSTING THE SAME LINK IN EACH QUESTION- and that link was of no use to me.

    VBD explain yourself! hehe

    Jotaf I dont know how to mask :P



    If you guys couldnt tell Im new at graphics.

  23. #23
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    There are loads of mask creators, I'm sure you'll find one.

    Anyway, what you have to do is have the transparent parts in the image BLACK and then make another image, the mask, where the transparent parts are WHITE and all the rest is BLACK.

    Clear now?
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

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