Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(amount < 12){
- var pos1 = x - 56;
- var pos2 = y - 56;
- for(i = 0; i < 4; i++){ //create the columns
- for(j = 0; j < 3; j++){ //create the rows (a 3x4 rectangle in total)
- amount += 1;
- shapesRemaining += 1;
- myShape[amount] = instance_create_layer(pos1 + (56 * j),pos2 + (56 * i),layer,oShapePart);
- myShape[amount].creator = id;
- part_particles_create(global.systemMain,myShape[amount].x,myShape[amount].y,global.shapeSpawn,5);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement