Results 1 to 2 of 2

Thread: image movement with rotations

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Location
    queensland
    Posts
    13

    image movement with rotations

    i have an image of a bird that moves randomly all over the screen
    it moves right left up down diagonally ect (RANDOMLY)

    i need it so when the image moves a certain direction the image rotates with it
    so... a bird moves down so the nose of the bird also should look down
    and when it moves up the nose of the bird also should look up
    can someone please help me??!!

  2. #2
    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
    That's easy; do you already have the images of the bird in each one of the 8 directions, or do you want VB to draw them for you? Because making VB draw them for you can be a bit hard
    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