int i,j;
for (i=0;i<width;i=i+wallpaper.width)
{
for (j=0;j<height;j=j+wallpaper.height)
{
draw_from("wallpaper",wallpaper.width/2+i,wallpaper.height/2+j, 1);
}
}
int i,j;
int wide=wallpaper.width*3;
int high=wallpaper.height*4;
int start_x=100;
int start_y=100;
for (i=0;i<wide;i=i+wallpaper.width)
{
for (j=0;j<high;j=j+wallpaper.height)
{
draw_from("wallpaper",start_x+wallpaper.width/2+i,start_y+wallpaper.height/2+j, 1);
}
}
Users browsing this forum: No registered users and 1 guest