Page 1 of 1

faire un zoom de brush

Posted: Tue Jul 16, 2013 10:43 pm
by stefff285
bonjour a tous !

voila j'aimerais faire un zoom de brush
mais j'ai l'impression que je m'y prends mal :}}}

voila le script

Code: Select all

@SCREEN {Mode = "FullScreen", Width = 320, Height = 256}
@brush 1, "logo01.png"
@brush 2, "logo02.png"

x = 1
y = 1

Function p_scale()
    For x = 1 to 800
    x = x + 2    
    y = y + 2
    ScaleBrush(1, x, y )
    DisplayBrush(1, 0, 0 )
    Next
EndFunction

p_scale()

Repeat 
    WaitEvent
Forever
tarzin ou artblink si vous pouviez m'aider ce serait super cool

merci d'avance

stephane