Results 1 to 7 of 7

Thread: Some Form and Module help required please! :)

  1. #1
    Epsilon
    Guest

    Question Some Form and Module help required please! :)

    Hey,
    I really need help on how to do some form programming in visual basic 6.0. I'm trying to design an adventure game and came to the conclusion that some things that I wished to be added to the project I have no idea how to do.

    Firstly,
    "How do you make a form that can scroll automatically when you move your person around?" (The game is from top view)

    Secondly,
    "How do you make your person move in a curved motion in stead of the basic up, down, left and right? I mean, if you held the left button, your person would keep going around an anticlockwise direction."

    Laslty,
    "When your person moves, how can you animate it so it looks like it's feet are moving?"

    I hope you can answer htese question cuz i really need you good advice and help here... thanx...

  2. #2
    Addicted Member csammis's Avatar
    Join Date
    Mar 2001
    Location
    /dev/null
    Posts
    226
    Numbers 1 and 3...doing that with VB forms and objects alone may be difficult...you *might* want to look into DirectDraw and how it's controlled in VB

    Number 2...I'm sure there's a way to do it mathematically, and it's on the edge of my mind just waiting to be found out...but I'm pretty tired right now. I'll think on it and get back to you, okay?
    Things I've Said:
    "Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
    "Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
    "You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"

  3. #3
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Epsilon, you should really be asking this in the games + graphics forum.
    But check out this page anyway : http://members.fortunecity.com/plenderj

    Scroll to the right and grab the game called craft.
    You can rip what you want.
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  4. #4
    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
    Hum, yes, Plenderj's demo may be good for the movement, but other than that it's a bit hard for someone who's doing a simple game with controls

    First of all, how do you want the background to look like? Do you want to use a green background with some objects like trees and bushes around the map that are just image controls? That would be the easier way to scroll I think. If you wanna use another method, it's gonna be harder, if you're using controls. Just tell me which method you wanna use.
    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."

  5. #5
    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
    Hey Plenderj, there's something I noticed in your Craft game... when you start flying up... it continues moving up forever and that's annoying

    A good way to avoid this would be to decrease the player's speed a bit every frame. Try it, it'll be much easier to control
    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."

  6. #6
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    What does what ?
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  7. #7
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Good idea.
    It'll be a pain in the ass for all the angles between up, down, left and right, but I think its a good idea none the less.
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

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