Results 1 to 3 of 3

Thread: Frame Changes size(DX7/VB)

  1. #1

    Thread Starter
    Addicted Member Sonikku`'s Avatar
    Join Date
    Oct 2002
    Location
    NyC~
    Posts
    165

    Frame Changes size(DX7/VB)

    Say during an Animation the Size changes, I want to keep the frame in a general position so it doesnt "shake", How would I do this. Heres what I am working on, When it reaches certain frame the size screws up. And only if your going from a bigger frame to a smaller frame some of the bigger frame gets left behind, how do i fix this. Please Help. Attachment Zipped. again plz help. thx
    Attached Files Attached Files

  2. #2

    Thread Starter
    Addicted Member Sonikku`'s Avatar
    Join Date
    Oct 2002
    Location
    NyC~
    Posts
    165

    Changing size of Animation

    okay, I'll try to make the concept less confusing so you don't have to dl the example. Say I have a 10 frames Animation of a Square growing. Since I use this

    Dim r1 as RECT
    r1.Bottom = rSprite.Top + 70
    r1.Right = rSprite.Left + 53

    WHen I blt The viewable area of the animation of the sprite wIll ONLY be that big. I want to get the dimensions oF the frame when it changes and make the viewable area = that of the frame. So the viewable area would change with every growing frame.

    Since I use this type of frame lookup
    VB Code:
    1. Frame(0).Top = 0: Frame(0).Left = 52
    2.     Frame(1).Top = 0: Frame(1).Left = 103
    3.     Frame(2).Top = 0: Frame(2).Left = 154
    4. 'etC

    It only specifies how far down and right of the bmp to look. I cant get the frame dimensions this way. I was thinking of using a color seperator for each frame(green square around it) I really need help with this, SINCE no tutorial I've read shows you animation where the frame size changes. PLEASE HELP, I appreciate the help. Thank You

  3. #3

    Thread Starter
    Addicted Member Sonikku`'s Avatar
    Join Date
    Oct 2002
    Location
    NyC~
    Posts
    165

    ops

    sorry here the bmp, had to convert to jpg to post it. Again I really need help. Thx
    Attached Images Attached Images  

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