can anyone tell me what I'm missing here?
I want to scale a image 10% each time and store it in a array, but I can't get it to work. I commented it out to work though it and it seems to make since, so I guess I don't understand how something works?
thanks, CTP
Dim ball_active_image(5) ; making ball array
ball_active_image(0) = ball_image ; setting 1st array slot
For i = 1 To 5 ; starting loop
h# = Float(i) ; changing int to float
g#= h#/10 ; making g# 10% bigger then h#
ball_image = ball_active_image(i-1) ; storeing image in array that will be inlarged
ScaleImage ball_active_image(i-1),g#,g# ; scaling image in array slot before this one 10% bigger
ball_active_image(i) = ball_active_image(i-1) ; setting this array slot to scaled image
ball_active_image(i-1) = ball_image ; restore image in array before this one to proper size
Next ; ending loop
I want to scale a image 10% each time and store it in a array, but I can't get it to work. I commented it out to work though it and it seems to make since, so I guess I don't understand how something works?
thanks, CTP
Dim ball_active_image(5) ; making ball array
ball_active_image(0) = ball_image ; setting 1st array slot
For i = 1 To 5 ; starting loop
h# = Float(i) ; changing int to float
g#= h#/10 ; making g# 10% bigger then h#
ball_image = ball_active_image(i-1) ; storeing image in array that will be inlarged
ScaleImage ball_active_image(i-1),g#,g# ; scaling image in array slot before this one 10% bigger
ball_active_image(i) = ball_active_image(i-1) ; setting this array slot to scaled image
ball_active_image(i-1) = ball_image ; restore image in array before this one to proper size
Next ; ending loop