Ver Mensaje Individual
  #1 (permalink)  
Antiguo 31/07/2014, 09:30
programajin
 
Fecha de Ingreso: noviembre-2010
Mensajes: 100
Antigüedad: 13 años, 5 meses
Puntos: 0
canvas efecto fade

Hola al momento de hacer el siguiente codigo

Código PHP:
sx=0;sy=0;swidth=352;sheight=50;x=0;y=0;width=352;height=50;
            
ctx.drawImage(img,sx,sy,swidth,sheight,x,y,width,height);
sx=0;sy=50;swidth=352;sheight=50;x=0;y=100;width=352;height=50;
            
ctx.drawImage(img,sx,sy,swidth,sheight,x,y,width,height); 
podría hacer un efecto fade, me podrían ayudar como hacer ese efecto por favor para cada drawimage
__________________
Gracias