1 Attachment(s)
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
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:
Frame(0).Top = 0: Frame(0).Left = 52
Frame(1).Top = 0: Frame(1).Left = 103
Frame(2).Top = 0: Frame(2).Left = 154
'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