ScratchData LogoScratchData
Back to gspfanonscratch's profile

code 2

GSgspfanonscratch•Created January 13, 2024
code 2
0
0
2 views
View on Scratch

Instructions

if ($this.scene.state() == "PLAY"){ for (var x = 1; x < 8; x++){ for (var y = 1; y < 6; y++){ if (random(100) < 25){ var clonedwall = wall.clone(); clonedwall.x(100 * x); clonedwall.y(100 * y); } else if (random(100) < 15) { var clonedcoin = coin.clone(); clonedcoin.x(100 * x); clonedcoin.y(100 * y); } } } }

Project Details

Project ID950489210
CreatedJanuary 13, 2024
Last ModifiedJanuary 13, 2024
SharedJanuary 13, 2024
Visibilityvisible
CommentsAllowed