Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stage {
- backdrop White("gallery:General/White")
- let list = [];
- let index = 0;
- actor Kocka {
- costume Kocka_1("gallery:Objects/Cube 1")
- costume Kocka_2("gallery:Objects/Cube 2")
- costume Kocka_3("gallery:Objects/Cube 3")
- costume Kocka_4("gallery:Objects/Cube 4")
- costume Kocka_5("gallery:Objects/Cube 5")
- costume Kocka_6("gallery:Objects/Cube 6")
- when stage.started{
- this.setPosition(0,0);
- this.size = 200;
- }
- when stage.keyPressed("space"){
- this.setPosition(-250,0);
- clearPenTrails();
- this.show();
- list = [];
- for(let i = 1; i<= 6; i++){
- for(let i = 1;i<= Math.randomBetween(10,15);i++){
- this.turnRight(Math.randomBetween(-180,180));
- this.nextCostume();
- this.wait(0.05);
- }
- list.push(costumeId);
- this.heading = 90;
- this.stampCostume();
- this.x += 100;
- }
- }
- }
- actor Karika {
- default costume Piros("gallery:Objects/Ring Red")
- costume Kék("gallery:Objects/Ring Blue")
- costume Négyzet_Alap("gallery:Objects/Square Idle")
- when clicked{
- this.nextCostume();
- this.say("");
- }
- when stage.started{
- this.setPosition(-200,-100);
- this.size = 150;
- this.setCostume(this.Piros);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement