Lines Matching refs:newid
63 local newid;
65 newid = imagefun("imagetest.png", 0);
66 image_tracetag(newid, "new_image");
67 move_image(newid, math.random( VRESW - 16), math.random( VRESH - 16), 0);
68 resize_image(newid, 64, 64, 0);
70 newid = fill_surface(64, 64, step * i, step * i, 255);
72 order_image(newid, math.floor ( i * step ));
74 rotate_image(newid, math.random(360), 10);
78 move_image(newid, math.random( VRESW - 16), math.random( VRESH - 16), 0);
80 if (newid == BADID) then
84 show_image(newid);
88 local function instance_image(newid)
89 local res = image_surface_resolve(newid);
91 image_sharestorage(newid, new);
96 local newid = fill_surface(64, 64, 0, 255, 0);
97 move_image(newid, 0.5*VRESW - 32, 0.5*VRESH - 32, 0);
98 show_image(newid);
99 order_image(newid, 255);
102 local instid = instance_image(newid);
118 move_image(newid, math.random(VRESW), math.random(VRESH), 20);