Results 1 to 24 of 24

Thread: walking man

  1. #1

    Thread Starter
    Fanatic Member merhaba's Avatar
    Join Date
    Sep 2002
    Location
    Istanbul,Bartin-Gallipoli(Gelibolu-Canakkale)
    Posts
    601

    walking man

    hi there.
    Could you please explain how to "create a walking action"in VB..well I can do it easily using flash..but I only want to know if it is easier in VB...I only know how to "move buttons..labales or any objects on the form... thanks

  2. #2
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    Are you looking to move a man or animate a man, or both at the same time???

  3. #3
    Junior Member
    Join Date
    Nov 2002
    Posts
    18
    First of all, don't do the animation by moving controls around in VB. You'll get a flickery animation. Instead, keep the images of the walking in offscreen memory somewhere, and use a method to copy the data to the visible area. The BitBlt API function is a good place to start - it isn't the fastest way to do this, but it is probably the easiest to understand and learn from.

  4. #4
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    Yes but it also depends on the size of the picture and how fast it is supposed to move...small pictures seldom flicker at all...

    If you are completly new to gaming in VB, then I would start with picture boxes before moving on to BitBlt and then to DX when I was ready....

  5. #5
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    I don't know about pictureboxes - it will leave you dependant on VB controls (I never went through that "phase" myself, just used BitBlt..).
    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
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    When I started programming I didn't know anyone else that could program. I did not have internet. So I pretty much learned by testing and failing. So I made my first small games using picture boxes and stuff. I thought it was easier to understand. It hided a lot of the difficult lines of coding. And it was easier for me to understand collision detection and stuff like that. But that was me for some years ago. I'm not sure what I will recommend for newbies these days.

  7. #7
    Junior Member
    Join Date
    Nov 2002
    Posts
    16
    I made a game in which I moved players around the screen and I think using BitBliting is by far the easiest way to do it. Other than learning the basics behind how to use it, and declaring it as an API, it is very easy to use.

  8. #8
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    Yes in fact it is just as easy as moving pictureboxes....but by using picture voxes you don't need to declare any APIs...

  9. #9
    Member anjulpa's Avatar
    Join Date
    Aug 2001
    Location
    india
    Posts
    43
    i dont think this is the topic the post was started for.
    hey merhaba check out the skeletal animation tut at http://rookscape.com/vbgaming/
    i think that's what he's lookig for

    ppl saw this
    Die, ***** Die !

  10. #10
    Hyperactive Member BramVandenbon's Avatar
    Join Date
    Jan 2002
    Location
    Belgium
    Posts
    502
    hehe, I remembered when I started programming ... I was like 8 years old and asked my dad "how are games made ?" ... so he intruduced me to macro's in excel. It was very easy because you could just press record and after you pressed stop you could examine the code. I learned a lot then and made some really cool games in Excel. I made a AI-chess player when I was 12 (in Excell VBA) hehe I didn't know about internet neither but ... that's REAL programming right ? achieving much without any resources at all

    anyway ... Use Flash or VB ... it all depends of what you're trying to do. Is it a game you're making ? or just a kind of cartoon ? Is it 3D or 2D ? I would stick to flash if it's 2D and no user-input is needed.
    ____________________________________________

    Please rate my messages. Thank you!
    ____________________________________________
    Bram Vandenbon
    http://www.bramvandenbon.com

  11. #11
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    I can't see any reason to use Flash in stead of VB for a 2D game...

  12. #12
    Hyperactive Member BramVandenbon's Avatar
    Join Date
    Jan 2002
    Location
    Belgium
    Posts
    502
    ok how much reasons do you want ?

    - flash has nice motion tweening and shape tweening (that's what flash is all about)
    - you don't need to make calculations with flash, motions are 100% visual. Where in VB you would need to program it
    - there's no flickering at all
    - you can easely integrate it in websites
    - it has lots of smoothing options eye-candy

    Flash is really made for this stuff Last year I was in a school project sponsered by microsoft. And I made a very nice 3D-maze. People where really impressed by the power of flash. But actually I made it in 30 minutes.
    ____________________________________________

    Please rate my messages. Thank you!
    ____________________________________________
    Bram Vandenbon
    http://www.bramvandenbon.com

  13. #13
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    I know perfectly well how to use Flash...and I know perfectly good what Flash is capable of doing, but making BIG games with databases and Lots of animations, I don't think I would have choosen Flash for that........But why are you talking about flickering in VB...have you ever made a game in DX...I have never had any problems with flickering in my VB games. So I really want to see your code if you are capable of making flickering games in VB using DX....

    Or maybe I don't want to look at it...[/

  14. #14
    Hyperactive Member BramVandenbon's Avatar
    Join Date
    Jan 2002
    Location
    Belgium
    Posts
    502
    I don't have flickering in DX neither but this guy is a noob are you gonna ask a noob to choose Direct X 8 instead of Flash ?! huh ?

    About the database ... I know I would try db's in Flash neither (however it's possible). I would also do this in VB ... that's why I asked if it was a cartoon (=> flash) or a game (=> VB)
    ____________________________________________

    Please rate my messages. Thank you!
    ____________________________________________
    Bram Vandenbon
    http://www.bramvandenbon.com

  15. #15
    Hyperactive Member BramVandenbon's Avatar
    Join Date
    Jan 2002
    Location
    Belgium
    Posts
    502
    unlesssssssssss you want a cartoon with a Database
    ____________________________________________

    Please rate my messages. Thank you!
    ____________________________________________
    Bram Vandenbon
    http://www.bramvandenbon.com

  16. #16
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    I have a database with cartoons.......just kidding with you...

  17. #17
    Hyperactive Member BramVandenbon's Avatar
    Join Date
    Jan 2002
    Location
    Belgium
    Posts
    502
    is it a Ren and Stimpy Cartoon ? would explain a lot
    ____________________________________________

    Please rate my messages. Thank you!
    ____________________________________________
    Bram Vandenbon
    http://www.bramvandenbon.com

  18. #18

    Thread Starter
    Fanatic Member merhaba's Avatar
    Join Date
    Sep 2002
    Location
    Istanbul,Bartin-Gallipoli(Gelibolu-Canakkale)
    Posts
    601

    answer my thread..please

    okay guys

    it is me that started this thread..but still I havent got the answer
    as how to craete " a WALKING ACTION MAN" in VB...this I can do easily in flash...but how is it in vb..
    thanks guy...





    there is no lazy man.but there are those that havent been MOTÝVATED...

  19. #19
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    And we have still not got any answer to what method you are using for your graphics in VB. If you are using pictureboxes. Then you can load in the diffrent pictues of the animation at runtime using a timer. If you are using BitBlt. Then place all the pictures in pictureboxes, and then blt them to the screen at runtime. If you are using DX then make a big sprite with all the pictures of the animation and blt the part of the sprite you want to show, to the back buffer. You can do that if you are using BitBlt to, but then Blt it to the screen...

  20. #20
    Hyperactive Member BramVandenbon's Avatar
    Join Date
    Jan 2002
    Location
    Belgium
    Posts
    502
    well merhaba you know how to move objects... now learn to work with the timer control. And that's all you need

    Ofcourse you could use a usercontrol instead. Make the leggs of the person move inside the usercontrol. Put the control you made, in the form and move it with another timer.

    We're helping. But a dialog should go in 2 directions.
    ____________________________________________

    Please rate my messages. Thank you!
    ____________________________________________
    Bram Vandenbon
    http://www.bramvandenbon.com

  21. #21
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    We're helping. But a dialog should go in 2 directions.
    AMEN....

  22. #22
    Hyperactive Member BramVandenbon's Avatar
    Join Date
    Jan 2002
    Location
    Belgium
    Posts
    502
    you see a dialog is a bit like a walking man !



    ...
    ow actually it's not

    ...

    >>makes no sence
    ...
    > Well Bram, just shut up then
    ...
    >> Ok then


    hehe, at least that's a dialog

    or a "monolog" ... Hey we should make a new post about this important conflict

    and now, back to the topic of this post
    ____________________________________________

    Please rate my messages. Thank you!
    ____________________________________________
    Bram Vandenbon
    http://www.bramvandenbon.com

  23. #23
    Member CrazedWombat's Avatar
    Join Date
    Oct 2002
    Location
    asylum
    Posts
    47
    hey
    wow BramVandenbon, your starting to make me think that the cracked your smoking is getting to your brains, you should know that you shouldnt let the voices in your head reach the public...

    shut up you, dont talk that crazytalk, the world needs to hear us

    er...you didnt hear that...um...anyways, stop smoking crack, weed is better

    no no crack...crack...

    running away now...-wheres that closest?-
    Wombat

    "I like to go to the schoolyard where i can watch the little kids jumping and screaming....but they dont know im using blanks"

    "Before you set yourself on fire, remember to take off your shoes... nothing smells worse than burning rubber."

    "They advertise that certain laundry detergents can take blood stains out of clothes, i say that if you have blood stains on your clothes, maybe your laundry is the least of your worries."

    Sometimes when I'm driving around I see a sign that says, CAUTION: SMALL CHILDREN PLAYING. I slow down, and then it occurs to me: I'm not afraid of small children.

    "My programs dont have bugs, they have random features" - MisianThrop

    "The good thing about our ticket to the future is that it's always blank" - Trigun

  24. #24
    Hyperactive Member BramVandenbon's Avatar
    Join Date
    Jan 2002
    Location
    Belgium
    Posts
    502
    hey listen up man
    hey man
    yeah you man !

    I'm takin' no drugs from youuuuuuuu or from anybody maaaaan

    cracking software is illegal and my mother hates weed. I always have to help in the garden

    now, beat it maaaaan
    ____________________________________________

    Please rate my messages. Thank you!
    ____________________________________________
    Bram Vandenbon
    http://www.bramvandenbon.com

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