Results 1 to 10 of 10

Thread: Dame this is some hard **** ! - makeing a picture of a car "DRIVE" !

  1. #1
    Guest

    Post

    Hi i have just started working on some games in Vb and DAMMMMME this is alot harder then just programs ... All i wanna do is to take a picture of a car and make it Drive ... I managed to make if go up, down , left , right but when it goes up it "Like" going on the side up i wanted it to turn the the side the car sould go [ i want to rotat it and make it go forwad] ANY HELP WILL BE GOOD THNX !!

  2. #2
    Guest

    Post

    make 4 images for your car: one looking forward, one looking back, one looking up, one looking down.

    now make 5 imageboxes and make the first four have a picure on it. you are going to make image5 the object that moves.

    make sure you set visible to false for every image but image5, so it wont be seen during runtime. now when ever you make the car go left make image5 = image1, where as image1 is the one with the car looking right. when you car move up make image5=image2 where as image2 is the one with the car faceing up.

    do this for left and down and your program should work. good luck

  3. #3
    Lively Member
    Join Date
    Oct 1999
    Posts
    65

    Post

    I actually figured that much out on my own, and I figured out how to make my character appear as if he was moving his legs as he walked.

    But now I have another problem, I can't add a background. If I do it looks crappy, because the area around the image is white. How can I make the area around it transparant?

    Someone help me with that.

    ------------------
    "I'm carrying a Geometry book, but I'm not in Geometry...it's crazy...crazy man!"

  4. #4
    Guest

    Post

    Send it Over to [email protected]
    and i will make your backround

  5. #5
    Lively Member
    Join Date
    Oct 1999
    Posts
    65

    Post

    No. I mispoke. I am a very good artist, the thing I have a problem with are the images ON TOP OF the background. See, if I place a picture box, or even a regular image on top of the background, a white border exists around it which doesn't let the background show through.

    I want to know how to make my picture transparant. So it appears like there is no more than a little guy running around on the background.

    ------------------
    "I'm carrying a Geometry book, but I'm not in Geometry...it's crazy...crazy man!"

  6. #6
    New Member
    Join Date
    May 1999
    Location
    England
    Posts
    12

    Post

    is this game 3D?

    if so let me have a look and i will try and help

    tom

    [email protected]

  7. #7
    Hyperactive Member
    Join Date
    Apr 1999
    Location
    New Jersey
    Posts
    334

    Post

    you need to learn about masking. There are lots of pages dedicated to game development. Try out the one below:
    http://www.perplexed.com/gpmega

    Hope it helps!
    Alexander McAndrew

  8. #8
    Junior Member
    Join Date
    Nov 1999
    Location
    Wellsburg, WV, USA
    Posts
    25

    Post

    You may want to try making the foreground picture into a transparent gif using the export wizard in adobe photoshop 5. This has worked for me when I put transparant images in a picture box

  9. #9
    New Member
    Join Date
    Sep 1999
    Location
    Boise, ID USA
    Posts
    15

    Post

    any semi-graphics intensive programmer needs to how to use bit-blt. you can check out some examples of this in one of the example projects that come with visual basic...i think its in the controls directory. its mainly about api calls. so what i recommend is to do a search on yahoo or something about bit-blt and you should find lots of stuff.

    Adam

  10. #10
    Junior Member Anthrax's Avatar
    Join Date
    Oct 1999
    Location
    Maine, USA
    Posts
    29

    Post

    dmuir said to use a transparent gif. but when I tried to move one around on the form it would blink and looked really bad.

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