From b3e6b5b5342701a20e39f8d50092c57d054cab39 Mon Sep 17 00:00:00 2001 From: Chris Pirich Date: Fri, 26 Jan 2018 08:10:40 -0800 Subject: [PATCH 1/5] set debugger_disabled to true for all GameLab curriculum levels --- .../config/scripts/levels/CSD U3 - Simple Counter Predict.level | 2 +- .../scripts/levels/CSD U3 - Sprites - Sprite v Rect.level | 2 +- dashboard/config/scripts/levels/CSD U3 - balloon template.level | 2 +- dashboard/config/scripts/levels/CSD U3 - car template.level | 2 +- .../levels/CSD U3 - complex - compound conditionals.level | 2 +- .../scripts/levels/CSD U3 - complex - key up and down.level | 2 +- .../config/scripts/levels/CSD U3 - complex - mouse down.level | 2 +- .../config/scripts/levels/CSD U3 - complex - mouse move.level | 2 +- .../scripts/levels/CSD U3 - complex - nested conditional.level | 2 +- .../levels/CSD U3 - conditionals - arrows and gears.level | 2 +- .../scripts/levels/CSD U3 - conditionals - transition.level | 2 +- dashboard/config/scripts/levels/CSD U3 - fish template.level | 2 +- .../config/scripts/levels/CSD U3 - images - Embed Project.level | 2 +- .../config/scripts/levels/CSD U3 - images - animations.level | 2 +- .../config/scripts/levels/CSD U3 - images - bee template.level | 2 +- .../scripts/levels/CSD U3 - images - changing scene.level | 2 +- .../config/scripts/levels/CSD U3 - images - first image.level | 2 +- .../levels/CSD U3 - images - first sprite with image.level | 2 +- .../scripts/levels/CSD U3 - images - fish free play.level | 2 +- .../scripts/levels/CSD U3 - images - fish with arrows.level | 2 +- .../scripts/levels/CSD U3 - images - gears template.level | 2 +- .../scripts/levels/CSD U3 - images - kite free play.level | 2 +- .../config/scripts/levels/CSD U3 - images - kiteFlying.level | 2 +- .../config/scripts/levels/CSD U3 - images - nextFrame.level | 2 +- .../scripts/levels/CSD U3 - images - project 1 template.level | 2 +- .../scripts/levels/CSD U3 - images - random movement.level | 2 +- dashboard/config/scripts/levels/CSD U3 - images - review.level | 2 +- dashboard/config/scripts/levels/CSD U3 - images - scale.level | 2 +- .../config/scripts/levels/CSD U3 - images - setAnimation.level | 2 +- .../scripts/levels/CSD U3 - images - switch the picture.level | 2 +- dashboard/config/scripts/levels/CSD U3 - images - visible.level | 2 +- dashboard/config/scripts/levels/CSD U3 - kite template.level | 2 +- .../config/scripts/levels/CSD U3 - sprites - motiviation.level | 2 +- dashboard/config/scripts/levels/CSD U3 - wheel template.level | 2 +- .../scripts/levels/CSD U3 AnimationsMulti Play Defender.level | 2 +- .../CSD U3 AnimationsMulti defender animate cake enemies.level | 2 +- .../levels/CSD U3 AnimationsMulti defender animate player.level | 2 +- .../CSD U3 AnimationsMulti defender create set enemies.level | 2 +- .../CSD U3 AnimationsMulti defender displace enemies.level | 2 +- .../levels/CSD U3 AnimationsMulti defender enemies move.level | 2 +- ...U3 AnimationsMulti defender enemies touch cake sprite2.level | 2 +- .../CSD U3 AnimationsMulti defender enemies touch cake.level | 2 +- .../CSD U3 AnimationsMulti defender make it your own.level | 2 +- .../levels/CSD U3 AnimationsMulti defender move player.level | 2 +- .../levels/CSD U3 AnimationsMulti defender move up down.level | 2 +- .../levels/CSD U3 AnimationsMulti defender template.level | 2 +- .../levels/CSD U3 AnimationsMulti defender touch water.level | 2 +- ...CSD U3 AnimationsMulti introducing multiframe template.level | 2 +- .../levels/CSD U3 AnimationsMulti introducing multiframe.level | 2 +- .../levels/CSD U3 AnimationsMulti mirror animation.level | 2 +- .../config/scripts/levels/CSD U3 AnimationsMulti no loop.level | 2 +- .../scripts/levels/CSD U3 AnimationsMulti play pause.level | 2 +- .../scripts/levels/CSD U3 AnimationsMulti slow down.level | 2 +- dashboard/config/scripts/levels/CSD U3 Arrows.level | 2 +- dashboard/config/scripts/levels/CSD U3 Boolean Modify.level | 2 +- .../CSD U3 Complex Movement counter prediction gamelab.level | 2 +- .../scripts/levels/CSD U3 Compound Nested Challenge.level | 2 +- .../config/scripts/levels/CSD U3 Compound Nested Examples.level | 2 +- .../config/scripts/levels/CSD U3 Conditional Predict.level | 2 +- .../config/scripts/levels/CSD U3 Conditional Project.level | 2 +- .../config/scripts/levels/CSD U3 Conditionals Apple 2.level | 2 +- dashboard/config/scripts/levels/CSD U3 Conditionals Apple.level | 2 +- .../levels/CSD U3 Counters assigning an expression.level | 2 +- .../config/scripts/levels/CSD U3 Counters counter colors.level | 2 +- .../levels/CSD U3 Counters counter square movement.level | 2 +- .../scripts/levels/CSD U3 Counters counter subtraction.level | 2 +- .../scripts/levels/CSD U3 Counters counters expressions.level | 2 +- .../scripts/levels/CSD U3 Counters counters sunset night.level | 2 +- .../config/scripts/levels/CSD U3 Counters counters sunset.level | 2 +- .../scripts/levels/CSD U3 Counters explaining counters.level | 2 +- .../config/scripts/levels/CSD U3 Counters expressions.level | 2 +- .../scripts/levels/CSD U3 Counters long expressions.level | 2 +- .../scripts/levels/CSD U3 Counters random expressions.level | 2 +- .../config/scripts/levels/CSD U3 Counters sunset template.level | 2 +- .../scripts/levels/CSD U3 Counters variables as counters.level | 2 +- .../levels/CSD U3 Counters variables in expressions.level | 2 +- dashboard/config/scripts/levels/CSD U3 Counters watchers.level | 2 +- dashboard/config/scripts/levels/CSD U3 Diagonal Movement.level | 2 +- .../config/scripts/levels/CSD U3 Direction Animations.level | 2 +- dashboard/config/scripts/levels/CSD U3 Direction Arrows.level | 2 +- .../levels/CSD U3 Draw Loop Plugged orange and green.level | 2 +- .../scripts/levels/CSD U3 Draw Loop Plugged predict 1.level | 2 +- .../scripts/levels/CSD U3 Draw Loop Plugged predict 2.level | 2 +- .../levels/CSD U3 Draw Loop Plugged update your scene.level | 2 +- .../CSD U3 Draw Loop Plugged wiggle sprite rotation.level | 2 +- .../levels/CSD U3 Draw Loop Plugged wiggle sprite x.level | 2 +- .../levels/CSD U3 Draw Loop Plugged wiggle sprite y.level | 2 +- .../scripts/levels/CSD U3 Drawing Squares to Corners.level | 2 +- dashboard/config/scripts/levels/CSD U3 Else.level | 2 +- .../config/scripts/levels/CSD U3 Entertainment Sample 1.level | 2 +- .../config/scripts/levels/CSD U3 Entertainment Sample 2.level | 2 +- .../config/scripts/levels/CSD U3 Entertainment Sample 3.level | 2 +- .../config/scripts/levels/CSD U3 Entertainment Sample 4.level | 2 +- .../config/scripts/levels/CSD U3 Expressions calculator.level | 2 +- .../levels/CSD U3 Functions Add Change Background tmp.level | 2 +- .../scripts/levels/CSD U3 Functions Add Change Background.level | 2 +- .../config/scripts/levels/CSD U3 Functions Add IsTouching.level | 2 +- .../config/scripts/levels/CSD U3 Functions Call Draw Loop.level | 2 +- .../config/scripts/levels/CSD U3 Functions Call Function.level | 2 +- .../scripts/levels/CSD U3 Functions Create Function.level | 2 +- .../scripts/levels/CSD U3 Functions Improve Side Scroller.level | 2 +- .../scripts/levels/CSD U3 Functions Order Functions.level | 2 +- .../CSD U3 Functions Prediction Order of Create Call.level | 2 +- .../levels/CSD U3 Functions Prediction Order of Create.level | 2 +- .../scripts/levels/CSD U3 Functions Randomize Sprite.level | 2 +- .../config/scripts/levels/CSD U3 Functions Reset Sprite.level | 2 +- .../scripts/levels/CSD U3 Functions Template Flyman.level | 2 +- .../config/scripts/levels/CSD U3 Functions Write Reset.level | 2 +- .../config/scripts/levels/CSD U3 Functions Write Your Own.level | 2 +- .../config/scripts/levels/CSD U3 Functions bunny template.level | 2 +- .../config/scripts/levels/CSD U3 Functions isTouching.level | 2 +- dashboard/config/scripts/levels/CSD U3 If Else.level | 2 +- dashboard/config/scripts/levels/CSD U3 Input Fish.level | 2 +- dashboard/config/scripts/levels/CSD U3 Input Gears.level | 2 +- .../scripts/levels/CSD U3 Interactive Card Background.level | 2 +- .../scripts/levels/CSD U3 Interactive Card Exemplar.level | 2 +- .../config/scripts/levels/CSD U3 Interactive Card Final.level | 2 +- .../levels/CSD U3 Interactive Card Other Conditionals.level | 2 +- .../config/scripts/levels/CSD U3 Interactive Card Sprites.level | 2 +- .../scripts/levels/CSD U3 Interactive Card Template.level | 2 +- .../scripts/levels/CSD U3 Interactive Card User Input.level | 2 +- .../config/scripts/levels/CSD U3 Keyboard Input Challenge.level | 2 +- dashboard/config/scripts/levels/CSD U3 L12 Freeplay.level | 2 +- dashboard/config/scripts/levels/CSD U3 L13 Freeplay.level | 2 +- dashboard/config/scripts/levels/CSD U3 L15 Freeplay.level | 2 +- dashboard/config/scripts/levels/CSD U3 L16 Freeplay.level | 2 +- dashboard/config/scripts/levels/CSD U3 L17 Freeplay.level | 2 +- dashboard/config/scripts/levels/CSD U3 L18 Freeplay.level | 2 +- dashboard/config/scripts/levels/CSD U3 L19 Freeplay.level | 2 +- dashboard/config/scripts/levels/CSD U3 L3 Freeplay.level | 2 +- dashboard/config/scripts/levels/CSD U3 L4 Freeplay.level | 2 +- dashboard/config/scripts/levels/CSD U3 L5 Freeplay.level | 2 +- dashboard/config/scripts/levels/CSD U3 L6 Freeplay.level | 2 +- dashboard/config/scripts/levels/CSD U3 L7 Freeplay.level | 2 +- dashboard/config/scripts/levels/CSD U3 L9 Freeplay.level | 2 +- dashboard/config/scripts/levels/CSD U3 Mouse Input Bee 1.level | 2 +- dashboard/config/scripts/levels/CSD U3 Mouse Input Bee 2.level | 2 +- .../config/scripts/levels/CSD U3 Mouse Input Bee Template.level | 2 +- dashboard/config/scripts/levels/CSD U3 Movement Fish.level | 2 +- dashboard/config/scripts/levels/CSD U3 Movement Gears.level | 2 +- .../config/scripts/levels/CSD U3 Movement Your Own 1.level | 2 +- .../config/scripts/levels/CSD U3 Movement Your Own 2.level | 2 +- dashboard/config/scripts/levels/CSD U3 Movement Your Own.level | 2 +- .../scripts/levels/CSD U3 Plotting Shapes Shape Lab Open.level | 2 +- .../scripts/levels/CSD U3 Plotting Shapes Shape Lab.level | 2 +- .../scripts/levels/CSD U3 Property Conditional Multi.level | 2 +- .../config/scripts/levels/CSD U3 Property Conditional.level | 2 +- dashboard/config/scripts/levels/CSD U3 Random Add a Door.level | 2 +- dashboard/config/scripts/levels/CSD U3 Random Choice.level | 2 +- dashboard/config/scripts/levels/CSD U3 Random Color.level | 2 +- dashboard/config/scripts/levels/CSD U3 Random Debug Cloud.level | 2 +- dashboard/config/scripts/levels/CSD U3 Random Debug Grass.level | 2 +- .../config/scripts/levels/CSD U3 Random Ellipse Behind.level | 2 +- dashboard/config/scripts/levels/CSD U3 Random Min Max.level | 2 +- .../config/scripts/levels/CSD U3 Random Taller Rectangle.level | 2 +- .../config/scripts/levels/CSD U3 Random Width Height.level | 2 +- dashboard/config/scripts/levels/CSD U3 Random background.level | 2 +- dashboard/config/scripts/levels/CSD U3 Random background2.level | 2 +- .../config/scripts/levels/CSD U3 Random rainbow snake.level | 2 +- .../config/scripts/levels/CSD U3 Random random ellipse.level | 2 +- .../config/scripts/levels/CSD U3 Random random ellipse2.level | 2 +- dashboard/config/scripts/levels/CSD U3 Scene Example.level | 2 +- .../scripts/levels/CSD U3 Simple Drawing - Animation 2.level | 2 +- .../scripts/levels/CSD U3 Simple Drawing - Animation.level | 2 +- .../scripts/levels/CSD U3 Simple Drawing - Background.level | 2 +- .../levels/CSD U3 Simple Drawing - Personal Animation.level | 2 +- .../config/scripts/levels/CSD U3 Sprite Movement Left.level | 2 +- .../config/scripts/levels/CSD U3 Sprite Movement Predict.level | 2 +- .../config/scripts/levels/CSD U3 Sprite Movement Right.level | 2 +- dashboard/config/scripts/levels/CSD U3 Sprites anitab 1.level | 2 +- dashboard/config/scripts/levels/CSD U3 Sprites anitab 2.level | 2 +- dashboard/config/scripts/levels/CSD U3 Sprites anitab 3.level | 2 +- dashboard/config/scripts/levels/CSD U3 Sprites anitab 4.level | 2 +- .../config/scripts/levels/CSD U3 Sprites debug watchers.level | 2 +- .../config/scripts/levels/CSD U3 Sprites intro debug.level | 2 +- .../config/scripts/levels/CSD U3 Sprites intro predict.level | 2 +- .../config/scripts/levels/CSD U3 Sprites intro sprites.level | 2 +- .../config/scripts/levels/CSD U3 Sprites scene challenge.level | 2 +- .../config/scripts/levels/CSD U3 Sprites scene drawing.level | 2 +- .../config/scripts/levels/CSD U3 Sprites scene sprites.level | 2 +- .../config/scripts/levels/CSD U3 Sprites scene template.level | 2 +- dashboard/config/scripts/levels/CSD U3 Sprites scene text.level | 2 +- dashboard/config/scripts/levels/CSD U3 Sprites text debug.level | 2 +- dashboard/config/scripts/levels/CSD U3 Sprites text.level | 2 +- dashboard/config/scripts/levels/CSD U3 UP_ARROW.level | 2 +- .../config/scripts/levels/CSD U3 Variable Arithmetic pt2.level | 2 +- .../config/scripts/levels/CSD U3 Variable Arithmetic.level | 2 +- .../scripts/levels/CSD U3 Variable Incrementation pt2.level | 2 +- .../config/scripts/levels/CSD U3 Variable Incrementation.level | 2 +- .../levels/CSD U3 Variables CHALLENGE gamelab gary.level | 2 +- .../config/scripts/levels/CSD U3 Variables Challenge.level | 2 +- .../config/scripts/levels/CSD U3 Variables Draw Challenge.level | 2 +- .../config/scripts/levels/CSD U3 Variables Draw Poppy.level | 2 +- .../scripts/levels/CSD U3 Variables Increase Circle.level | 2 +- .../config/scripts/levels/CSD U3 Variables Initialize.level | 2 +- dashboard/config/scripts/levels/CSD U3 Variables Intro.level | 2 +- .../scripts/levels/CSD U3 Variables Predict Where X.level | 2 +- .../scripts/levels/CSD U3 Variables Predict Where XY.level | 2 +- dashboard/config/scripts/levels/CSD U3 Variables Random.level | 2 +- .../config/scripts/levels/CSD U3 Variables Reassign pt2.level | 2 +- dashboard/config/scripts/levels/CSD U3 Variables Reassign.level | 2 +- .../scripts/levels/CSD U3 Variables Square Random Loop.level | 2 +- .../config/scripts/levels/CSD U3 Variables Square Random.level | 2 +- dashboard/config/scripts/levels/CSD U3 Variables Square.level | 2 +- .../scripts/levels/CSD U3 Variables TEMPLATE square.level | 2 +- .../scripts/levels/CSD U3 Variables change circle size.level | 2 +- .../scripts/levels/CSD U3 Variables create and assign.level | 2 +- .../scripts/levels/CSD U3 Variables draw loop newVars.level | 2 +- .../config/scripts/levels/CSD U3 Variables draw loop rgb.level | 2 +- .../config/scripts/levels/CSD U3 Variables draw loop xy.level | 2 +- dashboard/config/scripts/levels/CSD U3 Variables eyeBrows.level | 2 +- .../scripts/levels/CSD U3 Variables make a big square.level | 2 +- .../config/scripts/levels/CSD U3 Variables make a square.level | 2 +- .../scripts/levels/CSD U3 Variables multiple assignments.level | 2 +- .../scripts/levels/CSD U3 Variables naming rules v2.level | 2 +- .../config/scripts/levels/CSD U3 Variables naming rules.level | 2 +- .../scripts/levels/CSD U3 Variables random assignment.level | 2 +- .../scripts/levels/CSD U3 Variables random draw loop.level | 2 +- .../levels/CSD U3 Variables random drawing exemplar.level | 2 +- .../levels/CSD U3 Variables random with assignment.level | 2 +- .../config/scripts/levels/CSD U3 Variables use value rect.level | 2 +- dashboard/config/scripts/levels/CSD U3 Variables write.level | 2 +- .../levels/CSD U3 Variables2 expressions in commands.level | 2 +- .../levels/CSD U3 Variables2 expressions in variables.level | 2 +- .../config/scripts/levels/CSD U3 Variables2 expressions.level | 2 +- dashboard/config/scripts/levels/CSD U3 Watcher Debug.level | 2 +- dashboard/config/scripts/levels/CSD U3 Watcher Predict.level | 2 +- .../config/scripts/levels/CSD U3 abstraction accelerateX.level | 2 +- .../scripts/levels/CSD U3 abstraction accelerateY up.level | 2 +- .../config/scripts/levels/CSD U3 abstraction accelerateY.level | 2 +- .../config/scripts/levels/CSD U3 abstraction add coin.level | 2 +- .../scripts/levels/CSD U3 abstraction animation circle.level | 2 +- .../scripts/levels/CSD U3 abstraction animation rotate.level | 2 +- .../scripts/levels/CSD U3 abstraction animation setSpeed.level | 2 +- .../scripts/levels/CSD U3 abstraction animation setup.level | 2 +- .../config/scripts/levels/CSD U3 abstraction animation.level | 2 +- .../config/scripts/levels/CSD U3 abstraction bug template.level | 2 +- .../config/scripts/levels/CSD U3 abstraction car rotation.level | 2 +- .../config/scripts/levels/CSD U3 abstraction car template.level | 2 +- .../scripts/levels/CSD U3 abstraction change velocityX.level | 2 +- .../scripts/levels/CSD U3 abstraction change velocityXY.level | 2 +- .../scripts/levels/CSD U3 abstraction change velocityY.level | 2 +- dashboard/config/scripts/levels/CSD U3 abstraction circle.level | 2 +- .../config/scripts/levels/CSD U3 abstraction decelerateX.level | 2 +- .../config/scripts/levels/CSD U3 abstraction decelerateY.level | 2 +- .../config/scripts/levels/CSD U3 abstraction demo pic.level | 2 +- .../scripts/levels/CSD U3 abstraction dragonfly (OLD).level | 2 +- .../scripts/levels/CSD U3 abstraction dragonfly OLD.level | 2 +- dashboard/config/scripts/levels/CSD U3 abstraction drive.level | 2 +- .../scripts/levels/CSD U3 abstraction fish template.level | 2 +- dashboard/config/scripts/levels/CSD U3 abstraction horse.level | 2 +- .../scripts/levels/CSD U3 abstraction horse2 template.level | 2 +- dashboard/config/scripts/levels/CSD U3 abstraction horse2.level | 2 +- dashboard/config/scripts/levels/CSD U3 abstraction horse3.level | 2 +- dashboard/config/scripts/levels/CSD U3 abstraction jump.level | 2 +- .../config/scripts/levels/CSD U3 abstraction jumper intro.level | 2 +- .../scripts/levels/CSD U3 abstraction jumper template.level | 2 +- .../scripts/levels/CSD U3 abstraction jumping advanced.level | 2 +- .../scripts/levels/CSD U3 abstraction jumping template.level | 2 +- .../config/scripts/levels/CSD U3 abstraction jumping.level | 2 +- .../levels/CSD U3 abstraction left right counter 2.level | 2 +- .../scripts/levels/CSD U3 abstraction left right counter.level | 2 +- .../config/scripts/levels/CSD U3 abstraction looping.level | 2 +- .../scripts/levels/CSD U3 abstraction make it your own.level | 2 +- .../config/scripts/levels/CSD U3 abstraction parabola.level | 2 +- .../scripts/levels/CSD U3 abstraction race template.level | 2 +- .../config/scripts/levels/CSD U3 abstraction reset coin.level | 2 +- .../scripts/levels/CSD U3 abstraction rotation accelerate.level | 2 +- .../scripts/levels/CSD U3 abstraction rotation control.level | 2 +- .../config/scripts/levels/CSD U3 abstraction rotation.level | 2 +- .../scripts/levels/CSD U3 abstraction setSpeed accelerate.level | 2 +- .../scripts/levels/CSD U3 abstraction setSpeed fish.level | 2 +- .../scripts/levels/CSD U3 abstraction setSpeed intro.level | 2 +- .../config/scripts/levels/CSD U3 abstraction setSpeed.level | 2 +- .../scripts/levels/CSD U3 abstraction sidescroll intro.level | 2 +- .../scripts/levels/CSD U3 abstraction sidescroll template.level | 2 +- .../config/scripts/levels/CSD U3 abstraction sidescroll.level | 2 +- .../scripts/levels/CSD U3 abstraction space animation.level | 2 +- .../config/scripts/levels/CSD U3 abstraction space comet.level | 2 +- .../config/scripts/levels/CSD U3 abstraction space earth.level | 2 +- .../scripts/levels/CSD U3 abstraction space satellite.level | 2 +- .../config/scripts/levels/CSD U3 abstraction space setup.level | 2 +- .../scripts/levels/CSD U3 abstraction space spaceship.level | 2 +- .../scripts/levels/CSD U3 abstraction space template.level | 2 +- dashboard/config/scripts/levels/CSD U3 abstraction steer.level | 2 +- dashboard/config/scripts/levels/CSD U3 abstraction teaser.level | 2 +- .../config/scripts/levels/CSD U3 abstraction tumbleweed.level | 2 +- .../scripts/levels/CSD U3 abstraction velocityX control.level | 2 +- .../levels/CSD U3 abstraction velocityX if-statements.level | 2 +- .../config/scripts/levels/CSD U3 abstraction velocityX.level | 2 +- .../config/scripts/levels/CSD U3 abstraction velocityXY.level | 2 +- .../config/scripts/levels/CSD U3 abstraction velocityY 2.level | 2 +- .../scripts/levels/CSD U3 abstraction velocityY control.level | 2 +- .../config/scripts/levels/CSD U3 abstraction velocityY.level | 2 +- dashboard/config/scripts/levels/CSD U3 apple template.level | 2 +- dashboard/config/scripts/levels/CSD U3 challenge face.level | 2 +- .../config/scripts/levels/CSD U3 challenge new shape.level | 2 +- .../config/scripts/levels/CSD U3 collisions bounce birds.level | 2 +- .../config/scripts/levels/CSD U3 collisions bounce intro.level | 2 +- dashboard/config/scripts/levels/CSD U3 collisions bounce.level | 2 +- .../scripts/levels/CSD U3 collisions bounceOff intro.level | 2 +- .../config/scripts/levels/CSD U3 collisions bounceOff.level | 2 +- .../config/scripts/levels/CSD U3 collisions bounciness.level | 2 +- .../scripts/levels/CSD U3 collisions build isTouching.level | 2 +- dashboard/config/scripts/levels/CSD U3 collisions bumper.level | 2 +- .../config/scripts/levels/CSD U3 collisions car intro.level | 2 +- dashboard/config/scripts/levels/CSD U3 collisions car.level | 2 +- dashboard/config/scripts/levels/CSD U3 collisions collide.level | 2 +- .../scripts/levels/CSD U3 collisions debug isTouching.level | 2 +- dashboard/config/scripts/levels/CSD U3 collisions debug.level | 2 +- .../scripts/levels/CSD U3 collisions displace intro.level | 2 +- .../config/scripts/levels/CSD U3 collisions displace x.level | 2 +- .../config/scripts/levels/CSD U3 collisions displace y.level | 2 +- .../config/scripts/levels/CSD U3 collisions egg template.level | 2 +- dashboard/config/scripts/levels/CSD U3 collisions egg.level | 2 +- dashboard/config/scripts/levels/CSD U3 collisions egg2.level | 2 +- .../scripts/levels/CSD U3 collisions flyman add obstacles.level | 2 +- .../scripts/levels/CSD U3 collisions flyman bounceOff.level | 2 +- .../levels/CSD U3 collisions flyman change colliders.level | 2 +- .../scripts/levels/CSD U3 collisions flyman displace coin.level | 2 +- .../levels/CSD U3 collisions flyman make it your own.level | 2 +- .../config/scripts/levels/CSD U3 collisions getSpeed.level | 2 +- dashboard/config/scripts/levels/CSD U3 collisions horse.level | 2 +- .../scripts/levels/CSD U3 collisions isTouching intro.level | 2 +- .../config/scripts/levels/CSD U3 collisions obstacle.level | 2 +- dashboard/config/scripts/levels/CSD U3 collisions open.level | 2 +- .../config/scripts/levels/CSD U3 collisions overlap x.level | 2 +- .../config/scripts/levels/CSD U3 collisions overlap y.level | 2 +- dashboard/config/scripts/levels/CSD U3 collisions overlap.level | 2 +- dashboard/config/scripts/levels/CSD U3 collisions pinball.level | 2 +- .../config/scripts/levels/CSD U3 collisions pinball2.level | 2 +- dashboard/config/scripts/levels/CSD U3 collisions pirate.level | 2 +- .../levels/CSD U3 collisions predict set velocity code.level | 2 +- .../config/scripts/levels/CSD U3 collisions scoreboard.level | 2 +- .../config/scripts/levels/CSD U3 collisions setCollider.level | 2 +- .../config/scripts/levels/CSD U3 collisions sidescroll2.level | 2 +- dashboard/config/scripts/levels/CSD U3 collisions sundae.level | 2 +- dashboard/config/scripts/levels/CSD U3 collisions tennis.level | 2 +- .../config/scripts/levels/CSD U3 collisions try blocks.level | 2 +- dashboard/config/scripts/levels/CSD U3 collisions turtle.level | 2 +- dashboard/config/scripts/levels/CSD U3 collisions types.level | 2 +- dashboard/config/scripts/levels/CSD U3 counter example.level | 2 +- dashboard/config/scripts/levels/CSD U3 dancing alien.level | 2 +- dashboard/config/scripts/levels/CSD U3 debug.level | 2 +- dashboard/config/scripts/levels/CSD U3 ellipse.level | 2 +- dashboard/config/scripts/levels/CSD U3 fill.level | 2 +- dashboard/config/scripts/levels/CSD U3 finishing touches.level | 2 +- dashboard/config/scripts/levels/CSD U3 game animations.level | 2 +- dashboard/config/scripts/levels/CSD U3 game backgrounds.level | 2 +- .../config/scripts/levels/CSD U3 game choose background.level | 2 +- .../config/scripts/levels/CSD U3 game create sprites.level | 2 +- .../config/scripts/levels/CSD U3 game display boards.level | 2 +- dashboard/config/scripts/levels/CSD U3 game interactions.level | 2 +- .../config/scripts/levels/CSD U3 game sprite movement.level | 2 +- dashboard/config/scripts/levels/CSD U3 game template.level | 2 +- dashboard/config/scripts/levels/CSD U3 game user controls.level | 2 +- dashboard/config/scripts/levels/CSD U3 game variables.level | 2 +- .../config/scripts/levels/CSD U3 keydown conditional.level | 2 +- dashboard/config/scripts/levels/CSD U3 kite template v2.level | 2 +- dashboard/config/scripts/levels/CSD U3 my-rect.level | 2 +- dashboard/config/scripts/levels/CSD U3 picture.level | 2 +- .../config/scripts/levels/CSD U3 platform background1.level | 2 +- .../config/scripts/levels/CSD U3 platform background2.level | 2 +- dashboard/config/scripts/levels/CSD U3 platform challenge.level | 2 +- .../config/scripts/levels/CSD U3 platform challenge1.level | 2 +- dashboard/config/scripts/levels/CSD U3 platform draw loop.level | 2 +- dashboard/config/scripts/levels/CSD U3 platform items.level | 2 +- dashboard/config/scripts/levels/CSD U3 platform items1.level | 2 +- dashboard/config/scripts/levels/CSD U3 platform items2.level | 2 +- dashboard/config/scripts/levels/CSD U3 platform items3.level | 2 +- dashboard/config/scripts/levels/CSD U3 platform platform1.level | 2 +- dashboard/config/scripts/levels/CSD U3 platform platform2.level | 2 +- dashboard/config/scripts/levels/CSD U3 platform platform3.level | 2 +- dashboard/config/scripts/levels/CSD U3 platform player1.level | 2 +- dashboard/config/scripts/levels/CSD U3 platform player2.level | 2 +- dashboard/config/scripts/levels/CSD U3 platform player2b.level | 2 +- dashboard/config/scripts/levels/CSD U3 platform player3.level | 2 +- dashboard/config/scripts/levels/CSD U3 platform player4.level | 2 +- dashboard/config/scripts/levels/CSD U3 platform sample.level | 2 +- dashboard/config/scripts/levels/CSD U3 platform sample1.level | 2 +- dashboard/config/scripts/levels/CSD U3 platform sample2.level | 2 +- dashboard/config/scripts/levels/CSD U3 platform sample3.level | 2 +- .../config/scripts/levels/CSD U3 platform scoreboard.level | 2 +- dashboard/config/scripts/levels/CSD U3 platform template.level | 2 +- dashboard/config/scripts/levels/CSD U3 platform variable1.level | 2 +- dashboard/config/scripts/levels/CSD U3 platform variables.level | 2 +- dashboard/config/scripts/levels/CSD U3 rect.level | 2 +- dashboard/config/scripts/levels/CSD U3 sequence.level | 2 +- dashboard/config/scripts/levels/CSD U3- arrows template.level | 2 +- .../levels/PS clone CSD U3 Variables Predict Where XY.level | 2 +- .../levels/PS copy - CSD U3 Variables change circle size.level | 2 +- .../levels/PS copy CSD U3 Variables Predict Where XY.level | 2 +- .../scripts/levels/U3 - Simple Drawing - Background.level | 2 +- .../config/scripts/levels/U3 - Simple Drawing - Color.level | 2 +- .../config/scripts/levels/U3 - Simple Drawing - Comments.level | 2 +- .../levels/U3 - Simple Drawing - Ellipse and No Fill.level | 2 +- .../config/scripts/levels/U3 - Simple Drawing - Fill.level | 2 +- .../scripts/levels/U3 - Simple Drawing - Many Rects.level | 2 +- .../config/scripts/levels/U3 - Simple Drawing - No Fill.level | 2 +- .../scripts/levels/U3 - Simple Drawing - Order of Blocks.level | 2 +- .../config/scripts/levels/U3 - Simple Drawing - Oval.level | 2 +- .../U3 - Simple Drawing - Personal Drawing Template.level | 2 +- .../scripts/levels/U3 - Simple Drawing - Personal Drawing.level | 2 +- .../U3 - Simple Drawing - Rectangle Width and Height.level | 2 +- .../config/scripts/levels/U3 - Simple Drawing - Rectangle.level | 2 +- .../scripts/levels/U3 - Simple Drawing - Rings Template.level | 2 +- .../scripts/levels/U3 - Simple Drawing - Road Ellipse.level | 2 +- .../scripts/levels/U3 - Simple Drawing - Road No Stroke.level | 2 +- .../levels/U3 - Simple Drawing - Road Rects and Color.level | 2 +- .../scripts/levels/U3 - Simple Drawing - Road Template.level | 2 +- .../levels/U3 - Simple Drawing - Simple Shape Drawing.level | 2 +- .../levels/U3 - Simple Drawing - Stroke and Stroke Weight.level | 2 +- .../config/scripts/levels/U3 - Simple Drawing - Stroke.level | 2 +- .../scripts/levels/U3 - Simple Drawing - X and Y values.level | 2 +- .../scripts/levels/U3 - Simple Drawing - regular polygon.level | 2 +- .../config/scripts/levels/U3 - Simple Drawing - text.level | 2 +- .../config/scripts/levels/U3 - Sprites - Intro Sprites.level | 2 +- .../config/scripts/levels/U3 - Sprites -Draw Sprites.level | 2 +- .../levels/U3 - Sprites and Mod - Clone No Draw Sprites.level | 2 +- .../levels/U3 - Sprites and Mod - Create and Draw Sprite.level | 2 +- .../levels/U3 - Sprites and Mod - Debug DrawSprites.level | 2 +- .../levels/U3 - Sprites and Mod - Debug Name Sprite.level | 2 +- .../scripts/levels/U3 - Sprites and Mod - Free Play.level | 2 +- .../scripts/levels/U3 - Sprites and Mod - Growing Square.level | 2 +- .../config/scripts/levels/U3 - Sprites and Mod - Mod.level | 2 +- .../levels/U3 - Sprites and Mod - Mouse Width and Height.level | 2 +- .../scripts/levels/U3 - Sprites and Mod - Mouse X and Y.level | 2 +- .../scripts/levels/U3 - Sprites and Mod - Move Across.level | 2 +- .../levels/U3 - Sprites and Mod - Rand Around Mouse.level | 2 +- .../levels/U3 - Sprites and Mod - Rand Shape Color.level | 2 +- .../levels/U3 - Sprites and Mod - Rotation Direction.level | 2 +- .../scripts/levels/U3 - Sprites and Mod - Shape Color.level | 2 +- .../levels/U3 - Sprites and Mod - Sprite Rotation Command.level | 2 +- .../scripts/levels/U3 - Sprites and Mod - Sprite Rotation.level | 2 +- .../levels/U3 - Sprites and Mod - Sprite Width and Height.level | 2 +- .../config/scripts/levels/U3 - Sprites and Mod - Sprite Y.level | 2 +- .../levels/U3 - Sprites and Mod - Width and Height Rand.level | 2 +- .../levels/U3 - Sprites and Mod - Wrap Many Squares.level | 2 +- .../levels/U3 - Sprites and Mod - Wrap Moving Left.level | 2 +- .../scripts/levels/U3 - Sprites and Mod - X and Y Prop.level | 2 +- .../scripts/levels/U3 - Sprites and Mod - two sprites.level | 2 +- dashboard/config/scripts/levels/U3 Variables consolelog.level | 2 +- .../config/scripts/levels/U3 Variables flower example.level | 2 +- dashboard/config/scripts/levels/U3 Variables gray square.level | 2 +- .../config/scripts/levels/U3 Variables make a square.level | 2 +- .../scripts/levels/U3 Variables misconceptions try it.level | 2 +- .../scripts/levels/U3 Variables randomize your square.level | 2 +- dashboard/config/scripts/levels/U3 Variables write.level | 2 +- ...hings_U3 - Simple Drawing - Rectangle Width and Height.level | 2 +- 449 files changed, 449 insertions(+), 449 deletions(-) diff --git a/dashboard/config/scripts/levels/CSD U3 - Simple Counter Predict.level b/dashboard/config/scripts/levels/CSD U3 - Simple Counter Predict.level index e235a9a1151f1..a1b308a51a3e3 100644 --- a/dashboard/config/scripts/levels/CSD U3 - Simple Counter Predict.level +++ b/dashboard/config/scripts/levels/CSD U3 - Simple Counter Predict.level @@ -64,7 +64,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "encrypted_examples": "rjxT6iF5KjqBHXf413tzznDDpJVGWcEND3LaKri4GpvMPkbfhUl54EVvy/a7\nAgj1\n", "instructions_important": "false", "hide_animation_mode": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 - Sprites - Sprite v Rect.level b/dashboard/config/scripts/levels/CSD U3 - Sprites - Sprite v Rect.level index c31d0114230b2..0e5f35e3c71e9 100644 --- a/dashboard/config/scripts/levels/CSD U3 - Sprites - Sprite v Rect.level +++ b/dashboard/config/scripts/levels/CSD U3 - Sprites - Sprite v Rect.level @@ -63,7 +63,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_blocks": "function draw(){\r\n \r\n}", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 - balloon template.level b/dashboard/config/scripts/levels/CSD U3 - balloon template.level index 0d5ac9e665d12..552201eef534a 100644 --- a/dashboard/config/scripts/levels/CSD U3 - balloon template.level +++ b/dashboard/config/scripts/levels/CSD U3 - balloon template.level @@ -31,7 +31,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\n \"orderedKeys\": [\n \"balloon\",\n \"pop\"\n ],\n \"propsByKey\": {\n \"balloon\": {\n \"name\": \"balloon\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/balloon.png\",\n \"sourceSize\": {\n \"x\": 444,\n \"y\": 598\n },\n \"frameSize\": {\n \"x\": 444,\n \"y\": 598\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"pop\": {\n \"name\": \"pop\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/pop.png\",\n \"sourceSize\": {\n \"x\": 600,\n \"y\": 465\n },\n \"frameSize\": {\n \"x\": 600,\n \"y\": 465\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 - car template.level b/dashboard/config/scripts/levels/CSD U3 - car template.level index b3ecbc77f3c25..0adda2847dbc7 100644 --- a/dashboard/config/scripts/levels/CSD U3 - car template.level +++ b/dashboard/config/scripts/levels/CSD U3 - car template.level @@ -31,7 +31,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"finish_line\",\r\n \"6adbac7a-0e3f-4640-ae37-54a94a97d542\"\r\n ],\r\n \"propsByKey\": {\r\n \"finish_line\": {\r\n \"name\": \"finish_line\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/ZmPw5xh7H5t1cAqt3rnDPA/finish_line.png?version=EF4Q6UwymbxNBc81zzKZEPhh1ql4gwvO\",\r\n \"frameSize\": {\r\n \"x\": 81,\r\n \"y\": 400\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"EF4Q6UwymbxNBc81zzKZEPhh1ql4gwvO\"\r\n },\r\n \"6adbac7a-0e3f-4640-ae37-54a94a97d542\": {\r\n \"name\": \"race_car\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/media?u=https%3A%2F%2Flevelbuilder-studio.code.org%2Fv3%2Fanimations%2FZmPw5xh7H5t1cAqt3rnDPA%2F6adbac7a-0e3f-4640-ae37-54a94a97d542.png%3Fversion%3D_QE8AAH3dC365E.Ytt7Jk9Ce6MFxp47q\",\r\n \"frameSize\": {\r\n \"x\": 131,\r\n \"y\": 71\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"_QE8AAH3dC365E.Ytt7Jk9Ce6MFxp47q\"\r\n }\r\n }\r\n}", "instructions_important": "false", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 - complex - compound conditionals.level b/dashboard/config/scripts/levels/CSD U3 - complex - compound conditionals.level index 0eceeec2bcb3f..be3cd5bc6b167 100644 --- a/dashboard/config/scripts/levels/CSD U3 - complex - compound conditionals.level +++ b/dashboard/config/scripts/levels/CSD U3 - complex - compound conditionals.level @@ -94,7 +94,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[]", "hide_animation_mode": "false", "instructions_important": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 - complex - key up and down.level b/dashboard/config/scripts/levels/CSD U3 - complex - key up and down.level index de292ea2bc314..3a583d7c78239 100644 --- a/dashboard/config/scripts/levels/CSD U3 - complex - key up and down.level +++ b/dashboard/config/scripts/levels/CSD U3 - complex - key up and down.level @@ -97,7 +97,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[]", "start_blocks": "var clicks = 0;\r\n\r\nfunction draw() {\r\n // If mouseWentDown, add one to the clicks variable\r\n \r\n background(\"white\");\r\n textSize(50);\r\n textAlign(CENTER, CENTER);\r\n text(clicks, 0, 0, 400, 400);\r\n}", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 - complex - mouse down.level b/dashboard/config/scripts/levels/CSD U3 - complex - mouse down.level index 898260e104a34..f51298b27637a 100644 --- a/dashboard/config/scripts/levels/CSD U3 - complex - mouse down.level +++ b/dashboard/config/scripts/levels/CSD U3 - complex - mouse down.level @@ -94,7 +94,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[]", "start_blocks": "var balloon = createSprite(200, 50);\r\nballoon.setAnimation(\"balloon\");\r\nballoon.scale = 0.1;\r\n\r\nfunction draw() {\r\n background(\"white\");\r\n \r\n // If the mouse is down, move the balloon up, otherwise move it down\r\n balloon.y = balloon.y + 1;\r\n\r\n drawSprites();\r\n}", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 - complex - mouse move.level b/dashboard/config/scripts/levels/CSD U3 - complex - mouse move.level index 763b2f9d78921..507ccde42a011 100644 --- a/dashboard/config/scripts/levels/CSD U3 - complex - mouse move.level +++ b/dashboard/config/scripts/levels/CSD U3 - complex - mouse move.level @@ -97,7 +97,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[]", "start_blocks": "var salt = createSprite (200, 200);\r\nsalt.setAnimation(\"salt\");\r\nsalt.rotation = 150;\r\n\r\nfunction draw() {\r\n background(\"skyblue\");\r\n \r\n // If mouseDidMove, rotate the salt randomly to the left or right\r\n \r\n drawSprites();\r\n}", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 - complex - nested conditional.level b/dashboard/config/scripts/levels/CSD U3 - complex - nested conditional.level index 82e2916cf525e..2363bca707598 100644 --- a/dashboard/config/scripts/levels/CSD U3 - complex - nested conditional.level +++ b/dashboard/config/scripts/levels/CSD U3 - complex - nested conditional.level @@ -94,7 +94,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[]", "hide_animation_mode": "false", "instructions_important": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 - conditionals - arrows and gears.level b/dashboard/config/scripts/levels/CSD U3 - conditionals - arrows and gears.level index 392da1ee0f40d..b7f24ec01df33 100644 --- a/dashboard/config/scripts/levels/CSD U3 - conditionals - arrows and gears.level +++ b/dashboard/config/scripts/levels/CSD U3 - conditionals - arrows and gears.level @@ -85,7 +85,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_animation_mode": "false", "start_in_animation_tab": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 - conditionals - transition.level b/dashboard/config/scripts/levels/CSD U3 - conditionals - transition.level index 6d2d7fb5843f2..28c7c72c3e76a 100644 --- a/dashboard/config/scripts/levels/CSD U3 - conditionals - transition.level +++ b/dashboard/config/scripts/levels/CSD U3 - conditionals - transition.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Booleans\r\n\r\nIn the past few levels, we have been comparing values of sprites to find out whether something is true or false. Let's start putting that in the context of an animation.\r\n\r\n# Do This\r\nThe program draws a race car and a finish line. We are going to figure out when the race car crosses the finish line. The sprites have all been set up for you.\r\n\r\n* Add a `console.log` statement inside the draw loop. ( [Show me where](#triggercallout=callout) )\r\n* Add an Boolean expression inside the `console.log` that asks \"Is the x position of the race car less than the x position of the finish line?\"\r\n* Look at the output of the program as the car moves. When does the output change? Why?", "callout_json": "[ {\r\n \"localization_key\": \"CSD_U3_L8_S6_C1\",\r\n \"callout_text\": \"Put the console log statement here\",\r\n \"element_id\": \"\",\r\n \"on\": \"callout\",\r\n \"qtip_config\": {\r\n \"codeStudio\": {\r\n \"canReappear\": true,\r\n \"dropletPaletteCategory\": \"\",\r\n \"codeString\": \"raceCar.x = raceCar.x - 2;\"\r\n },\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"top left\",\r\n \"at\": \"bottom left\",\r\n \"adjust\": {\r\n \"x\": 160,\r\n \"y\": 10\r\n }\r\n }\r\n }\r\n }\r\n]", "show_d_pad": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 - fish template.level b/dashboard/config/scripts/levels/CSD U3 - fish template.level index 5f13fc4176c8d..898e0537989d1 100644 --- a/dashboard/config/scripts/levels/CSD U3 - fish template.level +++ b/dashboard/config/scripts/levels/CSD U3 - fish template.level @@ -31,7 +31,7 @@ "free_play": "false", "text_mode_at_start": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"7971239b-2cc5-42c7-8f24-cc7628d98d29\",\r\n \"04fe3dba-6425-4064-87d6-a572685bdd5c\",\r\n \"d3c518ec-c351-41d4-bc12-d3b885389bf5\"\r\n ],\r\n \"propsByKey\": {\r\n \"7971239b-2cc5-42c7-8f24-cc7628d98d29\": {\r\n \"name\": \"blue_fish\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/qQO8azHNNTyOiiJs3MYLNQ/7971239b-2cc5-42c7-8f24-cc7628d98d29.png\",\r\n \"frameSize\": {\r\n \"x\": 128,\r\n \"y\": 128\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 4,\r\n \"version\": \"UgK56NFFNAcaEgzyGa1kA7Q0ifv.dcK0\"\r\n },\r\n \"04fe3dba-6425-4064-87d6-a572685bdd5c\": {\r\n \"name\": \"orange_fish\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/qQO8azHNNTyOiiJs3MYLNQ/04fe3dba-6425-4064-87d6-a572685bdd5c.png\",\r\n \"frameSize\": {\r\n \"x\": 128,\r\n \"y\": 128\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 4,\r\n \"version\": \"IMlqRruXCoTazPeu.iWQKvo8vtNWEeao\"\r\n },\r\n \"d3c518ec-c351-41d4-bc12-d3b885389bf5\": {\r\n \"name\": \"green_fish\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/qQO8azHNNTyOiiJs3MYLNQ/d3c518ec-c351-41d4-bc12-d3b885389bf5.png\",\r\n \"frameSize\": {\r\n \"x\": 128,\r\n \"y\": 128\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 4,\r\n \"version\": \"l3xz89QJEaPfW4rdHCynWADo_KChYRTj\"\r\n }\r\n }\r\n}", "instructions_important": "false", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 - images - Embed Project.level b/dashboard/config/scripts/levels/CSD U3 - images - Embed Project.level index 93cb0d3df32ab..4f6bd76a602e3 100644 --- a/dashboard/config/scripts/levels/CSD U3 - images - Embed Project.level +++ b/dashboard/config/scripts/levels/CSD U3 - images - Embed Project.level @@ -171,7 +171,7 @@ "submittable": "false", "hide_view_data_button": "false", "fail_on_lint_errors": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "contained_level_names": null }, "published": true, diff --git a/dashboard/config/scripts/levels/CSD U3 - images - animations.level b/dashboard/config/scripts/levels/CSD U3 - images - animations.level index 738c29705f5df..6a3b8639983c5 100644 --- a/dashboard/config/scripts/levels/CSD U3 - images - animations.level +++ b/dashboard/config/scripts/levels/CSD U3 - images - animations.level @@ -93,7 +93,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 - images - bee template.level b/dashboard/config/scripts/levels/CSD U3 - images - bee template.level index df06de531488f..9a734722e4008 100644 --- a/dashboard/config/scripts/levels/CSD U3 - images - bee template.level +++ b/dashboard/config/scripts/levels/CSD U3 - images - bee template.level @@ -31,7 +31,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"4c542e7a-9e93-41da-988e-c0c2c611a601\"\r\n ],\r\n \"propsByKey\": {\r\n \"4c542e7a-9e93-41da-988e-c0c2c611a601\": {\r\n \"name\": \"bee\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/4TwrQUly6PDa9O2izubCkg/632b7a80-3526-48b4-8b27-333199f6d3cf.png?version=NSixfcN8r9yoB788st2wA1ZyhYX3gFD9\",\r\n \"frameSize\": {\r\n \"x\": 102,\r\n \"y\": 86\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 4,\r\n \"version\": \"NSixfcN8r9yoB788st2wA1ZyhYX3gFD9\"\r\n }\r\n }\r\n}", "instructions_important": "false", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 - images - changing scene.level b/dashboard/config/scripts/levels/CSD U3 - images - changing scene.level index 55be57928f301..5ca4a48c313b0 100644 --- a/dashboard/config/scripts/levels/CSD U3 - images - changing scene.level +++ b/dashboard/config/scripts/levels/CSD U3 - images - changing scene.level @@ -75,7 +75,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "project_template_level_name": "CSD U3 - fish template", "instructions_important": "false", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 - images - first image.level b/dashboard/config/scripts/levels/CSD U3 - images - first image.level index 822e4907ff75b..c4afc67b36cf7 100644 --- a/dashboard/config/scripts/levels/CSD U3 - images - first image.level +++ b/dashboard/config/scripts/levels/CSD U3 - images - first image.level @@ -75,7 +75,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_blocks": "var sprite = createSprite(200, 200);\r\nfunction draw() {\r\n background(\"white\");\r\n drawSprites();\r\n}", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 - images - first sprite with image.level b/dashboard/config/scripts/levels/CSD U3 - images - first sprite with image.level index 9fd732daeb7a8..5e1e79c1a8ddf 100644 --- a/dashboard/config/scripts/levels/CSD U3 - images - first sprite with image.level +++ b/dashboard/config/scripts/levels/CSD U3 - images - first sprite with image.level @@ -75,7 +75,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_blocks": "var sprite = createSprite(300,300);\r\nsprite.setAnimation(\"alien\");\r\nfunction draw(){\r\n background(\"white\");\r\n drawSprites();\r\n}", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"b254a713-0cc2-43b1-9bf8-37ab354c7531\",\r\n \"1194b4df-ff67-4a94-aac0-36ee2af635c2\",\r\n \"d75a06ab-baf0-484d-acbb-d039cd63b57d\"\r\n ],\r\n \"propsByKey\": {\r\n \"b254a713-0cc2-43b1-9bf8-37ab354c7531\": {\r\n \"name\": \"alien\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/IcUFxA8-u6jLp45nUBhVXQ/b254a713-0cc2-43b1-9bf8-37ab354c7531.png?version=aprLMc__EIzaWzZEMF_jnZ90sVEs8GhJ\",\r\n \"frameSize\": {\r\n \"x\": 128,\r\n \"y\": 156\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"aprLMc__EIzaWzZEMF_jnZ90sVEs8GhJ\"\r\n },\r\n \"1194b4df-ff67-4a94-aac0-36ee2af635c2\": {\r\n \"name\": \"bunny\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/api/v1/animation-library/mPlPPGYNuqk_CVhdQLAjitMqpdqgUnrp/bunny1_stand.png\",\r\n \"frameSize\": {\r\n \"x\": 120,\r\n \"y\": 201\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"mPlPPGYNuqk_CVhdQLAjitMqpdqgUnrp\"\r\n },\r\n \"d75a06ab-baf0-484d-acbb-d039cd63b57d\": {\r\n \"name\": \"flyMan\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/api/v1/animation-library/Ut5u3ubOFOl4B8NsVnz2PtwuiLBarLJ4/flyMan_stand.png\",\r\n \"frameSize\": {\r\n \"x\": 122,\r\n \"y\": 139\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"Ut5u3ubOFOl4B8NsVnz2PtwuiLBarLJ4\"\r\n }\r\n }\r\n}", "callout_json": "[ {\r\n \"localization_key\": \"\",\r\n \"element_id\": \"#animationMode\",\r\n \"callout_text\": \"Click this to open the Animation Tab\",\r\n \"qtip_config\": {\r\n \t\"position\": {\r\n \"my\": \"top left\",\r\n \"at\": \"bottom right\",\r\n \"adjust\": {\r\n \"x\": 0,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n }\r\n ]", diff --git a/dashboard/config/scripts/levels/CSD U3 - images - fish free play.level b/dashboard/config/scripts/levels/CSD U3 - images - fish free play.level index 5433044a18b3e..aa21aa0d269bc 100644 --- a/dashboard/config/scripts/levels/CSD U3 - images - fish free play.level +++ b/dashboard/config/scripts/levels/CSD U3 - images - fish free play.level @@ -79,7 +79,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "project_template_level_name": "CSD U3 - fish template", "instructions_important": "false", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 - images - fish with arrows.level b/dashboard/config/scripts/levels/CSD U3 - images - fish with arrows.level index e1f4d08dd8b02..1db6213c74c9c 100644 --- a/dashboard/config/scripts/levels/CSD U3 - images - fish with arrows.level +++ b/dashboard/config/scripts/levels/CSD U3 - images - fish with arrows.level @@ -84,7 +84,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "project_template_level_name": "CSD U3 - fish template", "instructions_important": "false", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 - images - gears template.level b/dashboard/config/scripts/levels/CSD U3 - images - gears template.level index 0dd74df333644..2eaefb32d402c 100644 --- a/dashboard/config/scripts/levels/CSD U3 - images - gears template.level +++ b/dashboard/config/scripts/levels/CSD U3 - images - gears template.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_blocks": "var blueGear = createSprite(100, 220);\r\nblueGear.setAnimation(\"blue_gear\");\r\n\r\nvar greenGear = createSprite(183, 298);\r\ngreenGear.setAnimation(\"green_gear\");\r\n\r\nvar redGear = createSprite(185, 145);\r\nredGear.setAnimation(\"red_gear\");\r\n\r\nfunction draw() {\r\n background(\"white\");\r\n drawSprites();\r\n}", "start_animations": "{\n \"orderedKeys\": [\n \"blue_gear\",\n \"green_gear\",\n \"red_gear\"\n ],\n \"propsByKey\": {\n \"blue_gear\": {\n \"name\": \"blue_gear\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/blue_gear.png\",\n \"sourceSize\": {\n \"x\": 123,\n \"y\": 124\n },\n \"frameSize\": {\n \"x\": 123,\n \"y\": 124\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"green_gear\": {\n \"name\": \"green_gear\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/green_gear.png\",\n \"sourceSize\": {\n \"x\": 122,\n \"y\": 122\n },\n \"frameSize\": {\n \"x\": 122,\n \"y\": 122\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"red_gear\": {\n \"name\": \"red_gear\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/red_gear.png\",\n \"sourceSize\": {\n \"x\": 122,\n \"y\": 121\n },\n \"frameSize\": {\n \"x\": 122,\n \"y\": 121\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 - images - kite free play.level b/dashboard/config/scripts/levels/CSD U3 - images - kite free play.level index cff63969f981d..015bd07bfc438 100644 --- a/dashboard/config/scripts/levels/CSD U3 - images - kite free play.level +++ b/dashboard/config/scripts/levels/CSD U3 - images - kite free play.level @@ -79,7 +79,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "project_template_level_name": "CSD U3 - kite template", "instructions_important": "false", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 - images - kiteFlying.level b/dashboard/config/scripts/levels/CSD U3 - images - kiteFlying.level index 7363f08fbbbe7..9cacfd0811cb4 100644 --- a/dashboard/config/scripts/levels/CSD U3 - images - kiteFlying.level +++ b/dashboard/config/scripts/levels/CSD U3 - images - kiteFlying.level @@ -79,7 +79,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "project_template_level_name": "CSD U3 - kite template", "instructions_important": "false", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 - images - nextFrame.level b/dashboard/config/scripts/levels/CSD U3 - images - nextFrame.level index decf2232108b8..c84ec6425c994 100644 --- a/dashboard/config/scripts/levels/CSD U3 - images - nextFrame.level +++ b/dashboard/config/scripts/levels/CSD U3 - images - nextFrame.level @@ -93,7 +93,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 - images - project 1 template.level b/dashboard/config/scripts/levels/CSD U3 - images - project 1 template.level index e9ee756a71406..7ea213020bfd5 100644 --- a/dashboard/config/scripts/levels/CSD U3 - images - project 1 template.level +++ b/dashboard/config/scripts/levels/CSD U3 - images - project 1 template.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 - images - random movement.level b/dashboard/config/scripts/levels/CSD U3 - images - random movement.level index 2e75f94a15e30..5c075e732281c 100644 --- a/dashboard/config/scripts/levels/CSD U3 - images - random movement.level +++ b/dashboard/config/scripts/levels/CSD U3 - images - random movement.level @@ -76,7 +76,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "project_template_level_name": "CSD U3 - fish template", "instructions_important": "false", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 - images - review.level b/dashboard/config/scripts/levels/CSD U3 - images - review.level index 9e4a479d9dd2f..cd3c5f08a1c76 100644 --- a/dashboard/config/scripts/levels/CSD U3 - images - review.level +++ b/dashboard/config/scripts/levels/CSD U3 - images - review.level @@ -94,7 +94,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 - images - scale.level b/dashboard/config/scripts/levels/CSD U3 - images - scale.level index 47b81e1cc9a81..1fddf405c4329 100644 --- a/dashboard/config/scripts/levels/CSD U3 - images - scale.level +++ b/dashboard/config/scripts/levels/CSD U3 - images - scale.level @@ -79,7 +79,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "project_template_level_name": "CSD U3 - kite template", "instructions_important": "false", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 - images - setAnimation.level b/dashboard/config/scripts/levels/CSD U3 - images - setAnimation.level index 88c99b56540c4..b34e4409c5f36 100644 --- a/dashboard/config/scripts/levels/CSD U3 - images - setAnimation.level +++ b/dashboard/config/scripts/levels/CSD U3 - images - setAnimation.level @@ -78,7 +78,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "project_template_level_name": "CSD U3 - kite template", "instructions_important": "false", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 - images - switch the picture.level b/dashboard/config/scripts/levels/CSD U3 - images - switch the picture.level index 618b9e4e0475c..b6f40a99d6390 100644 --- a/dashboard/config/scripts/levels/CSD U3 - images - switch the picture.level +++ b/dashboard/config/scripts/levels/CSD U3 - images - switch the picture.level @@ -94,7 +94,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 - images - visible.level b/dashboard/config/scripts/levels/CSD U3 - images - visible.level index e42f8f50c4874..cc2fc9a42d195 100644 --- a/dashboard/config/scripts/levels/CSD U3 - images - visible.level +++ b/dashboard/config/scripts/levels/CSD U3 - images - visible.level @@ -94,7 +94,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 - kite template.level b/dashboard/config/scripts/levels/CSD U3 - kite template.level index 5308eb69c74b8..a04da9dec6bcd 100644 --- a/dashboard/config/scripts/levels/CSD U3 - kite template.level +++ b/dashboard/config/scripts/levels/CSD U3 - kite template.level @@ -31,7 +31,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_share_and_remix": "false", "disable_if_else_editing": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 - sprites - motiviation.level b/dashboard/config/scripts/levels/CSD U3 - sprites - motiviation.level index a914120f356e4..b99595fac56ea 100644 --- a/dashboard/config/scripts/levels/CSD U3 - sprites - motiviation.level +++ b/dashboard/config/scripts/levels/CSD U3 - sprites - motiviation.level @@ -63,7 +63,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_blocks": "var sprite1 = createSprite(400,400,10,10);\r\nsprite1.shapeColor = \"red\";\r\nvar sprite2 = createSprite(0,0,10,10);\r\nsprite2.shapeColor = \"green\";\r\nvar sprite3= createSprite(400,0,10,10);\r\nsprite3.shapeColor = \"blue\";\r\nvar sprite4 = createSprite(0,400,10,10);\r\nsprite4.shapeColor = \"yellow\";\r\n\r\nfunction draw() {\r\n background(\"white\");\r\n sprite1.x -= 1;\r\n sprite2.x += 1;\r\n sprite3.x -= 0.5;\r\n sprite4.x += 0.5;\r\n sprite1.y -= 0.5;\r\n sprite2.y += 0.5;\r\n sprite3.y += 1;\r\n sprite4.y -= 1;\r\n \r\n sprite1.width += 0.1;\r\n sprite2.width += 0.2;\r\n sprite3.width += 0.3;\r\n sprite4.width += 0.4;\r\n sprite1.height += 0.1;\r\n sprite2.height += 0.2;\r\n sprite3.height += 0.3;\r\n sprite4.height += 0.4;\r\n \r\n drawSprites();\r\n}", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 - wheel template.level b/dashboard/config/scripts/levels/CSD U3 - wheel template.level index bf53e2f4b641a..0d18fbe791947 100644 --- a/dashboard/config/scripts/levels/CSD U3 - wheel template.level +++ b/dashboard/config/scripts/levels/CSD U3 - wheel template.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_blocks": "function draw(){\r\n \r\n}", "start_animations": "{\n \"orderedKeys\": [\n \"clicker\",\n \"wheel\"\n ],\n \"propsByKey\": {\n \"clicker\": {\n \"name\": \"clicker\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/clicker.png\",\n \"sourceSize\": {\n \"x\": 50,\n \"y\": 44\n },\n \"frameSize\": {\n \"x\": 50,\n \"y\": 44\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"wheel\": {\n \"name\": \"wheel\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/wheel.png\",\n \"sourceSize\": {\n \"x\": 350,\n \"y\": 350\n },\n \"frameSize\": {\n \"x\": 350,\n \"y\": 350\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti Play Defender.level b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti Play Defender.level index 0440ee43d0ae9..ddd25c480c399 100644 --- a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti Play Defender.level +++ b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti Play Defender.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "true", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender animate cake enemies.level b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender animate cake enemies.level index 97925836b2948..c9768ef72109d 100644 --- a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender animate cake enemies.level +++ b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender animate cake enemies.level @@ -30,7 +30,7 @@ "free_play": "true", "text_mode_at_start": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender animate player.level b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender animate player.level index fb7e54d9e1cd2..a8d5930803170 100644 --- a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender animate player.level +++ b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender animate player.level @@ -30,7 +30,7 @@ "free_play": "true", "text_mode_at_start": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender create set enemies.level b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender create set enemies.level index e051dd5d6e0f2..65373775dfbee 100644 --- a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender create set enemies.level +++ b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender create set enemies.level @@ -30,7 +30,7 @@ "free_play": "true", "text_mode_at_start": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender displace enemies.level b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender displace enemies.level index 5546dd5f77908..b73ecec5d2ee7 100644 --- a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender displace enemies.level +++ b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender displace enemies.level @@ -30,7 +30,7 @@ "free_play": "true", "text_mode_at_start": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender enemies move.level b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender enemies move.level index 8e0894dce3cb5..f064c1bbb02c9 100644 --- a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender enemies move.level +++ b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender enemies move.level @@ -30,7 +30,7 @@ "free_play": "true", "text_mode_at_start": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender enemies touch cake sprite2.level b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender enemies touch cake sprite2.level index e41dc82157774..e9c2234cba952 100644 --- a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender enemies touch cake sprite2.level +++ b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender enemies touch cake sprite2.level @@ -30,7 +30,7 @@ "free_play": "true", "text_mode_at_start": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender enemies touch cake.level b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender enemies touch cake.level index 858e227a8123a..fcec7a9be29ef 100644 --- a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender enemies touch cake.level +++ b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender enemies touch cake.level @@ -30,7 +30,7 @@ "free_play": "true", "text_mode_at_start": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender make it your own.level b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender make it your own.level index bdb1ba7694845..501ddd1923b87 100644 --- a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender make it your own.level +++ b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender make it your own.level @@ -30,7 +30,7 @@ "free_play": "true", "text_mode_at_start": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender move player.level b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender move player.level index 5c989277129f3..2780e698e3ed1 100644 --- a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender move player.level +++ b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender move player.level @@ -30,7 +30,7 @@ "free_play": "true", "text_mode_at_start": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender move up down.level b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender move up down.level index 214037344bf7b..0a194f77c1bd5 100644 --- a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender move up down.level +++ b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender move up down.level @@ -30,7 +30,7 @@ "free_play": "true", "text_mode_at_start": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender template.level b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender template.level index 6cd88704d6f64..a4ade8f6a7b27 100644 --- a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender template.level +++ b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender template.level @@ -30,7 +30,7 @@ "free_play": "true", "text_mode_at_start": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender touch water.level b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender touch water.level index aceeea6303287..4cfe789041cfd 100644 --- a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender touch water.level +++ b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti defender touch water.level @@ -30,7 +30,7 @@ "free_play": "true", "text_mode_at_start": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti introducing multiframe template.level b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti introducing multiframe template.level index 0243fe1fc06ef..241386ec9da33 100644 --- a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti introducing multiframe template.level +++ b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti introducing multiframe template.level @@ -30,7 +30,7 @@ "free_play": "false", "text_mode_at_start": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti introducing multiframe.level b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti introducing multiframe.level index a9940c81d852f..b33aa258724b4 100644 --- a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti introducing multiframe.level +++ b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti introducing multiframe.level @@ -30,7 +30,7 @@ "free_play": "true", "text_mode_at_start": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti mirror animation.level b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti mirror animation.level index d682fb890d5cb..9d99acc9ea01f 100644 --- a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti mirror animation.level +++ b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti mirror animation.level @@ -30,7 +30,7 @@ "free_play": "true", "text_mode_at_start": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti no loop.level b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti no loop.level index 096a1b3fcae78..42d85652f613f 100644 --- a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti no loop.level +++ b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti no loop.level @@ -30,7 +30,7 @@ "free_play": "true", "text_mode_at_start": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti play pause.level b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti play pause.level index a6f09a3d8e262..a790a5feb7ec2 100644 --- a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti play pause.level +++ b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti play pause.level @@ -30,7 +30,7 @@ "free_play": "true", "text_mode_at_start": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti slow down.level b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti slow down.level index ba0bf076d8206..e17d5ace6b05b 100644 --- a/dashboard/config/scripts/levels/CSD U3 AnimationsMulti slow down.level +++ b/dashboard/config/scripts/levels/CSD U3 AnimationsMulti slow down.level @@ -30,7 +30,7 @@ "free_play": "true", "text_mode_at_start": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Arrows.level b/dashboard/config/scripts/levels/CSD U3 Arrows.level index a04272f546c24..b67114f9479b3 100644 --- a/dashboard/config/scripts/levels/CSD U3 Arrows.level +++ b/dashboard/config/scripts/levels/CSD U3 Arrows.level @@ -188,7 +188,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 Boolean Modify.level b/dashboard/config/scripts/levels/CSD U3 Boolean Modify.level index efc66a383325f..98c70c551cc75 100644 --- a/dashboard/config/scripts/levels/CSD U3 Boolean Modify.level +++ b/dashboard/config/scripts/levels/CSD U3 Boolean Modify.level @@ -31,7 +31,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Boolean Expressions\r\n\r\nThe simplest Boolean expressions are questions that the computer can answer with true or false. These expressions are made using **comparison operators**, as shown below.\r\n\r\n|Comparison Operator | Boolean Expression | Meaning |\r\n|:---:|:---:|:---:|\r\n| | `1 < 9` | Is 1 less than 9? | \r\n| | `1 > 9` | Is 1 greater than 9 ? | \r\n| | `1 == 9` | Is 1 equal to 9?| \r\n
\r\n**Note:** If you saw the statement 3 < 2 in math class, you'd think something was terribly wrong, but this is not math class. In computer science, the comparison operators **ask a question** that the computer will answer with `true` or `false`. So you can read 3 < 2 as **\"Is 3 less than 2?\"** The answer in this case is no, or `false`. \r\n\r\nAnother way to say this is that the Boolean expression `3 < 2` **evaluates** to `false`.\r\n\r\n# Do This\r\nCan you modify the values of the sprite properties so that each of the Boolean expressions evaluates to `true`?\r\n\r\n- Read through the entire program to see how `sprite1` and `sprite2` are being created and which properties are compared.\r\n- For each of the Boolean expressions, identify the sprite properties being compared.\r\n- Change the code _in the first **11** lines only_ so that each of the `console.log()` statements print `true`.", "callout_json": "[]", "show_d_pad": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Complex Movement counter prediction gamelab.level b/dashboard/config/scripts/levels/CSD U3 Complex Movement counter prediction gamelab.level index 76fe5d3ea52bf..72e3ddbdd9090 100644 --- a/dashboard/config/scripts/levels/CSD U3 Complex Movement counter prediction gamelab.level +++ b/dashboard/config/scripts/levels/CSD U3 Complex Movement counter prediction gamelab.level @@ -36,7 +36,7 @@ "show_d_pad": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "instructions_important": "false", "teacher_markdown": "!!!tip\r\n\r\n\tThis level introduces the primary new programming pattern of this lesson, combing the counter pattern with sprites' velocity properties. Encourage students to take seriously their predictions before actually running the code.", diff --git a/dashboard/config/scripts/levels/CSD U3 Compound Nested Challenge.level b/dashboard/config/scripts/levels/CSD U3 Compound Nested Challenge.level index ea78929985323..9eb389113717b 100644 --- a/dashboard/config/scripts/levels/CSD U3 Compound Nested Challenge.level +++ b/dashboard/config/scripts/levels/CSD U3 Compound Nested Challenge.level @@ -94,7 +94,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[]", "hide_animation_mode": "false", "instructions_important": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Compound Nested Examples.level b/dashboard/config/scripts/levels/CSD U3 Compound Nested Examples.level index 2e8290a4757dd..07f7447775ec4 100644 --- a/dashboard/config/scripts/levels/CSD U3 Compound Nested Examples.level +++ b/dashboard/config/scripts/levels/CSD U3 Compound Nested Examples.level @@ -89,7 +89,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[]", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 Conditional Predict.level b/dashboard/config/scripts/levels/CSD U3 Conditional Predict.level index cf30bc3d8710a..c5f7530159196 100644 --- a/dashboard/config/scripts/levels/CSD U3 Conditional Predict.level +++ b/dashboard/config/scripts/levels/CSD U3 Conditional Predict.level @@ -32,7 +32,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "code_functions": { "draw": null, diff --git a/dashboard/config/scripts/levels/CSD U3 Conditional Project.level b/dashboard/config/scripts/levels/CSD U3 Conditional Project.level index 2161e621eeeb0..bf92ca30a2056 100644 --- a/dashboard/config/scripts/levels/CSD U3 Conditional Project.level +++ b/dashboard/config/scripts/levels/CSD U3 Conditional Project.level @@ -101,7 +101,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[]", "hide_animation_mode": "false", "instructions_important": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Conditionals Apple 2.level b/dashboard/config/scripts/levels/CSD U3 Conditionals Apple 2.level index deec43a76ede4..6210932d7ea77 100644 --- a/dashboard/config/scripts/levels/CSD U3 Conditionals Apple 2.level +++ b/dashboard/config/scripts/levels/CSD U3 Conditionals Apple 2.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Turning Red\r\n\r\nNow that we know how to use _if_ statements, you can do more than just check if the apple has reached a scale of 2, you turn it red once it happens.\r\n\r\n# Do This\r\n\r\nUse a conditional in the draw loop to check whether `apple.scale` is greater than 2 - if it is, set the apples new animation to \"apple_red\".\r\n\r\n_Challenge: Can you also make the apple stop growing once it turns red?_", "callout_json": "[]", "show_d_pad": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Conditionals Apple.level b/dashboard/config/scripts/levels/CSD U3 Conditionals Apple.level index 2f9af33b70def..9f726684689ad 100644 --- a/dashboard/config/scripts/levels/CSD U3 Conditionals Apple.level +++ b/dashboard/config/scripts/levels/CSD U3 Conditionals Apple.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# More Practice With Booleans\r\n\r\nLet's use one more Boolean expression to check the condition of a sprite.\r\n\r\n# Do This\r\nThere is a growing apple sprite created for you. It starts as green and should turn red when it gets to a scale of 2. We won't worry about making it red yet, let's just use a `console.log` command to check whether it's scale is 2 yet.\r\n\r\n* Add a `console.log` statement.\r\n* Add a Boolean expression inside the `console.log` that checks whether the `apple.scale` is greater than 2.", "callout_json": "[]", "show_d_pad": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Counters assigning an expression.level b/dashboard/config/scripts/levels/CSD U3 Counters assigning an expression.level index eda1cb343cbed..cd8f0c24c9a85 100644 --- a/dashboard/config/scripts/levels/CSD U3 Counters assigning an expression.level +++ b/dashboard/config/scripts/levels/CSD U3 Counters assigning an expression.level @@ -64,7 +64,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 Counters counter colors.level b/dashboard/config/scripts/levels/CSD U3 Counters counter colors.level index c34af3a50da2a..f4e3fa081b09e 100644 --- a/dashboard/config/scripts/levels/CSD U3 Counters counter colors.level +++ b/dashboard/config/scripts/levels/CSD U3 Counters counter colors.level @@ -64,7 +64,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "encrypted_examples": "nQAP+gdExO/l4CPvW77/dXOgt+9XrS45sGQqBUXXjgw33hDkvuxmLpTiwlvM\nY4xp\n", "instructions_important": "false", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 Counters counter square movement.level b/dashboard/config/scripts/levels/CSD U3 Counters counter square movement.level index 5d398bebd20cc..afbd0b4874cd1 100644 --- a/dashboard/config/scripts/levels/CSD U3 Counters counter square movement.level +++ b/dashboard/config/scripts/levels/CSD U3 Counters counter square movement.level @@ -64,7 +64,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "encrypted_examples": "pw3Cks4k0JPjCCkTrB6zd2x4cQr2GlYAAySVlDF+GmwzLNK+vbkkRyaj7sfl\nLrg4\n", "instructions_important": "false", "hide_animation_mode": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 Counters counter subtraction.level b/dashboard/config/scripts/levels/CSD U3 Counters counter subtraction.level index 5d7a555ee84a7..72ef83b9b4169 100644 --- a/dashboard/config/scripts/levels/CSD U3 Counters counter subtraction.level +++ b/dashboard/config/scripts/levels/CSD U3 Counters counter subtraction.level @@ -64,7 +64,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_animation_mode": "true", "start_in_animation_tab": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Counters counters expressions.level b/dashboard/config/scripts/levels/CSD U3 Counters counters expressions.level index 08fa19a4bc67f..14ac6d9451f81 100644 --- a/dashboard/config/scripts/levels/CSD U3 Counters counters expressions.level +++ b/dashboard/config/scripts/levels/CSD U3 Counters counters expressions.level @@ -64,7 +64,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "encrypted_examples": "qYBXw2XE1ZgoaSNKTyn13B4NBbVKGnAkUoSjNhmXT3+j388LQITxW97oNLvM\nBi0P\n", "instructions_important": "false", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 Counters counters sunset night.level b/dashboard/config/scripts/levels/CSD U3 Counters counters sunset night.level index 0a4b3fa6af253..38fa50ee7e9dc 100644 --- a/dashboard/config/scripts/levels/CSD U3 Counters counters sunset night.level +++ b/dashboard/config/scripts/levels/CSD U3 Counters counters sunset night.level @@ -64,7 +64,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "project_template_level_name": "CSD U3 Counters sunset template", "instructions_important": "false", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 Counters counters sunset.level b/dashboard/config/scripts/levels/CSD U3 Counters counters sunset.level index d6a187de5a63e..8f34c557beb0e 100644 --- a/dashboard/config/scripts/levels/CSD U3 Counters counters sunset.level +++ b/dashboard/config/scripts/levels/CSD U3 Counters counters sunset.level @@ -64,7 +64,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "project_template_level_name": "CSD U3 Counters sunset template", "encrypted_examples": "E1+Ot03GEZ35vm3xfwCxJ64P0zTUhHJXQm0GIsMpiy2my7X2SRLTtwUQyS0R\no9m8\n", "instructions_important": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Counters explaining counters.level b/dashboard/config/scripts/levels/CSD U3 Counters explaining counters.level index cba7513246c95..3e1946dddf73c 100644 --- a/dashboard/config/scripts/levels/CSD U3 Counters explaining counters.level +++ b/dashboard/config/scripts/levels/CSD U3 Counters explaining counters.level @@ -64,7 +64,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "encrypted_examples": "rjxT6iF5KjqBHXf413tzznDDpJVGWcEND3LaKri4GpvMPkbfhUl54EVvy/a7\nAgj1\n", "instructions_important": "false", "hide_animation_mode": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 Counters expressions.level b/dashboard/config/scripts/levels/CSD U3 Counters expressions.level index 3fd1cdf3fdb5a..3b38399c03579 100644 --- a/dashboard/config/scripts/levels/CSD U3 Counters expressions.level +++ b/dashboard/config/scripts/levels/CSD U3 Counters expressions.level @@ -64,7 +64,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 Counters long expressions.level b/dashboard/config/scripts/levels/CSD U3 Counters long expressions.level index 50b38811ff14f..caf7bf3349706 100644 --- a/dashboard/config/scripts/levels/CSD U3 Counters long expressions.level +++ b/dashboard/config/scripts/levels/CSD U3 Counters long expressions.level @@ -64,7 +64,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 Counters random expressions.level b/dashboard/config/scripts/levels/CSD U3 Counters random expressions.level index a6fbced664373..2b83867791dc5 100644 --- a/dashboard/config/scripts/levels/CSD U3 Counters random expressions.level +++ b/dashboard/config/scripts/levels/CSD U3 Counters random expressions.level @@ -64,7 +64,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 Counters sunset template.level b/dashboard/config/scripts/levels/CSD U3 Counters sunset template.level index b6b63982eb684..c4dc5c916c139 100644 --- a/dashboard/config/scripts/levels/CSD U3 Counters sunset template.level +++ b/dashboard/config/scripts/levels/CSD U3 Counters sunset template.level @@ -64,7 +64,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_animation_mode": "false", "start_in_animation_tab": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Counters variables as counters.level b/dashboard/config/scripts/levels/CSD U3 Counters variables as counters.level index 0c4588f14a129..9becbc5d4dd31 100644 --- a/dashboard/config/scripts/levels/CSD U3 Counters variables as counters.level +++ b/dashboard/config/scripts/levels/CSD U3 Counters variables as counters.level @@ -64,7 +64,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 Counters variables in expressions.level b/dashboard/config/scripts/levels/CSD U3 Counters variables in expressions.level index 030dcf820d327..1985162fa29e7 100644 --- a/dashboard/config/scripts/levels/CSD U3 Counters variables in expressions.level +++ b/dashboard/config/scripts/levels/CSD U3 Counters variables in expressions.level @@ -64,7 +64,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 Counters watchers.level b/dashboard/config/scripts/levels/CSD U3 Counters watchers.level index e51666bec79d6..c8939f4b5c846 100644 --- a/dashboard/config/scripts/levels/CSD U3 Counters watchers.level +++ b/dashboard/config/scripts/levels/CSD U3 Counters watchers.level @@ -64,7 +64,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "true", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Diagonal Movement.level b/dashboard/config/scripts/levels/CSD U3 Diagonal Movement.level index 4424975cb40a6..8b49fc4b9392b 100644 --- a/dashboard/config/scripts/levels/CSD U3 Diagonal Movement.level +++ b/dashboard/config/scripts/levels/CSD U3 Diagonal Movement.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_share_and_remix": "false", "code_functions": { diff --git a/dashboard/config/scripts/levels/CSD U3 Direction Animations.level b/dashboard/config/scripts/levels/CSD U3 Direction Animations.level index 84ffe084248c9..362708188fe07 100644 --- a/dashboard/config/scripts/levels/CSD U3 Direction Animations.level +++ b/dashboard/config/scripts/levels/CSD U3 Direction Animations.level @@ -84,7 +84,7 @@ "text_mode_at_start": "false", "submittable": "true", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[]", "instructions_important": "false", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Direction Arrows.level b/dashboard/config/scripts/levels/CSD U3 Direction Arrows.level index 4b5a832728c5e..9b2954156abeb 100644 --- a/dashboard/config/scripts/levels/CSD U3 Direction Arrows.level +++ b/dashboard/config/scripts/levels/CSD U3 Direction Arrows.level @@ -84,7 +84,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[]", "project_template_level_name": "CSD U3- arrows template", "instructions_important": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged orange and green.level b/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged orange and green.level index 70cd1e6bdd86a..03c24e3a33b99 100644 --- a/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged orange and green.level +++ b/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged orange and green.level @@ -44,7 +44,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "true", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged predict 1.level b/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged predict 1.level index 3fd512332ca11..87b74677b3896 100644 --- a/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged predict 1.level +++ b/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged predict 1.level @@ -44,7 +44,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged predict 2.level b/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged predict 2.level index 9d72463734202..50c927f713649 100644 --- a/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged predict 2.level +++ b/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged predict 2.level @@ -47,7 +47,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged update your scene.level b/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged update your scene.level index a64bf1322868f..07fd52f03846b 100644 --- a/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged update your scene.level +++ b/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged update your scene.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_share_and_remix": "false", "code_functions": { diff --git a/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged wiggle sprite rotation.level b/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged wiggle sprite rotation.level index 958c0934a02c1..fc05d431a48af 100644 --- a/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged wiggle sprite rotation.level +++ b/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged wiggle sprite rotation.level @@ -52,7 +52,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged wiggle sprite x.level b/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged wiggle sprite x.level index bd6945628d882..ac7fae18feb26 100644 --- a/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged wiggle sprite x.level +++ b/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged wiggle sprite x.level @@ -48,7 +48,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged wiggle sprite y.level b/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged wiggle sprite y.level index 85f269311587c..fdb4d758dd5ef 100644 --- a/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged wiggle sprite y.level +++ b/dashboard/config/scripts/levels/CSD U3 Draw Loop Plugged wiggle sprite y.level @@ -49,7 +49,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Drawing Squares to Corners.level b/dashboard/config/scripts/levels/CSD U3 Drawing Squares to Corners.level index b87288a4dacaa..1d28a9b06ade9 100644 --- a/dashboard/config/scripts/levels/CSD U3 Drawing Squares to Corners.level +++ b/dashboard/config/scripts/levels/CSD U3 Drawing Squares to Corners.level @@ -51,7 +51,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "callout_json": "[]", "markdown_instructions": "\r\n\r\n# Place Squares in Corners\r\n\r\nA big part of using Game Lab is understanding position. Remember you can always turn on the grid or hover with the mouse to help find the x and y position you want.\r\n\r\n# Do This\r\n\r\n* Place two rectangles exactly in the corners of the screen, just like the picture.", diff --git a/dashboard/config/scripts/levels/CSD U3 Else.level b/dashboard/config/scripts/levels/CSD U3 Else.level index 29b4514043116..fc66abef5acd9 100644 --- a/dashboard/config/scripts/levels/CSD U3 Else.level +++ b/dashboard/config/scripts/levels/CSD U3 Else.level @@ -95,7 +95,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[]", "instructions_important": "false", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Entertainment Sample 1.level b/dashboard/config/scripts/levels/CSD U3 Entertainment Sample 1.level index 17210ec451978..a47f1d1660bf3 100644 --- a/dashboard/config/scripts/levels/CSD U3 Entertainment Sample 1.level +++ b/dashboard/config/scripts/levels/CSD U3 Entertainment Sample 1.level @@ -31,7 +31,7 @@ "show_d_pad": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"alien\",\r\n \"platform\",\r\n \"star\"\r\n ],\r\n \"propsByKey\": {\r\n \"alien\": {\r\n \"name\": \"alien\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/rYCtY0q6UkAeoo87xDAZdg/alien.png?version=IoXn9oPbw3G7rH7ZDTaoaEpw2.1HTPuv\",\r\n \"frameSize\": {\r\n \"x\": 64,\r\n \"y\": 80\r\n },\r\n \"frameCount\": 2,\r\n \"looping\": true,\r\n \"frameDelay\": 5,\r\n \"version\": \"IoXn9oPbw3G7rH7ZDTaoaEpw2.1HTPuv\"\r\n },\r\n \"platform\": {\r\n \"name\": \"platform\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/media?u=https%3A%2F%2Fimages.code.org%2F3cc50e1b0cfc52230c8aa3e02e5e85f0-image-1475692266574.png\",\r\n \"frameSize\": {\r\n \"x\": 150,\r\n \"y\": 20\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2\r\n },\r\n \"star\": {\r\n \"name\": \"star\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/rYCtY0q6UkAeoo87xDAZdg/star.png?version=j.fvcAnKU4gzxrt86yNXM_YgyIQ62MMZ\",\r\n \"frameSize\": {\r\n \"x\": 30,\r\n \"y\": 30\r\n },\r\n \"frameCount\": 4,\r\n \"looping\": true,\r\n \"frameDelay\": 5,\r\n \"version\": \"j.fvcAnKU4gzxrt86yNXM_YgyIQ62MMZ\"\r\n }\r\n }\r\n}", "start_blocks": "var score = 0;\r\nvar player = createSprite(200, -50);\r\nplayer.setAnimation(\"alien\");\r\nvar platform1 = createSprite(300, -12);\r\nplatform1.setAnimation(\"platform\");\r\nplatform1.velocityY = 0.5;\r\nvar platform2 = createSprite(100, 200);\r\nplatform2.setAnimation(\"platform\");\r\nplatform2.velocityY = 0.5;\r\nvar item1 = createSprite(randomNumber(50,350), randomNumber(-10, -310));\r\nitem1.setAnimation(\"star\");\r\nitem1.velocityY = 4;\r\nvar item2 = createSprite(randomNumber(50,350), randomNumber(-10, -310));\r\nitem2.setAnimation(\"star\");\r\nitem2.velocityY = 4;\r\nfunction draw() {\r\n if (score < 25) {\r\n background1();\r\n } else {\r\n background2();\r\n }\r\n loopPlatforms();\r\n loopItems();\r\n controlPlayer();\r\n playerFall();\r\n catchItems();\r\n showScore();\r\n drawSprites();\r\n}\r\nfunction background1() {\r\n background(\"darkblue\");\r\n noStroke();\r\n fill(\"yellow\");\r\n ellipse(random(0,400), random(0,400), 3,3);\r\n ellipse(random(0,400), random(0,400), 3,3);\r\n}\r\nfunction background2() {\r\n background(\"salmon\");\r\n noStroke();\r\n fill(\"black\");\r\n ellipse(random(0,400), random(0,400), 3,3);\r\n ellipse(random(0,400), random(0,400), 3,3);\r\n}\r\nfunction loopPlatforms() {\r\n if (platform1.y > 410) {\r\n platform1.y = -10;\r\n }\r\n if (platform2.y > 410) {\r\n platform2.y = -10;\r\n }\r\n}\r\nfunction loopItems() {\r\n if (item1.y > 415) {\r\n item1.y = randomNumber(-60,-30);\r\n item1.x = randomNumber(50,350);\r\n } \r\n if (item2.y > 415) {\r\n item2.y = randomNumber(-60,-30);\r\n item2.x = randomNumber(50,350);\r\n }\r\n}\r\nfunction controlPlayer() {\r\n if (keyDown(\"left\")) {\r\n player.x = player.x - 5;\r\n }\r\n if (keyDown(\"right\")) {\r\n player.x = player.x + 5;\r\n }\r\n if (keyDown(\"space\")) {\r\n player.velocityY = -4;\r\n }\r\n}\r\nfunction playerFall() {\r\n player.velocityY = player.velocityY + 0.1;\r\n player.collide(platform1);\r\n player.collide(platform2);\r\n}\r\nfunction catchItems() {\r\n if (player.isTouching(item1)) {\r\n score = score + 1;\r\n item1.y = randomNumber(-100,-30);\r\n item1.x = randomNumber(50,350);\r\n }\r\n if (player.isTouching(item2)) {\r\n score = score + 1;\r\n item2.y = randomNumber(-100,-30);\r\n item2.x = randomNumber(50,350);\r\n }\r\n}\r\nfunction showScore() {\r\n fill(\"white\");\r\n textSize(20);\r\n text(\"Score: \", 10,10,50,20);\r\n text(score, 80, 10, 30,20);\r\n}\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 Entertainment Sample 2.level b/dashboard/config/scripts/levels/CSD U3 Entertainment Sample 2.level index c641ca12f86e0..9ee16c885e85f 100644 --- a/dashboard/config/scripts/levels/CSD U3 Entertainment Sample 2.level +++ b/dashboard/config/scripts/levels/CSD U3 Entertainment Sample 2.level @@ -31,7 +31,7 @@ "show_d_pad": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"91e8004e-d152-4425-9583-c175e0ff333f\",\r\n \"0c376efb-18b1-4fe0-b8ad-0c858581c2ea\",\r\n \"b490bae3-5fe7-4e17-9fd9-904dca47806a\",\r\n \"e9afe353-62c3-4f48-94cd-4c7b941d5603\",\r\n \"d3d87bbe-e285-4183-ac72-1f2b62dec6da\",\r\n \"f12a4f83-78da-4664-8904-5b0d151f9a04\",\r\n \"b35ccccc-0687-412c-95a1-92da1bfaff8f\",\r\n \"707dc322-076b-4998-a6ab-606a1d439203\",\r\n \"31c5d027-b741-4832-a3f8-59cece6ed198\",\r\n \"ab3a53aa-6d8e-4f1c-8c6d-a6276846704c\",\r\n \"8017b2a3-d3c1-4d6e-828b-0b0bd6249769\",\r\n \"68a2ecff-e1b6-438e-ac52-ce87ff031c0f\",\r\n \"4f48b339-1ce6-4db8-910b-6868a5edacd7\"\r\n ],\r\n \"propsByKey\": {\r\n \"91e8004e-d152-4425-9583-c175e0ff333f\": {\r\n \"name\": \"bunnyWalk\",\r\n \"sourceUrl\": \"https://studio.code.org/api/v1/animation-library/_1cquzNGZuNwXuRyPSy3VM6yuEPcwDdv/category_animals/bunny1.png\",\r\n \"frameSize\": {\r\n \"x\": 122,\r\n \"y\": 209\r\n },\r\n \"frameCount\": 2,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"_1cquzNGZuNwXuRyPSy3VM6yuEPcwDdv\"\r\n },\r\n \"0c376efb-18b1-4fe0-b8ad-0c858581c2ea\": {\r\n \"name\": \"grass1\",\r\n \"sourceUrl\": \"https://studio.code.org/api/v1/animation-library/.peDG2_7pms7fDHnnFqgfGFgTp9LWoW4/category_environment/grass1.png\",\r\n \"frameSize\": {\r\n \"x\": 128,\r\n \"y\": 128\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \".peDG2_7pms7fDHnnFqgfGFgTp9LWoW4\"\r\n },\r\n \"b490bae3-5fe7-4e17-9fd9-904dca47806a\": {\r\n \"name\": \"grass2\",\r\n \"sourceUrl\": \"https://studio.code.org/api/v1/animation-library/8dA1isoaYcJePoMuxtP2LC9a9OF_cNhD/category_environment/grass2.png\",\r\n \"frameSize\": {\r\n \"x\": 128,\r\n \"y\": 128\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"8dA1isoaYcJePoMuxtP2LC9a9OF_cNhD\"\r\n },\r\n \"e9afe353-62c3-4f48-94cd-4c7b941d5603\": {\r\n \"name\": \"grass3\",\r\n \"sourceUrl\": \"https://studio.code.org/api/v1/animation-library/QscS6i2R6JTAlM0psQKSP4lWcjCHEQT5/category_environment/grass3.png\",\r\n \"frameSize\": {\r\n \"x\": 128,\r\n \"y\": 128\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"QscS6i2R6JTAlM0psQKSP4lWcjCHEQT5\"\r\n },\r\n \"d3d87bbe-e285-4183-ac72-1f2b62dec6da\": {\r\n \"name\": \"grass4\",\r\n \"sourceUrl\": \"https://studio.code.org/api/v1/animation-library/ywcCXscyJuFh1pdv0yJ3p.Y09l9i95ZD/category_environment/grass4.png\",\r\n \"frameSize\": {\r\n \"x\": 128,\r\n \"y\": 128\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"ywcCXscyJuFh1pdv0yJ3p.Y09l9i95ZD\"\r\n },\r\n \"f12a4f83-78da-4664-8904-5b0d151f9a04\": {\r\n \"name\": \"carrot\",\r\n \"sourceUrl\": \"https://studio.code.org/api/v1/animation-library/fCiFCbsTDOoiLsbStivUZ249XH0TOxIY/category_food/carrot.png\",\r\n \"frameSize\": {\r\n \"x\": 78,\r\n \"y\": 70\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"fCiFCbsTDOoiLsbStivUZ249XH0TOxIY\"\r\n },\r\n \"b35ccccc-0687-412c-95a1-92da1bfaff8f\": {\r\n \"name\": \"mushroom\",\r\n \"sourceUrl\": \"https://studio.code.org/api/v1/animation-library/BLyynL5y0r2sz5Hrdd0uZwwrFVvP1ova/category_food/mushroom_brown.png\",\r\n \"frameSize\": {\r\n \"x\": 128,\r\n \"y\": 128\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"BLyynL5y0r2sz5Hrdd0uZwwrFVvP1ova\"\r\n },\r\n \"707dc322-076b-4998-a6ab-606a1d439203\": {\r\n \"name\": \"bowl\",\r\n \"sourceUrl\": \"https://studio.code.org/api/v1/animation-library/4uLWkFuCOyhVJu_KuB96I7a3DpXjHJJB/category_tools/bowl.png\",\r\n \"frameSize\": {\r\n \"x\": 128,\r\n \"y\": 128\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"4uLWkFuCOyhVJu_KuB96I7a3DpXjHJJB\"\r\n },\r\n \"31c5d027-b741-4832-a3f8-59cece6ed198\": {\r\n \"name\": \"blender\",\r\n \"sourceUrl\": \"https://studio.code.org/api/v1/animation-library/6R5FAg3ncm78KYPFJi6EeZbPhTQXzbuz/category_tools/blender.png\",\r\n \"frameSize\": {\r\n \"x\": 89,\r\n \"y\": 136\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"6R5FAg3ncm78KYPFJi6EeZbPhTQXzbuz\"\r\n },\r\n \"ab3a53aa-6d8e-4f1c-8c6d-a6276846704c\": {\r\n \"name\": \"snail\",\r\n \"sourceUrl\": \"https://studio.code.org/api/v1/animation-library/BnkiFuKSn09MYoaLzCOHkz4ARR41syIa/category_animals/snail.png\",\r\n \"frameSize\": {\r\n \"x\": 62,\r\n \"y\": 42\r\n },\r\n \"frameCount\": 2,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"BnkiFuKSn09MYoaLzCOHkz4ARR41syIa\"\r\n },\r\n \"8017b2a3-d3c1-4d6e-828b-0b0bd6249769\": {\r\n \"name\": \"ladybug\",\r\n \"sourceUrl\": \"https://studio.code.org/api/v1/animation-library/fnLAB88o_Q30Xrs7gDjE3VGsGdjcF4vc/category_animals/ladybug.png\",\r\n \"frameSize\": {\r\n \"x\": 63,\r\n \"y\": 36\r\n },\r\n \"frameCount\": 2,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"fnLAB88o_Q30Xrs7gDjE3VGsGdjcF4vc\"\r\n },\r\n \"68a2ecff-e1b6-438e-ac52-ce87ff031c0f\": {\r\n \"name\": \"bee\",\r\n \"sourceUrl\": \"https://studio.code.org/api/v1/animation-library/Cjcw5kJ4JMlZgeyhfWNDnFnLbrFmrEwR/category_animals/bee.png\",\r\n \"frameSize\": {\r\n \"x\": 63,\r\n \"y\": 50\r\n },\r\n \"frameCount\": 2,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"Cjcw5kJ4JMlZgeyhfWNDnFnLbrFmrEwR\"\r\n },\r\n \"4f48b339-1ce6-4db8-910b-6868a5edacd7\": {\r\n \"name\": \"cloud\",\r\n \"sourceUrl\": \"https://studio.code.org/api/v1/animation-library/aX2YZonbCWuo3OEMcTzG3b5He1i9qu1E/category_environment/cloud.png\",\r\n \"frameSize\": {\r\n \"x\": 260,\r\n \"y\": 134\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"aX2YZonbCWuo3OEMcTzG3b5He1i9qu1E\"\r\n }\r\n }\r\n}", "start_blocks": "//create variables\r\nvar hasBowl = false;\r\nvar carrots = 0;\r\nvar mushrooms = 0;\r\nvar started = false;\r\n\r\n// create sprites\r\nvar carrotBoard = createSprite(50,50);\r\ncarrotBoard.setAnimation(\"carrot\");\r\ncarrotBoard.scale = 0.5;\r\ncarrotBoard.visible = false;\r\nvar mushroomBoard = createSprite(150,30);\r\nmushroomBoard.setAnimation(\"mushroom\");\r\nmushroomBoard.scale = 0.5;\r\nmushroomBoard.visible = false;\r\nvar grass1 = createSprite(100, 290);\r\ngrass1.setAnimation(\"grass\" + randomNumber(1,4));\r\ngrass1.velocityX = -3;\r\nvar grass2 = createSprite(270, 290);\r\ngrass2.setAnimation(\"grass\" + randomNumber(1,4));\r\ngrass2.velocityX = -3;\r\nvar grass3 = createSprite(440, 290);\r\ngrass3.setAnimation(\"grass\" + randomNumber(1,4));\r\ngrass3.velocityX = -3;\r\nvar bunny = createSprite(200,300);\r\nbunny.scale = 0.5;\r\nbunny.setAnimation(\"bunnyWalk\");\r\nvar bowl = createSprite(-50,0);\r\nbowl.velocityX = -3;\r\nbowl.setAnimation(\"bowl\");\r\nvar mushroom = createSprite(-50,0);\r\nmushroom.setAnimation(\"mushroom\");\r\nmushroom.velocityX = -3;\r\nmushroom.scale = 0.5;\r\nvar carrot = createSprite(-50,0);\r\ncarrot.setAnimation(\"carrot\");\r\ncarrot.velocityX = -3;\r\ncarrot.scale = 0.6;\r\n\r\nvar bee = createSprite(-50,0);\r\nbee.setAnimation(\"bee\");\r\nbee.velocityX = -5;\r\nbee.scale = 0.7;\r\nvar ladybug = createSprite(-50,340);\r\nladybug.setAnimation(\"ladybug\");\r\nladybug.velocityX = -5;\r\nvar snail = createSprite(-50,340);\r\nsnail.setAnimation(\"snail\");\r\nsnail.velocityX = -5;\r\n\r\nfunction draw() {\r\n drawBackground();\r\n if ( started ) {\r\n win();\r\n bunnyJump();\r\n createItems();\r\n createBug();\r\n collectItems();\r\n touchBugs();\r\n displayBoard();\r\n } else {\r\n console.log(\"not started\");\r\n displayIntro();\r\n if (keyDown(\"space\")) {\r\n started = true;\r\n console.log(\"started\");\r\n }\r\n }\r\n drawSprites();\r\n}\r\n\r\nfunction displayIntro() {\r\n fill(\"black\");\r\n textSize(20);\r\n text(\"To start the game, press the space bar.\", 30, 50);\r\n text(\"To win, collect the food and avoid the bugs.\", 10 , 125);\r\n text(\"Use the space bar to jump.\", 70, 200);\r\n}\r\n\r\nfunction win() {\r\n if ((carrots > 9) && (mushrooms > 4)) {\r\n started = false;\r\n background(\"skyblue\");\r\n fill(\"black\");\r\n textSize(40);\r\n text(\"YOU WIN!\", 50, 100);\r\n }\r\n}\r\nfunction displayBoard() {\r\n if (hasBowl && started) {\r\n carrotBoard.visible = true;\r\n mushroomBoard.visible = true;\r\n fill(\"black\");\r\n textSize(20);\r\n text(carrots, 100, 50);\r\n text(mushrooms, 200, 50);\r\n } else {\r\n textSize(20);\r\n fill(\"black\");\r\n text(\"Find a bowl to start collecting food!\", 40, 50);\r\n }\r\n}\r\n\r\nfunction touchBugs() {\r\n if (bunny.isTouching(bee)) {\r\n hasBowl = false;\r\n carrots = 0;\r\n mushrooms = 0;\r\n carrotBoard.visible = false;\r\n mushroomBoard.visible = false;\r\n } \r\n if (bunny.isTouching(snail)) {\r\n if (bunny.velocityY == 10) {\r\n snail.height = 10;\r\n }\r\n } \r\n if (bunny.isTouching(ladybug)) {\r\n if (bunny.velocityY == 10) {\r\n ladybug.height = 10;\r\n ladybug.y = 350;\r\n ladybug.active = false;\r\n } else if (ladybug.active) {\r\n carrots = carrots - 3;\r\n if (carrots < 0) {\r\n carrots = 0;\r\n } \r\n ladybug.active =false;\r\n }\r\n }\r\n if (bunny.isTouching(snail)) {\r\n if (bunny.velocityY == 10) {\r\n snail.height = 10;\r\n snail.y = 350;\r\n snail.active = false;\r\n } else if (snail.active) {\r\n mushrooms = mushrooms - 3;\r\n if (mushrooms < 0) {\r\n mushrooms = 0;\r\n }\r\n snail.active = false;\r\n }\r\n } \r\n}\r\n\r\nfunction collectItems() {\r\n if (bunny.isTouching(bowl)) {\r\n bowl.x = -50;\r\n hasBowl = true;\r\n }\r\n if (bunny.isTouching(carrot) && hasBowl) {\r\n carrot.x = -50;\r\n carrots = carrots + 1;\r\n }\r\n if (bunny.isTouching(mushroom) && hasBowl ) {\r\n mushroom.x = -50;\r\n mushrooms = mushrooms + 1;\r\n }\r\n}\r\n\r\nfunction createBug() {\r\n if ((randomNumber(1,1000) == 1) && bee.x < -50) {\r\n bee.y = randomNumber(50,200);\r\n bee.x = 450;\r\n }\r\n if ((randomNumber(1,500) == 1) && snail.x < -50) {\r\n snail.x = 450;\r\n snail.height = 40;\r\n snail.active = true;\r\n }\r\n if ((randomNumber(1,100) == 1) && ladybug.x < -50) {\r\n ladybug.x = 450;\r\n ladybug.height = 35;\r\n ladybug.active = true;\r\n }\r\n}\r\n\r\nfunction createItems() {\r\n if ((randomNumber(1,500) == 1) && bowl.x < -50 && (hasBowl === false)) {\r\n bowl.y = randomNumber(50,300);\r\n bowl.x = 450;\r\n }\r\n if ((randomNumber(1,300) == 1) && mushroom.x < -50) {\r\n mushroom.y = randomNumber(50,300);\r\n mushroom.x = 450;\r\n }\r\n if ((randomNumber(1,100) == 1) && carrot.x < -50) {\r\n carrot.y = randomNumber(50,300);\r\n carrot.x = 450;\r\n }\r\n}\r\n\r\n\r\nfunction bunnyJump() {\r\n if (keyDown(\"space\") && (bunny.y == 300)) {\r\n bunny.velocityY = -10;\r\n }\r\n if (bunny.y < 150) {\r\n bunny.velocityY = 10;\r\n }\r\n if (bunny.y > 300) {\r\n bunny.velocityY = 0;\r\n bunny.y = 300;\r\n }\r\n}\r\n\r\n\r\n\r\n\r\nfunction drawBackground() {\r\n background(\"skyblue\");\r\n strokeWeight(0);\r\n fill(\"burlywood\");\r\n rect(0, 350, 400, 50);\r\n loopGrass();\r\n}\r\n\r\nfunction loopGrass() {\r\n if (grass1.x < -55) {\r\n grass1.x = 455;\r\n grass1.setAnimation(\"grass\" + randomNumber(1,4));\r\n }\r\n if (grass2.x < -55) {\r\n grass2.x = 455;\r\n grass2.setAnimation(\"grass\" + randomNumber(1,4));\r\n }\r\n if (grass3.x < -55) {\r\n grass3.x = 455;\r\n grass3.setAnimation(\"grass\" + randomNumber(1,4));\r\n }\r\n}\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 Entertainment Sample 3.level b/dashboard/config/scripts/levels/CSD U3 Entertainment Sample 3.level index b3b9a7bf61dd9..8a8eb9f138679 100644 --- a/dashboard/config/scripts/levels/CSD U3 Entertainment Sample 3.level +++ b/dashboard/config/scripts/levels/CSD U3 Entertainment Sample 3.level @@ -210,7 +210,7 @@ "hide_view_data_button": "false", "show_debug_watch": "true", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "true", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Entertainment Sample 4.level b/dashboard/config/scripts/levels/CSD U3 Entertainment Sample 4.level index ebf5873aabed0..66d094c2641e5 100644 --- a/dashboard/config/scripts/levels/CSD U3 Entertainment Sample 4.level +++ b/dashboard/config/scripts/levels/CSD U3 Entertainment Sample 4.level @@ -210,7 +210,7 @@ "hide_view_data_button": "false", "show_debug_watch": "true", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "true", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Expressions calculator.level b/dashboard/config/scripts/levels/CSD U3 Expressions calculator.level index 45a77ad7cae9b..ce2e058926075 100644 --- a/dashboard/config/scripts/levels/CSD U3 Expressions calculator.level +++ b/dashboard/config/scripts/levels/CSD U3 Expressions calculator.level @@ -191,7 +191,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 Functions Add Change Background tmp.level b/dashboard/config/scripts/levels/CSD U3 Functions Add Change Background tmp.level index b06d99dc7d64c..17be205e6b822 100644 --- a/dashboard/config/scripts/levels/CSD U3 Functions Add Change Background tmp.level +++ b/dashboard/config/scripts/levels/CSD U3 Functions Add Change Background tmp.level @@ -53,7 +53,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Functions Add Change Background.level b/dashboard/config/scripts/levels/CSD U3 Functions Add Change Background.level index 666887b601da3..05fa669083f2d 100644 --- a/dashboard/config/scripts/levels/CSD U3 Functions Add Change Background.level +++ b/dashboard/config/scripts/levels/CSD U3 Functions Add Change Background.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Functions Add IsTouching.level b/dashboard/config/scripts/levels/CSD U3 Functions Add IsTouching.level index 2dee8175abef9..132409178f20a 100644 --- a/dashboard/config/scripts/levels/CSD U3 Functions Add IsTouching.level +++ b/dashboard/config/scripts/levels/CSD U3 Functions Add IsTouching.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Functions Call Draw Loop.level b/dashboard/config/scripts/levels/CSD U3 Functions Call Draw Loop.level index 4b7f64d4b5b94..7d21a96d1b35b 100644 --- a/dashboard/config/scripts/levels/CSD U3 Functions Call Draw Loop.level +++ b/dashboard/config/scripts/levels/CSD U3 Functions Call Draw Loop.level @@ -57,7 +57,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Functions Call Function.level b/dashboard/config/scripts/levels/CSD U3 Functions Call Function.level index ba3b7d84e9643..f2d22647ddcdb 100644 --- a/dashboard/config/scripts/levels/CSD U3 Functions Call Function.level +++ b/dashboard/config/scripts/levels/CSD U3 Functions Call Function.level @@ -32,7 +32,7 @@ "show_d_pad": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "code_functions": { "fill": null, diff --git a/dashboard/config/scripts/levels/CSD U3 Functions Create Function.level b/dashboard/config/scripts/levels/CSD U3 Functions Create Function.level index 950a4a7f5c492..6085507a5edde 100644 --- a/dashboard/config/scripts/levels/CSD U3 Functions Create Function.level +++ b/dashboard/config/scripts/levels/CSD U3 Functions Create Function.level @@ -62,7 +62,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Functions Improve Side Scroller.level b/dashboard/config/scripts/levels/CSD U3 Functions Improve Side Scroller.level index 280140fa7bfea..fcd8cedb8850b 100644 --- a/dashboard/config/scripts/levels/CSD U3 Functions Improve Side Scroller.level +++ b/dashboard/config/scripts/levels/CSD U3 Functions Improve Side Scroller.level @@ -69,7 +69,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"red_car\",\r\n \"orange_cone\"\r\n ],\r\n \"propsByKey\": {\r\n \"red_car\": {\r\n \"name\": \"red_car\",\r\n \"sourceUrl\": \"https://images.code.org/5f738da1a2b1ef8af124e4470e2babe7-image-1469742830481.png\",\r\n \"frameSize\": {\r\n \"x\": 50,\r\n \"y\": 50\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"orange_cone\": {\r\n \"name\": \"orange_cone\",\r\n \"sourceUrl\": \"https://images.code.org/f22e6b1a636337820e53fb37a137b3d1-image-1469742992179.png\",\r\n \"frameSize\": {\r\n \"x\": 35,\r\n \"y\": 35\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", "markdown_instructions": "# Finish Your Side Scroller\r\n\r\nTime to use functions to finish off you side-scroller!\r\n\r\n# Do This\r\n\r\n* Change the background of your game depending on the score. Use functions to move the code for your background out of your draw loop\r\n* Use functions to make sure you're not repeating code when you reset your obstacle\r\n\r\n_Challenge: Add another sprite to your game and define how it will interact with your main character. It might be another obstacle to avoid or some kind of goal to collect_", diff --git a/dashboard/config/scripts/levels/CSD U3 Functions Order Functions.level b/dashboard/config/scripts/levels/CSD U3 Functions Order Functions.level index 0843eaf332542..7dbb0903b6dd1 100644 --- a/dashboard/config/scripts/levels/CSD U3 Functions Order Functions.level +++ b/dashboard/config/scripts/levels/CSD U3 Functions Order Functions.level @@ -32,7 +32,7 @@ "show_d_pad": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "code_functions": { "fill": null, diff --git a/dashboard/config/scripts/levels/CSD U3 Functions Prediction Order of Create Call.level b/dashboard/config/scripts/levels/CSD U3 Functions Prediction Order of Create Call.level index a6dba8ae476cb..b8e99d75282bc 100644 --- a/dashboard/config/scripts/levels/CSD U3 Functions Prediction Order of Create Call.level +++ b/dashboard/config/scripts/levels/CSD U3 Functions Prediction Order of Create Call.level @@ -32,7 +32,7 @@ "show_d_pad": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "code_functions": { "fill": null, diff --git a/dashboard/config/scripts/levels/CSD U3 Functions Prediction Order of Create.level b/dashboard/config/scripts/levels/CSD U3 Functions Prediction Order of Create.level index 0fc9e341603fe..3afafe369946b 100644 --- a/dashboard/config/scripts/levels/CSD U3 Functions Prediction Order of Create.level +++ b/dashboard/config/scripts/levels/CSD U3 Functions Prediction Order of Create.level @@ -31,7 +31,7 @@ "show_d_pad": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "code_functions": { "fill": null, diff --git a/dashboard/config/scripts/levels/CSD U3 Functions Randomize Sprite.level b/dashboard/config/scripts/levels/CSD U3 Functions Randomize Sprite.level index 7902891f31261..7c44c55059e19 100644 --- a/dashboard/config/scripts/levels/CSD U3 Functions Randomize Sprite.level +++ b/dashboard/config/scripts/levels/CSD U3 Functions Randomize Sprite.level @@ -52,7 +52,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Functions Reset Sprite.level b/dashboard/config/scripts/levels/CSD U3 Functions Reset Sprite.level index 472289ae6abca..e3a4a15595019 100644 --- a/dashboard/config/scripts/levels/CSD U3 Functions Reset Sprite.level +++ b/dashboard/config/scripts/levels/CSD U3 Functions Reset Sprite.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Functions Template Flyman.level b/dashboard/config/scripts/levels/CSD U3 Functions Template Flyman.level index 51dfb9f2fa143..1612c4bb2973f 100644 --- a/dashboard/config/scripts/levels/CSD U3 Functions Template Flyman.level +++ b/dashboard/config/scripts/levels/CSD U3 Functions Template Flyman.level @@ -59,7 +59,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Functions Write Reset.level b/dashboard/config/scripts/levels/CSD U3 Functions Write Reset.level index 9580c9cb2223a..8f632846a478a 100644 --- a/dashboard/config/scripts/levels/CSD U3 Functions Write Reset.level +++ b/dashboard/config/scripts/levels/CSD U3 Functions Write Reset.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Functions Write Your Own.level b/dashboard/config/scripts/levels/CSD U3 Functions Write Your Own.level index ae45c6f34bddf..620ef8fd4a068 100644 --- a/dashboard/config/scripts/levels/CSD U3 Functions Write Your Own.level +++ b/dashboard/config/scripts/levels/CSD U3 Functions Write Your Own.level @@ -32,7 +32,7 @@ "show_d_pad": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "code_functions": { "fill": null, diff --git a/dashboard/config/scripts/levels/CSD U3 Functions bunny template.level b/dashboard/config/scripts/levels/CSD U3 Functions bunny template.level index 806f81da9ed21..c6e121922a1eb 100644 --- a/dashboard/config/scripts/levels/CSD U3 Functions bunny template.level +++ b/dashboard/config/scripts/levels/CSD U3 Functions bunny template.level @@ -66,7 +66,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Functions isTouching.level b/dashboard/config/scripts/levels/CSD U3 Functions isTouching.level index 1af2c85cb93e9..7fe7b5dc52f11 100644 --- a/dashboard/config/scripts/levels/CSD U3 Functions isTouching.level +++ b/dashboard/config/scripts/levels/CSD U3 Functions isTouching.level @@ -53,7 +53,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 If Else.level b/dashboard/config/scripts/levels/CSD U3 If Else.level index 448d1bb284614..5ad4e75edc318 100644 --- a/dashboard/config/scripts/levels/CSD U3 If Else.level +++ b/dashboard/config/scripts/levels/CSD U3 If Else.level @@ -95,7 +95,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[]", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"9cce0e15-4c0f-4321-a997-d72fa9bd0bbd\",\r\n \"a1598eb8-56a8-4858-adaf-4d5a2f2c91c3\"\r\n ],\r\n \"propsByKey\": {\r\n \"9cce0e15-4c0f-4321-a997-d72fa9bd0bbd\": {\r\n \"name\": \"bee\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/AZsbzIJ6ZsQKHMqbw6oi4A/9cce0e15-4c0f-4321-a997-d72fa9bd0bbd.png?version=SSY2cXCBIebiuF8a_y7aegnDnE8R_NFt\",\r\n \"frameSize\": {\r\n \"x\": 102,\r\n \"y\": 86\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 4,\r\n \"version\": \"SSY2cXCBIebiuF8a_y7aegnDnE8R_NFt\"\r\n },\r\n \"a1598eb8-56a8-4858-adaf-4d5a2f2c91c3\": {\r\n \"name\": \"flower\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/AZsbzIJ6ZsQKHMqbw6oi4A/a1598eb8-56a8-4858-adaf-4d5a2f2c91c3.png\",\r\n \"frameSize\": {\r\n \"x\": 199,\r\n \"y\": 364\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 4,\r\n \"version\": \"YyqkS.qw7LWzNGCsvJQ0GrB5Owq2PagE\"\r\n }\r\n }\r\n}", "instructions_important": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Input Fish.level b/dashboard/config/scripts/levels/CSD U3 Input Fish.level index cda511b378e34..85bccc492e32b 100644 --- a/dashboard/config/scripts/levels/CSD U3 Input Fish.level +++ b/dashboard/config/scripts/levels/CSD U3 Input Fish.level @@ -84,7 +84,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_animation_mode": "false", "start_in_animation_tab": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Input Gears.level b/dashboard/config/scripts/levels/CSD U3 Input Gears.level index 79ce172c33374..a4ca256757076 100644 --- a/dashboard/config/scripts/levels/CSD U3 Input Gears.level +++ b/dashboard/config/scripts/levels/CSD U3 Input Gears.level @@ -84,7 +84,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_animation_mode": "false", "start_in_animation_tab": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Interactive Card Background.level b/dashboard/config/scripts/levels/CSD U3 Interactive Card Background.level index 882dde4417cc2..4796d3f602573 100644 --- a/dashboard/config/scripts/levels/CSD U3 Interactive Card Background.level +++ b/dashboard/config/scripts/levels/CSD U3 Interactive Card Background.level @@ -199,7 +199,7 @@ "free_play": "false", "text_mode_at_start": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "show_debug_watch": "true", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Interactive Card Exemplar.level b/dashboard/config/scripts/levels/CSD U3 Interactive Card Exemplar.level index 140a63080df33..b5f75c7073d8d 100644 --- a/dashboard/config/scripts/levels/CSD U3 Interactive Card Exemplar.level +++ b/dashboard/config/scripts/levels/CSD U3 Interactive Card Exemplar.level @@ -199,7 +199,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\"present\", \"bike\", \"puppy\"],\r\n \"propsByKey\": {\r\n \"present\": {\r\n \"name\": \"present\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/present.png\",\r\n \"frameSize\": {\"x\":128, \"y\": 128},\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": false\r\n },\r\n \"bike\": {\r\n \"name\": \"bike\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/bike.png\",\r\n \"frameSize\": {\"x\":128, \"y\": 128},\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": false\r\n },\r\n \"puppy\": {\r\n \"name\": \"puppy\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/puppy.png\",\r\n \"frameSize\": {\"x\":128, \"y\": 128},\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": false\r\n }\r\n }\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 Interactive Card Final.level b/dashboard/config/scripts/levels/CSD U3 Interactive Card Final.level index a49d1d8b01f2f..de072685369da 100644 --- a/dashboard/config/scripts/levels/CSD U3 Interactive Card Final.level +++ b/dashboard/config/scripts/levels/CSD U3 Interactive Card Final.level @@ -199,7 +199,7 @@ "free_play": "false", "text_mode_at_start": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "instructions_important": "false", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 Interactive Card Other Conditionals.level b/dashboard/config/scripts/levels/CSD U3 Interactive Card Other Conditionals.level index 1a2907b5b8ece..d6ea90d2781a8 100644 --- a/dashboard/config/scripts/levels/CSD U3 Interactive Card Other Conditionals.level +++ b/dashboard/config/scripts/levels/CSD U3 Interactive Card Other Conditionals.level @@ -199,7 +199,7 @@ "free_play": "false", "text_mode_at_start": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "show_debug_watch": "true", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Interactive Card Sprites.level b/dashboard/config/scripts/levels/CSD U3 Interactive Card Sprites.level index 9eac1266d4f00..0b51ea51902fc 100644 --- a/dashboard/config/scripts/levels/CSD U3 Interactive Card Sprites.level +++ b/dashboard/config/scripts/levels/CSD U3 Interactive Card Sprites.level @@ -199,7 +199,7 @@ "free_play": "false", "text_mode_at_start": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "show_debug_watch": "true", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Interactive Card Template.level b/dashboard/config/scripts/levels/CSD U3 Interactive Card Template.level index 626573846274f..36fd86a44b968 100644 --- a/dashboard/config/scripts/levels/CSD U3 Interactive Card Template.level +++ b/dashboard/config/scripts/levels/CSD U3 Interactive Card Template.level @@ -102,7 +102,7 @@ "free_play": "true", "text_mode_at_start": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_blocks": "function draw() {\r\n \r\n}", "instructions_important": "false", "hide_share_and_remix": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Interactive Card User Input.level b/dashboard/config/scripts/levels/CSD U3 Interactive Card User Input.level index 2c375050673b1..68c5fe45e64c8 100644 --- a/dashboard/config/scripts/levels/CSD U3 Interactive Card User Input.level +++ b/dashboard/config/scripts/levels/CSD U3 Interactive Card User Input.level @@ -199,7 +199,7 @@ "free_play": "false", "text_mode_at_start": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "show_debug_watch": "true", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Keyboard Input Challenge.level b/dashboard/config/scripts/levels/CSD U3 Keyboard Input Challenge.level index 95126f19f937a..8d1d79a66d1cb 100644 --- a/dashboard/config/scripts/levels/CSD U3 Keyboard Input Challenge.level +++ b/dashboard/config/scripts/levels/CSD U3 Keyboard Input Challenge.level @@ -84,7 +84,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[]", "instructions_important": "false", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 L12 Freeplay.level b/dashboard/config/scripts/levels/CSD U3 L12 Freeplay.level index 72d3cdc6d2e48..2e0f74d0908ff 100644 --- a/dashboard/config/scripts/levels/CSD U3 L12 Freeplay.level +++ b/dashboard/config/scripts/levels/CSD U3 L12 Freeplay.level @@ -85,7 +85,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[]", "instructions_important": "false", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 L13 Freeplay.level b/dashboard/config/scripts/levels/CSD U3 L13 Freeplay.level index 476c67edb945a..513649179e07a 100644 --- a/dashboard/config/scripts/levels/CSD U3 L13 Freeplay.level +++ b/dashboard/config/scripts/levels/CSD U3 L13 Freeplay.level @@ -93,7 +93,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[]", "hide_animation_mode": "false", "instructions_important": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 L15 Freeplay.level b/dashboard/config/scripts/levels/CSD U3 L15 Freeplay.level index a894b247ee399..1caa0b81c68ca 100644 --- a/dashboard/config/scripts/levels/CSD U3 L15 Freeplay.level +++ b/dashboard/config/scripts/levels/CSD U3 L15 Freeplay.level @@ -78,7 +78,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 L16 Freeplay.level b/dashboard/config/scripts/levels/CSD U3 L16 Freeplay.level index ae910dd6d174e..d6e87c2ff8d86 100644 --- a/dashboard/config/scripts/levels/CSD U3 L16 Freeplay.level +++ b/dashboard/config/scripts/levels/CSD U3 L16 Freeplay.level @@ -72,7 +72,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "markdown_instructions": "# Free Play\r\n\r\nUse what you've learned to create whatever you like. When you're finished, you can click ![](https://images.code.org/2fd36aba2af21d292932b77fb0b9fd0e-image-1498689573973.36.43 PM.png) to send your creation to a friend, or ![](https://images.code.org/1ddae93513aff160349643f1909590e8-image-1498689597186.36.50 PM.png) to send it to your Projects Gallery.\r\n", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 L17 Freeplay.level b/dashboard/config/scripts/levels/CSD U3 L17 Freeplay.level index 1a4dbd8760b13..c1c818983c8a1 100644 --- a/dashboard/config/scripts/levels/CSD U3 L17 Freeplay.level +++ b/dashboard/config/scripts/levels/CSD U3 L17 Freeplay.level @@ -31,7 +31,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Free Play\r\n\r\nUse what you've learned to create whatever you like. When you're finished, you can click ![](https://images.code.org/2fd36aba2af21d292932b77fb0b9fd0e-image-1498689573973.36.43 PM.png) to send your creation to a friend, or ![](https://images.code.org/1ddae93513aff160349643f1909590e8-image-1498689597186.36.50 PM.png) to send it to your Projects Gallery.\r\n", "palette_category_at_start": "sprites", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 L18 Freeplay.level b/dashboard/config/scripts/levels/CSD U3 L18 Freeplay.level index 1fb2e3072e9a1..eef87087e299b 100644 --- a/dashboard/config/scripts/levels/CSD U3 L18 Freeplay.level +++ b/dashboard/config/scripts/levels/CSD U3 L18 Freeplay.level @@ -67,7 +67,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Free Play\r\n\r\nUse what you've learned to create whatever you like. When you're finished, you can click ![](https://images.code.org/2fd36aba2af21d292932b77fb0b9fd0e-image-1498689573973.36.43 PM.png) to send your creation to a friend, or ![](https://images.code.org/1ddae93513aff160349643f1909590e8-image-1498689597186.36.50 PM.png) to send it to your Projects Gallery.\r\n", "palette_category_at_start": "sprites", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 L19 Freeplay.level b/dashboard/config/scripts/levels/CSD U3 L19 Freeplay.level index 08b61ad108136..f029337046bb6 100644 --- a/dashboard/config/scripts/levels/CSD U3 L19 Freeplay.level +++ b/dashboard/config/scripts/levels/CSD U3 L19 Freeplay.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 L3 Freeplay.level b/dashboard/config/scripts/levels/CSD U3 L3 Freeplay.level index b0139d983ab5c..a122027352dcf 100644 --- a/dashboard/config/scripts/levels/CSD U3 L3 Freeplay.level +++ b/dashboard/config/scripts/levels/CSD U3 L3 Freeplay.level @@ -61,7 +61,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "callout_json": "[]", "markdown_instructions": "# Free Play\r\n\r\nUse what you've learned to create whatever you like. When you're finished, you can click ![](https://images.code.org/2fd36aba2af21d292932b77fb0b9fd0e-image-1498689573973.36.43 PM.png) to send your creation to a friend, or ![](https://images.code.org/1ddae93513aff160349643f1909590e8-image-1498689597186.36.50 PM.png) to send it to your Projects Gallery.\r\n\r\n\r\n\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 L4 Freeplay.level b/dashboard/config/scripts/levels/CSD U3 L4 Freeplay.level index 413f8e840a928..4fb1fe79ec52d 100644 --- a/dashboard/config/scripts/levels/CSD U3 L4 Freeplay.level +++ b/dashboard/config/scripts/levels/CSD U3 L4 Freeplay.level @@ -46,7 +46,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "callout_json": "[]", "markdown_instructions": "# Free Play\r\n\r\nUse what you've learned to create whatever you like. When you're finished, you can click ![](https://images.code.org/2fd36aba2af21d292932b77fb0b9fd0e-image-1498689573973.36.43 PM.png) to send your creation to a friend, or ![](https://images.code.org/1ddae93513aff160349643f1909590e8-image-1498689597186.36.50 PM.png) to send it to your Projects Gallery.\r\n\r\n\r\n\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 L5 Freeplay.level b/dashboard/config/scripts/levels/CSD U3 L5 Freeplay.level index 643812eb66b70..8311b32f6fd04 100644 --- a/dashboard/config/scripts/levels/CSD U3 L5 Freeplay.level +++ b/dashboard/config/scripts/levels/CSD U3 L5 Freeplay.level @@ -41,7 +41,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_animation_mode": "true", "start_in_animation_tab": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 L6 Freeplay.level b/dashboard/config/scripts/levels/CSD U3 L6 Freeplay.level index da199ead10be1..881ce52476b28 100644 --- a/dashboard/config/scripts/levels/CSD U3 L6 Freeplay.level +++ b/dashboard/config/scripts/levels/CSD U3 L6 Freeplay.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_share_and_remix": "false", "code_functions": { diff --git a/dashboard/config/scripts/levels/CSD U3 L7 Freeplay.level b/dashboard/config/scripts/levels/CSD U3 L7 Freeplay.level index 014d5c00e906e..5b447036753b6 100644 --- a/dashboard/config/scripts/levels/CSD U3 L7 Freeplay.level +++ b/dashboard/config/scripts/levels/CSD U3 L7 Freeplay.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_share_and_remix": "false", "code_functions": { diff --git a/dashboard/config/scripts/levels/CSD U3 L9 Freeplay.level b/dashboard/config/scripts/levels/CSD U3 L9 Freeplay.level index cedc818457db4..c4dd1addaf042 100644 --- a/dashboard/config/scripts/levels/CSD U3 L9 Freeplay.level +++ b/dashboard/config/scripts/levels/CSD U3 L9 Freeplay.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "true", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Free Play\r\n\r\nUse what you've learned to create whatever you like. When you're finished, you can click ![](https://images.code.org/2fd36aba2af21d292932b77fb0b9fd0e-image-1498689573973.36.43 PM.png) to send your creation to a friend, or ![](https://images.code.org/1ddae93513aff160349643f1909590e8-image-1498689597186.36.50 PM.png) to send it to your Projects Gallery.", "instructions_important": "false", "hide_share_and_remix": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Mouse Input Bee 1.level b/dashboard/config/scripts/levels/CSD U3 Mouse Input Bee 1.level index 656c47ed8c6d2..33734f612fe4d 100644 --- a/dashboard/config/scripts/levels/CSD U3 Mouse Input Bee 1.level +++ b/dashboard/config/scripts/levels/CSD U3 Mouse Input Bee 1.level @@ -92,7 +92,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_d_pad": "true", "markdown_instructions": "\r\n\r\n# Mouse X and Y\r\n\r\nOne of the simplest ways to take input is to just make a sprite follow the user's mouse position. **You can get the x and y location of the mouse using `World.mouseX` and `World.mouseY`.** This follows the pattern you learned with sprite properties. `World` is the name of the object. `mouseX` and `mouseY` are the names of the properties.\r\n\r\n# Do This\r\n\r\nYou are going to make a bee sprite follow the mouse around the game area.\r\n\r\n* The bee image is already loaded in the animation tab for you.\r\n* Create a bee sprite that draws in the center of the window.\r\n* Inside the draw loop update the position of the sprite to the position of the mouse:\r\n\t* Set the x position of the sprite to the value of `World.mouseX`.\r\n * Set the y position of the sprite to the value of `World.mouseY`.\r\n* Run the program to test that it works.\r\n", "start_blocks": "function draw() {\r\n \r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 Mouse Input Bee 2.level b/dashboard/config/scripts/levels/CSD U3 Mouse Input Bee 2.level index f513ff507c490..80e43a9a5f0fd 100644 --- a/dashboard/config/scripts/levels/CSD U3 Mouse Input Bee 2.level +++ b/dashboard/config/scripts/levels/CSD U3 Mouse Input Bee 2.level @@ -92,7 +92,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Do this", "show_d_pad": "true", "markdown_instructions": "# Random Around Point\r\n\r\n\r\n\r\nNow that you can make the bee follow the mouse, lets make a bee fly around the mouse as shown in the picture on the right. In order to do this, you will need to **add a random amount between -50 and 50 to the `mouseX` or `mouseY`.**\r\n\r\n# Do This\r\nYou already have a bee sprite that follows the mouse.\r\n\r\n* Update the x and y location to be randomly close to the mouse.\r\n\t* Add a random number between -50 and 50 to the `World.mouseX` and `World.mouseY`.\r\n* If necessary, use the `World.frameRate` block to slow down the animation and find the best frame rate.\r\n\r\n_Challenge: **Add 3 more bees** that follow the mouse in the same way to make a swarm of bees._", diff --git a/dashboard/config/scripts/levels/CSD U3 Mouse Input Bee Template.level b/dashboard/config/scripts/levels/CSD U3 Mouse Input Bee Template.level index 9fa890df3c3c2..30dad2cbaaaac 100644 --- a/dashboard/config/scripts/levels/CSD U3 Mouse Input Bee Template.level +++ b/dashboard/config/scripts/levels/CSD U3 Mouse Input Bee Template.level @@ -31,7 +31,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"4c542e7a-9e93-41da-988e-c0c2c611a601\"\r\n ],\r\n \"propsByKey\": {\r\n \"4c542e7a-9e93-41da-988e-c0c2c611a601\": {\r\n \"name\": \"bee\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/4TwrQUly6PDa9O2izubCkg/632b7a80-3526-48b4-8b27-333199f6d3cf.png?version=NSixfcN8r9yoB788st2wA1ZyhYX3gFD9\",\r\n \"frameSize\": {\r\n \"x\": 102,\r\n \"y\": 86\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 4,\r\n \"version\": \"NSixfcN8r9yoB788st2wA1ZyhYX3gFD9\"\r\n }\r\n }\r\n}", "instructions_important": "false", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Movement Fish.level b/dashboard/config/scripts/levels/CSD U3 Movement Fish.level index e3a64ec6b4398..b53cc307e1b57 100644 --- a/dashboard/config/scripts/levels/CSD U3 Movement Fish.level +++ b/dashboard/config/scripts/levels/CSD U3 Movement Fish.level @@ -31,7 +31,7 @@ "free_play": "false", "text_mode_at_start": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"7971239b-2cc5-42c7-8f24-cc7628d98d29\",\r\n \"04fe3dba-6425-4064-87d6-a572685bdd5c\",\r\n \"d3c518ec-c351-41d4-bc12-d3b885389bf5\"\r\n ],\r\n \"propsByKey\": {\r\n \"7971239b-2cc5-42c7-8f24-cc7628d98d29\": {\r\n \"name\": \"blue_fish\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/qQO8azHNNTyOiiJs3MYLNQ/7971239b-2cc5-42c7-8f24-cc7628d98d29.png\",\r\n \"frameSize\": {\r\n \"x\": 128,\r\n \"y\": 128\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 4,\r\n \"version\": \"UgK56NFFNAcaEgzyGa1kA7Q0ifv.dcK0\"\r\n },\r\n \"04fe3dba-6425-4064-87d6-a572685bdd5c\": {\r\n \"name\": \"orange_fish\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/qQO8azHNNTyOiiJs3MYLNQ/04fe3dba-6425-4064-87d6-a572685bdd5c.png\",\r\n \"frameSize\": {\r\n \"x\": 128,\r\n \"y\": 128\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 4,\r\n \"version\": \"IMlqRruXCoTazPeu.iWQKvo8vtNWEeao\"\r\n },\r\n \"d3c518ec-c351-41d4-bc12-d3b885389bf5\": {\r\n \"name\": \"green_fish\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/qQO8azHNNTyOiiJs3MYLNQ/d3c518ec-c351-41d4-bc12-d3b885389bf5.png\",\r\n \"frameSize\": {\r\n \"x\": 128,\r\n \"y\": 128\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 4,\r\n \"version\": \"l3xz89QJEaPfW4rdHCynWADo_KChYRTj\"\r\n }\r\n }\r\n}", "instructions_important": "false", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Movement Gears.level b/dashboard/config/scripts/levels/CSD U3 Movement Gears.level index 68338003f93f3..f66fda1655119 100644 --- a/dashboard/config/scripts/levels/CSD U3 Movement Gears.level +++ b/dashboard/config/scripts/levels/CSD U3 Movement Gears.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_blocks": "var blueGear = createSprite(100, 220);\r\nblueGear.setAnimation(\"blue_gear\");\r\n\r\nvar greenGear = createSprite(183, 298);\r\ngreenGear.setAnimation(\"green_gear\");\r\n\r\nvar redGear = createSprite(185, 145);\r\nredGear.setAnimation(\"red_gear\");\r\n\r\nfunction draw() {\r\n background(\"white\");\r\n drawSprites();\r\n}", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"blue_gear\",\r\n \"green_gear\",\r\n \"red_gear\"\r\n ],\r\n \"propsByKey\": {\r\n \"blue_gear\": {\r\n \"name\": \"blue_gear\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/blue_gear.png\",\r\n \"sourceSize\": {\r\n \"x\": 123,\r\n \"y\": 124\r\n },\r\n \"frameSize\": {\r\n \"x\": 123,\r\n \"y\": 124\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"green_gear\": {\r\n \"name\": \"green_gear\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/green_gear.png\",\r\n \"sourceSize\": {\r\n \"x\": 122,\r\n \"y\": 122\r\n },\r\n \"frameSize\": {\r\n \"x\": 122,\r\n \"y\": 122\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"red_gear\": {\r\n \"name\": \"red_gear\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/red_gear.png\",\r\n \"sourceSize\": {\r\n \"x\": 122,\r\n \"y\": 121\r\n },\r\n \"frameSize\": {\r\n \"x\": 122,\r\n \"y\": 121\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", "markdown_instructions": "\r\n\r\n# Rotation Direction\r\n\r\nWhen you use the counter pattern for the `rotation` property with addition, the object will always rotate clockwise. Sometimes however you will want your sprite to rotate the other direction. To do this you can just use subtraction!\r\n\r\n# Do This\r\n\r\nThere are three gears set up for you. You need to make the gears all look like they are rotating in sync with each other.\r\n\r\n* Make the gears rotate so they look like they are working as one system.\r\n* **Hint: They won't all rotate the same direction**.", diff --git a/dashboard/config/scripts/levels/CSD U3 Movement Your Own 1.level b/dashboard/config/scripts/levels/CSD U3 Movement Your Own 1.level index a23e8a27e8044..15bf7ad786a43 100644 --- a/dashboard/config/scripts/levels/CSD U3 Movement Your Own 1.level +++ b/dashboard/config/scripts/levels/CSD U3 Movement Your Own 1.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Make an animation of your own\r\n\r\nUsing the counter pattern and sprite properties, make an animation all your own. You might consider building on the static images you've made in the past, or come up with a new image to create or story to tell.\r\n\r\n# Do This\r\n\r\nTo start, let's just get a static scene set up.\r\n\r\n* Add images in the Animation Tab.\r\n* Create sprites and assign images.\r\n* Set up the draw loop to draw a background and your sprites.", "instructions_important": "false", "hide_share_and_remix": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Movement Your Own 2.level b/dashboard/config/scripts/levels/CSD U3 Movement Your Own 2.level index 5092129d84602..6233f13928976 100644 --- a/dashboard/config/scripts/levels/CSD U3 Movement Your Own 2.level +++ b/dashboard/config/scripts/levels/CSD U3 Movement Your Own 2.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "true", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Add movement to your animation\r\n\r\nWith your static scene set up, you can now add some movement. When you are satisfied with your program, click the \"Submit\" button to turn it in. You can always unsubmit and continue working if you want to add features.\r\n\r\n# Do This\r\n\r\nIn the draw loop\r\n\r\n* Identify which sprite properties to change.\r\n* Update those properties using the counter pattern.\r\n\r\n_Tip: If your counter pattern isn't working like you expect, add watchers to help debug your program._", "instructions_important": "false", "hide_share_and_remix": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Movement Your Own.level b/dashboard/config/scripts/levels/CSD U3 Movement Your Own.level index 794509e02e2da..92e6766c4edca 100644 --- a/dashboard/config/scripts/levels/CSD U3 Movement Your Own.level +++ b/dashboard/config/scripts/levels/CSD U3 Movement Your Own.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_share_and_remix": "false", "disable_if_else_editing": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Plotting Shapes Shape Lab Open.level b/dashboard/config/scripts/levels/CSD U3 Plotting Shapes Shape Lab Open.level index f302b701170f3..7d6f5778d69c9 100644 --- a/dashboard/config/scripts/levels/CSD U3 Plotting Shapes Shape Lab Open.level +++ b/dashboard/config/scripts/levels/CSD U3 Plotting Shapes Shape Lab Open.level @@ -208,7 +208,7 @@ "hide_view_data_button": "false", "show_debug_watch": "true", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Plotting Shapes Shape Lab.level b/dashboard/config/scripts/levels/CSD U3 Plotting Shapes Shape Lab.level index 94087b5ccabeb..abd46ff81cbf6 100644 --- a/dashboard/config/scripts/levels/CSD U3 Plotting Shapes Shape Lab.level +++ b/dashboard/config/scripts/levels/CSD U3 Plotting Shapes Shape Lab.level @@ -208,7 +208,7 @@ "hide_view_data_button": "false", "show_debug_watch": "true", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Property Conditional Multi.level b/dashboard/config/scripts/levels/CSD U3 Property Conditional Multi.level index 58f49a8367227..194a5a514e801 100644 --- a/dashboard/config/scripts/levels/CSD U3 Property Conditional Multi.level +++ b/dashboard/config/scripts/levels/CSD U3 Property Conditional Multi.level @@ -89,7 +89,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[]", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 Property Conditional.level b/dashboard/config/scripts/levels/CSD U3 Property Conditional.level index 9e0793e3408bb..9780da1d97033 100644 --- a/dashboard/config/scripts/levels/CSD U3 Property Conditional.level +++ b/dashboard/config/scripts/levels/CSD U3 Property Conditional.level @@ -89,7 +89,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[]", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 Random Add a Door.level b/dashboard/config/scripts/levels/CSD U3 Random Add a Door.level index f15f17d4b76dc..0aa218317276d 100644 --- a/dashboard/config/scripts/levels/CSD U3 Random Add a Door.level +++ b/dashboard/config/scripts/levels/CSD U3 Random Add a Door.level @@ -51,7 +51,7 @@ "hide_view_data_button": "false", "show_debug_watch": "true", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "true", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Random Choice.level b/dashboard/config/scripts/levels/CSD U3 Random Choice.level index 3212989cce8c1..a85e9a5251196 100644 --- a/dashboard/config/scripts/levels/CSD U3 Random Choice.level +++ b/dashboard/config/scripts/levels/CSD U3 Random Choice.level @@ -38,7 +38,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Making Random Choices\r\n\r\nYou probably noticed that the code from the last puzzle did a few things.\r\n* Always produced a whole number (also called an **integer**).\r\n* The lowest number that could be produced was 0, which is the first **input** we passed to the `randomNumber` block.\r\n* The highest number that could be produced was 10, which is the second **input** to the block.\r\n\r\nLet's create a program that can randomly make decisions for us. We'll use a **binary** representation where `0` means `false` and `1` means `true`.\r\n\r\n# Do This\r\n\r\n* Write a program that randomly writes out either 0 or 1 using `console.log()`.\r\n* Have your partner ask some true/false or yes/no questions and use your program to randomly answer.", "instructions": "Use the randomNumber() block to generate either 0 or 1", "callout_json": "[]", diff --git a/dashboard/config/scripts/levels/CSD U3 Random Color.level b/dashboard/config/scripts/levels/CSD U3 Random Color.level index d78d866716c0d..fea4352c9139b 100644 --- a/dashboard/config/scripts/levels/CSD U3 Random Color.level +++ b/dashboard/config/scripts/levels/CSD U3 Random Color.level @@ -43,7 +43,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Randomized Colors\r\n\r\nCould you use `randomNumber()` to pick random colors as well? Back in Unit 2 you learned that colors can be composed of Red, Green, and Blue channel values - each of which is represented by a number value. What's the maximum and minimum that those channels can be set to?\r\n\r\n# Do This\r\n\r\nUsing the `color()` function, set the `fill` or `stroke` of your shape to a random color.\r\n\r\n# Challenge\r\n\r\nCan you generate random colors that are limited to a narrow range of colors, such as a random shade or purple, or a random shade of teal?", "instructions": "Could you use randomNumber() to pick random colors as well? Try setting one or more of the channels in the rgb block with a random number. What should the maximum value be?", "instructions_important": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Random Debug Cloud.level b/dashboard/config/scripts/levels/CSD U3 Random Debug Cloud.level index 9cfdb940382b8..458ad3017b438 100644 --- a/dashboard/config/scripts/levels/CSD U3 Random Debug Cloud.level +++ b/dashboard/config/scripts/levels/CSD U3 Random Debug Cloud.level @@ -45,7 +45,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "true", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Random Debug Grass.level b/dashboard/config/scripts/levels/CSD U3 Random Debug Grass.level index c0b5c6f8478e1..ba9cae22c8ca3 100644 --- a/dashboard/config/scripts/levels/CSD U3 Random Debug Grass.level +++ b/dashboard/config/scripts/levels/CSD U3 Random Debug Grass.level @@ -45,7 +45,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "true", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Random Ellipse Behind.level b/dashboard/config/scripts/levels/CSD U3 Random Ellipse Behind.level index bdf78935cbb71..3061986355f92 100644 --- a/dashboard/config/scripts/levels/CSD U3 Random Ellipse Behind.level +++ b/dashboard/config/scripts/levels/CSD U3 Random Ellipse Behind.level @@ -43,7 +43,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "true", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Random Min Max.level b/dashboard/config/scripts/levels/CSD U3 Random Min Max.level index ab6eaa3f4cade..c1b9d15d507ec 100644 --- a/dashboard/config/scripts/levels/CSD U3 Random Min Max.level +++ b/dashboard/config/scripts/levels/CSD U3 Random Min Max.level @@ -38,7 +38,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Changing the minimum\r\n\r\nSo far we've only generated numbers from 0 up to some other value, but what if we wanted a different minimum? For example, if we want to use `randomNumber()` to create circles that have a radius somewhere between 50 and 100 pixels, how might we do it?\r\n\r\nThe first input (also called an **argument**) of the `randomNumber()` block defines the lowest number that will be randomly generated. In the previous levels we always used 0, but you could use any integer as the lower bound (even negative numbers!)\r\n\r\n# Do This\r\n\r\nUsing `console.log()` write a program that randomly returns a number in a range you define. Try coming up with an interesting range of numbers for your program, for example:\r\n* Randomly generate a month number\r\n* Randomly generate a temperature below boiling but above freezing\r\n* Randomly generate a year you were alive in\r\n\r\nCan you come up with a range that includes negative numbers? What about both positive and negative ones?", "callout_json": "[\r\n {\r\n \"localization_key\": \"\",\r\n \"callout_text\": \"Find the randomNumber() block here\",\r\n \"element_id\": \".droplet-palette-header .orange\",\r\n \"on\": \"\",\r\n \"qtip_config\": {\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"bottom left\",\r\n \"at\": \"top center\",\r\n \"adjust\": {\r\n \"x\": 0,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n }\r\n]", "instructions": "Using console.log() write a program that randomly returns a number in a range you define.", diff --git a/dashboard/config/scripts/levels/CSD U3 Random Taller Rectangle.level b/dashboard/config/scripts/levels/CSD U3 Random Taller Rectangle.level index 9c58555315ef4..60062a56a1daf 100644 --- a/dashboard/config/scripts/levels/CSD U3 Random Taller Rectangle.level +++ b/dashboard/config/scripts/levels/CSD U3 Random Taller Rectangle.level @@ -43,7 +43,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "true", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Random Width Height.level b/dashboard/config/scripts/levels/CSD U3 Random Width Height.level index b2bed9c384659..cf81e2735adf0 100644 --- a/dashboard/config/scripts/levels/CSD U3 Random Width Height.level +++ b/dashboard/config/scripts/levels/CSD U3 Random Width Height.level @@ -44,7 +44,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Randomized Shapes\r\n\r\nLet's see how we can use randomization in our drawings. Each of the inputs from the shape blocks you've seen can be replaced with calls to `randomNumber()`. Try drawing some images that are slightly randomized each time. You might try changing the position randomly by using `randomNumber()` in place of the x or y inputs, or you could change the size of the shape itself by randomizing the length or width inputs.\r\n\r\n# Do This\r\n\r\nPick a shape command (`ellipse()`, `rect()` or `regularPolygon()`) and use `randomNumber()` in place of one or more of the inputs. Make sure you run it a few times so you can see the effect of randomization.\r\n\r\n_Notice that the `console.log()` block is now in the Variables drawer and the `randomNumber()` block is in the Math drawer._", "instructions": "Pick a shape block and use calls to randomNumber() in place of one or more of the parameters. Maker sure you run it a few times so you can see the effect of randomization.", "show_d_pad": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Random background.level b/dashboard/config/scripts/levels/CSD U3 Random background.level index 9f16687e5593e..fdeae42f4d0d9 100644 --- a/dashboard/config/scripts/levels/CSD U3 Random background.level +++ b/dashboard/config/scripts/levels/CSD U3 Random background.level @@ -43,7 +43,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "true", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Random background2.level b/dashboard/config/scripts/levels/CSD U3 Random background2.level index ee9677c906fc4..0574998bf4086 100644 --- a/dashboard/config/scripts/levels/CSD U3 Random background2.level +++ b/dashboard/config/scripts/levels/CSD U3 Random background2.level @@ -43,7 +43,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "true", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Random rainbow snake.level b/dashboard/config/scripts/levels/CSD U3 Random rainbow snake.level index 75d32931426a2..8fa8f39c2a949 100644 --- a/dashboard/config/scripts/levels/CSD U3 Random rainbow snake.level +++ b/dashboard/config/scripts/levels/CSD U3 Random rainbow snake.level @@ -45,7 +45,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "true", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Random random ellipse.level b/dashboard/config/scripts/levels/CSD U3 Random random ellipse.level index aac708d22d190..b7cbc15e7d547 100644 --- a/dashboard/config/scripts/levels/CSD U3 Random random ellipse.level +++ b/dashboard/config/scripts/levels/CSD U3 Random random ellipse.level @@ -46,7 +46,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "true", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Random random ellipse2.level b/dashboard/config/scripts/levels/CSD U3 Random random ellipse2.level index 4c5b8217ee6de..6d42b2cb062e5 100644 --- a/dashboard/config/scripts/levels/CSD U3 Random random ellipse2.level +++ b/dashboard/config/scripts/levels/CSD U3 Random random ellipse2.level @@ -46,7 +46,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "true", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Scene Example.level b/dashboard/config/scripts/levels/CSD U3 Scene Example.level index e972f2d5e2ea6..b1760ee3048d6 100644 --- a/dashboard/config/scripts/levels/CSD U3 Scene Example.level +++ b/dashboard/config/scripts/levels/CSD U3 Scene Example.level @@ -210,7 +210,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "true", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Simple Drawing - Animation 2.level b/dashboard/config/scripts/levels/CSD U3 Simple Drawing - Animation 2.level index 3454088e93a5b..0f5def9961094 100644 --- a/dashboard/config/scripts/levels/CSD U3 Simple Drawing - Animation 2.level +++ b/dashboard/config/scripts/levels/CSD U3 Simple Drawing - Animation 2.level @@ -57,7 +57,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Use randomNumber() on the x position and width of your cloud ellipses to introduce a bit of animation.", "markdown_instructions": "# Rays of Sunshine\r\n\r\nLet's add a little bit more animation to the scene. The `line()` block takes in two pairs of x,y coordinates and draws a line between them.\r\n\r\nDraw 5 yellow lines that all start from the center of the sun and move out to a random point around the top half.\r\n\r\n# Do This\r\n\r\n* Create 5 lines, each of which should start at the center of the sun and go out to a random point. You can pick your own random ranges, but you might try:\r\n * `randomNumber(115,135), randomNumber(10,20)`\r\n * `randomNumber(145,165), randomNumber(20,30)`\r\n * `randomNumber(85, 105), randomNumber(20,30)`\r\n * `randomNumber(165,185), randomNumber(40,50)`\r\n * `randomNumber(65, 85 ), randomNumber(40,50)`\r\n* Don't forget to set the `strokeColor()` before you draw your lines and to reset to `noStroke()` afterwards.", "start_blocks": "// Background\r\n\r\n// Grass\r\n\r\n// Road\r\n\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 Simple Drawing - Animation.level b/dashboard/config/scripts/levels/CSD U3 Simple Drawing - Animation.level index 20e0889afa900..535a346ba7585 100644 --- a/dashboard/config/scripts/levels/CSD U3 Simple Drawing - Animation.level +++ b/dashboard/config/scripts/levels/CSD U3 Simple Drawing - Animation.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Use randomNumber() on the x position and width of your cloud ellipses to introduce a bit of animation.", "markdown_instructions": "# Clouds in the Wind\r\n\r\nNow that our image is in the draw loop, let's make use of that feature to add a little bit of animation. We're going to make our clouds look as though they're shifting in the breeze by randomizing their position and size a little bit each time the `draw()` loop is run.\r\n\r\n# Do This\r\n\r\n* Replace the x input of each cloud ellipse with a call to `randomNumber`\r\n * `randomNumber` should vary the x position by + or - 5 pixels. So if your x position was 50, replace it with `randomNumber(45,55)`\r\n* Replace the width input of each cloud ellipse with a call to `randomNumber`\r\n * `randomNumber` should vary the width by + 5 pixels. So if your width was 50, replace it with `randomNumber(50,55)`\r\n* Change the **frame rate** to something slower (try 5 or 10 FPS)", "start_blocks": "// Background\r\n\r\n// Grass\r\n\r\n// Road\r\n\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 Simple Drawing - Background.level b/dashboard/config/scripts/levels/CSD U3 Simple Drawing - Background.level index 2d292aca5bcba..69274e3498754 100644 --- a/dashboard/config/scripts/levels/CSD U3 Simple Drawing - Background.level +++ b/dashboard/config/scripts/levels/CSD U3 Simple Drawing - Background.level @@ -57,7 +57,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Put all of your code into a draw() loop and then add set the background to blue with the background() block.", "markdown_instructions": "# Draw()ing your street image\r\n\r\nHere's the street image you started working on in the last lesson. We're going to get it ready to add some animation.\r\n\r\nFor the animation to work you'll need to wrap all of your current code in the `draw()` loop, adding a call to `background()` at the top of the loop.\r\n\r\n# Do This\r\n\r\n* Add a `draw()` block and move all of your current code inside it\r\n* Replace the rectangle that draws your background with a call to the `background()` block", "start_blocks": "// Background\r\n\r\n// Grass\r\n\r\n// Road\r\n\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 Simple Drawing - Personal Animation.level b/dashboard/config/scripts/levels/CSD U3 Simple Drawing - Personal Animation.level index 82a1451af6978..51db9c556268d 100644 --- a/dashboard/config/scripts/levels/CSD U3 Simple Drawing - Personal Animation.level +++ b/dashboard/config/scripts/levels/CSD U3 Simple Drawing - Personal Animation.level @@ -57,7 +57,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "DO This", "markdown_instructions": "# Your Own Animation\r\n\r\nHere's the drawing you planned and started in the last lesson - let's animate it!\r\n\r\n# Do This\r\n\r\n* Move all of your code into a `draw()` loop\r\n* Use `randomNumber()` in the inputs of some of your shapes\r\n* Set the speed of your animation using the `World.frameRate` block\r\n", "start_blocks": "// Create your drawing here", diff --git a/dashboard/config/scripts/levels/CSD U3 Sprite Movement Left.level b/dashboard/config/scripts/levels/CSD U3 Sprite Movement Left.level index 9dde267c9cfaa..3b63a67b1311e 100644 --- a/dashboard/config/scripts/levels/CSD U3 Sprite Movement Left.level +++ b/dashboard/config/scripts/levels/CSD U3 Sprite Movement Left.level @@ -55,7 +55,7 @@ "hide_view_data_button": "true", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"b159dcd2-d5cd-4197-9512-d393704c2141\"\r\n ],\r\n \"propsByKey\": {\r\n \"b159dcd2-d5cd-4197-9512-d393704c2141\": {\r\n \"name\": \"fly\",\r\n \"sourceUrl\": \"https://studio.code.org/api/v1/animation-library/Z5q2fOxdlrRwxpO8wISelUFvYGA_J95g/category_animals/fly.png\",\r\n \"frameSize\": {\r\n \"x\": 67,\r\n \"y\": 47\r\n },\r\n \"frameCount\": 2,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"Z5q2fOxdlrRwxpO8wISelUFvYGA_J95g\"\r\n }\r\n }\r\n}", "encrypted_examples": "xxBtHD8Kwcp0DvTWpdUgzsc7RTKJPEm5pjOw+GlCd9JH4KufqUm5/u4l+lk5\nC/MGNhuiqcrPJZrgd9dRoXo9uA==\n", diff --git a/dashboard/config/scripts/levels/CSD U3 Sprite Movement Predict.level b/dashboard/config/scripts/levels/CSD U3 Sprite Movement Predict.level index 63071ef4a7cd7..52ccf83c7b9fb 100644 --- a/dashboard/config/scripts/levels/CSD U3 Sprite Movement Predict.level +++ b/dashboard/config/scripts/levels/CSD U3 Sprite Movement Predict.level @@ -213,7 +213,7 @@ "hide_view_data_button": "true", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"6637d1df-5d10-49c7-9be2-5de952edd33e\",\r\n \"b42da12c-0889-4cbc-8bf9-8af9c889903c\",\r\n \"b1f0bf9b-4732-4e63-ba7e-0082a8e17171\",\r\n \"65d6335e-405e-4438-81ee-8923149e3b0c\"\r\n ],\r\n \"propsByKey\": {\r\n \"6637d1df-5d10-49c7-9be2-5de952edd33e\": {\r\n \"name\": \"blue_car\",\r\n \"sourceUrl\": \"https://studio.code.org/api/v1/animation-library/4YZuCQBTe6Els6i6ZBTXixKxDQ8sX_Mm/category_vehicles/car_blue.png\",\r\n \"frameSize\": {\r\n \"x\": 71,\r\n \"y\": 131\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"4YZuCQBTe6Els6i6ZBTXixKxDQ8sX_Mm\"\r\n },\r\n \"b42da12c-0889-4cbc-8bf9-8af9c889903c\": {\r\n \"name\": \"green_car\",\r\n \"sourceUrl\": \"https://studio.code.org/api/v1/animation-library/9Mxyo1DgnLV3EHvoZ9L16sJJfYPxlTPW/category_vehicles/car_green.png\",\r\n \"frameSize\": {\r\n \"x\": 71,\r\n \"y\": 131\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"9Mxyo1DgnLV3EHvoZ9L16sJJfYPxlTPW\"\r\n },\r\n \"b1f0bf9b-4732-4e63-ba7e-0082a8e17171\": {\r\n \"name\": \"red_car\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/hscUMUY4vYVfbKktnc61ww/b1f0bf9b-4732-4e63-ba7e-0082a8e17171.png?version=X8oSyOLt04Byo5pnZkMbbIMiWmOEkgtN\",\r\n \"frameSize\": {\r\n \"x\": 71,\r\n \"y\": 131\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"X8oSyOLt04Byo5pnZkMbbIMiWmOEkgtN\"\r\n },\r\n \"65d6335e-405e-4438-81ee-8923149e3b0c\": {\r\n \"name\": \"yellow_car\",\r\n \"sourceUrl\": \"https://studio.code.org/api/v1/animation-library/Ii6P1Bl8yUirMzQqAJ6Svlly02YEy5v8/category_vehicles/car_yellow.png\",\r\n \"frameSize\": {\r\n \"x\": 71,\r\n \"y\": 131\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"Ii6P1Bl8yUirMzQqAJ6Svlly02YEy5v8\"\r\n }\r\n }\r\n}", "project_template_level_name": "CSD U3 Sprite Movement Predict Multi" diff --git a/dashboard/config/scripts/levels/CSD U3 Sprite Movement Right.level b/dashboard/config/scripts/levels/CSD U3 Sprite Movement Right.level index 721ea240e7384..5d9b2f83aa295 100644 --- a/dashboard/config/scripts/levels/CSD U3 Sprite Movement Right.level +++ b/dashboard/config/scripts/levels/CSD U3 Sprite Movement Right.level @@ -55,7 +55,7 @@ "hide_view_data_button": "true", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"cbcb2a8a-c477-4501-9498-aabc156153a7\"\r\n ],\r\n \"propsByKey\": {\r\n \"cbcb2a8a-c477-4501-9498-aabc156153a7\": {\r\n \"name\": \"plane\",\r\n \"sourceUrl\": \"https://studio.code.org/api/v1/animation-library/ZJ0VMy8ZuTh8tINusQEoyx.Cmwxxw.yF/category_vehicles/planeGreen1.png\",\r\n \"frameSize\": {\r\n \"x\": 88,\r\n \"y\": 73\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"ZJ0VMy8ZuTh8tINusQEoyx.Cmwxxw.yF\"\r\n }\r\n }\r\n}", "encrypted_examples": "A8OYhFdw5WysTrjOvpGVBeK4Pf9s8DoP6C4lZnwGXGnu4N+wZ1WbOnMyKWq9\ngR+D1tiah4YqOPIOQ32FmqfbIw==\n", diff --git a/dashboard/config/scripts/levels/CSD U3 Sprites anitab 1.level b/dashboard/config/scripts/levels/CSD U3 Sprites anitab 1.level index cab42c164e13f..099418ec2a6fd 100644 --- a/dashboard/config/scripts/levels/CSD U3 Sprites anitab 1.level +++ b/dashboard/config/scripts/levels/CSD U3 Sprites anitab 1.level @@ -36,7 +36,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_blocks": "var coolSprite = createSprite(300,300);\r\ncoolSprite.setAnimation(\"fly_bot\");\r\ndrawSprites();", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"b254a713-0cc2-43b1-9bf8-37ab354c7531\",\r\n \"1194b4df-ff67-4a94-aac0-36ee2af635c2\",\r\n \"d75a06ab-baf0-484d-acbb-d039cd63b57d\"\r\n ],\r\n \"propsByKey\": {\r\n \"b254a713-0cc2-43b1-9bf8-37ab354c7531\": {\r\n \"name\": \"alien\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/IcUFxA8-u6jLp45nUBhVXQ/b254a713-0cc2-43b1-9bf8-37ab354c7531.png?version=aprLMc__EIzaWzZEMF_jnZ90sVEs8GhJ\",\r\n \"frameSize\": {\r\n \"x\": 128,\r\n \"y\": 156\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"aprLMc__EIzaWzZEMF_jnZ90sVEs8GhJ\"\r\n },\r\n \"1194b4df-ff67-4a94-aac0-36ee2af635c2\": {\r\n \"name\": \"bunny\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/api/v1/animation-library/mPlPPGYNuqk_CVhdQLAjitMqpdqgUnrp/bunny1_stand.png\",\r\n \"frameSize\": {\r\n \"x\": 120,\r\n \"y\": 201\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"mPlPPGYNuqk_CVhdQLAjitMqpdqgUnrp\"\r\n },\r\n \"d75a06ab-baf0-484d-acbb-d039cd63b57d\": {\r\n \"name\": \"fly_bot\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/api/v1/animation-library/Ut5u3ubOFOl4B8NsVnz2PtwuiLBarLJ4/flyMan_stand.png\",\r\n \"frameSize\": {\r\n \"x\": 122,\r\n \"y\": 139\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"Ut5u3ubOFOl4B8NsVnz2PtwuiLBarLJ4\"\r\n }\r\n }\r\n}", "callout_json": "[ {\r\n \"localization_key\": \"\",\r\n \"element_id\": \"#animationMode\",\r\n \"callout_text\": \"Click this to open the Animation Tab\",\r\n \"qtip_config\": {\r\n \t\"position\": {\r\n \"my\": \"top left\",\r\n \"at\": \"bottom right\",\r\n \"adjust\": {\r\n \"x\": 0,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n }\r\n ]", diff --git a/dashboard/config/scripts/levels/CSD U3 Sprites anitab 2.level b/dashboard/config/scripts/levels/CSD U3 Sprites anitab 2.level index fa93a36150d57..1d0609140e73e 100644 --- a/dashboard/config/scripts/levels/CSD U3 Sprites anitab 2.level +++ b/dashboard/config/scripts/levels/CSD U3 Sprites anitab 2.level @@ -53,7 +53,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "project_template_level_name": "CSD U3 kite template v2", "instructions_important": "false", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Sprites anitab 3.level b/dashboard/config/scripts/levels/CSD U3 Sprites anitab 3.level index 1d0c3f225d7e4..38d275a71dbf3 100644 --- a/dashboard/config/scripts/levels/CSD U3 Sprites anitab 3.level +++ b/dashboard/config/scripts/levels/CSD U3 Sprites anitab 3.level @@ -53,7 +53,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "project_template_level_name": "CSD U3 kite template v2", "instructions_important": "false", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Sprites anitab 4.level b/dashboard/config/scripts/levels/CSD U3 Sprites anitab 4.level index f46c5bd995979..e5bad8a2768fe 100644 --- a/dashboard/config/scripts/levels/CSD U3 Sprites anitab 4.level +++ b/dashboard/config/scripts/levels/CSD U3 Sprites anitab 4.level @@ -53,7 +53,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "project_template_level_name": "CSD U3 kite template v2", "instructions_important": "false", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Sprites debug watchers.level b/dashboard/config/scripts/levels/CSD U3 Sprites debug watchers.level index a53b87ae419ed..a7614f0fa98b6 100644 --- a/dashboard/config/scripts/levels/CSD U3 Sprites debug watchers.level +++ b/dashboard/config/scripts/levels/CSD U3 Sprites debug watchers.level @@ -58,7 +58,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "true", "pause_animations_by_default": "false", "instructions_important": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Sprites intro debug.level b/dashboard/config/scripts/levels/CSD U3 Sprites intro debug.level index 4bdf990198d57..e8c15141eff0a 100644 --- a/dashboard/config/scripts/levels/CSD U3 Sprites intro debug.level +++ b/dashboard/config/scripts/levels/CSD U3 Sprites intro debug.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "\r\n# Debug\r\n\r\nThis program should create two new sprites, one on the left of the screen and one on the right, but it's only drawing one. **You don't need to add any code**, just rearrange the code already present to make sure that both sprites show up like the picture on the right.", "show_d_pad": "false", "callout_json": "[]", diff --git a/dashboard/config/scripts/levels/CSD U3 Sprites intro predict.level b/dashboard/config/scripts/levels/CSD U3 Sprites intro predict.level index 1e6256eb39537..d6eacaa177c53 100644 --- a/dashboard/config/scripts/levels/CSD U3 Sprites intro predict.level +++ b/dashboard/config/scripts/levels/CSD U3 Sprites intro predict.level @@ -33,7 +33,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_d_pad": "false", "callout_json": "[]", "start_blocks": "var mySprite = createSprite(300, 100);\r\ndrawSprites();", diff --git a/dashboard/config/scripts/levels/CSD U3 Sprites intro sprites.level b/dashboard/config/scripts/levels/CSD U3 Sprites intro sprites.level index cb427440ec254..386c6ced50aa9 100644 --- a/dashboard/config/scripts/levels/CSD U3 Sprites intro sprites.level +++ b/dashboard/config/scripts/levels/CSD U3 Sprites intro sprites.level @@ -33,7 +33,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Do This", "markdown_instructions": "# Sprites\r\n\r\n**Creating Sprites:** creates a new sprite and assigns it to a variable. The default name is `sprite`, so you'll want to change it to something more meaningful.\r\n\r\n**Drawing Sprites:** Sprites only appear on the screen when you draw them there. Calling ![](https://images.code.org/82a18afda6463323529acaa3dc326d55-image-1466004008638.19.16 AM.png) will draw all of your created sprites on the screen.\r\n\r\n\r\n\r\n# Do This\r\n\r\nThis program includes comments that let you know where to place code but otherwise is blank. Your program should look like the image on the right.\r\n\r\n* Add `var sprite = createSprite(200, 200)` under the comment `Creating Sprites`.\r\n\t* You can ignore the yellow triangle warning for now. It's just telling you that you haven't used your sprite yet.\r\n* Add `drawSprites()` under the comment `Drawing`.\r\n* **Run the code** to draw your first sprite on the screen.\r\n\r\n_Hint: Sprites are drawn from their center, which means that center of the square (not the top left corner) is at (200, 200)._", "show_d_pad": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Sprites scene challenge.level b/dashboard/config/scripts/levels/CSD U3 Sprites scene challenge.level index ac74da46a076f..5c2d39ea8f603 100644 --- a/dashboard/config/scripts/levels/CSD U3 Sprites scene challenge.level +++ b/dashboard/config/scripts/levels/CSD U3 Sprites scene challenge.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_share_and_remix": "false", "code_functions": { diff --git a/dashboard/config/scripts/levels/CSD U3 Sprites scene drawing.level b/dashboard/config/scripts/levels/CSD U3 Sprites scene drawing.level index 866f8b0032ea0..efc24c84ffe42 100644 --- a/dashboard/config/scripts/levels/CSD U3 Sprites scene drawing.level +++ b/dashboard/config/scripts/levels/CSD U3 Sprites scene drawing.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_share_and_remix": "false", "code_functions": { diff --git a/dashboard/config/scripts/levels/CSD U3 Sprites scene sprites.level b/dashboard/config/scripts/levels/CSD U3 Sprites scene sprites.level index 7b4550a5e48d5..c47d6808a0a03 100644 --- a/dashboard/config/scripts/levels/CSD U3 Sprites scene sprites.level +++ b/dashboard/config/scripts/levels/CSD U3 Sprites scene sprites.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_share_and_remix": "false", "code_functions": { diff --git a/dashboard/config/scripts/levels/CSD U3 Sprites scene template.level b/dashboard/config/scripts/levels/CSD U3 Sprites scene template.level index c525229317866..477d7379e45da 100644 --- a/dashboard/config/scripts/levels/CSD U3 Sprites scene template.level +++ b/dashboard/config/scripts/levels/CSD U3 Sprites scene template.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_share_and_remix": "false", "disable_if_else_editing": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Sprites scene text.level b/dashboard/config/scripts/levels/CSD U3 Sprites scene text.level index ca3b2de93efb1..ccb5c479d7355 100644 --- a/dashboard/config/scripts/levels/CSD U3 Sprites scene text.level +++ b/dashboard/config/scripts/levels/CSD U3 Sprites scene text.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "true", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_share_and_remix": "false", "code_functions": { diff --git a/dashboard/config/scripts/levels/CSD U3 Sprites text debug.level b/dashboard/config/scripts/levels/CSD U3 Sprites text debug.level index d1e8692cac125..9879a7f59103c 100644 --- a/dashboard/config/scripts/levels/CSD U3 Sprites text debug.level +++ b/dashboard/config/scripts/levels/CSD U3 Sprites text debug.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_share_and_remix": "false", "code_functions": { diff --git a/dashboard/config/scripts/levels/CSD U3 Sprites text.level b/dashboard/config/scripts/levels/CSD U3 Sprites text.level index 62282da7afee1..0b27af44ab6c5 100644 --- a/dashboard/config/scripts/levels/CSD U3 Sprites text.level +++ b/dashboard/config/scripts/levels/CSD U3 Sprites text.level @@ -31,7 +31,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_share_and_remix": "false", "code_functions": { diff --git a/dashboard/config/scripts/levels/CSD U3 UP_ARROW.level b/dashboard/config/scripts/levels/CSD U3 UP_ARROW.level index e807bc5b68e94..cd22d990c9e14 100644 --- a/dashboard/config/scripts/levels/CSD U3 UP_ARROW.level +++ b/dashboard/config/scripts/levels/CSD U3 UP_ARROW.level @@ -85,7 +85,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[\r\n {\r\n \"localization_key\": \"\",\r\n \"callout_text\": \"Add an if statement and place your movement code inside it\",\r\n \"element_id\": \".droplet-gutter-line:nth-child(5)\",\r\n \"on\": \"\",\r\n \"qtip_config\": {\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"right center\",\r\n \"at\": \"left center\",\r\n \"adjust\": {\r\n \"x\": 0,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n }\r\n]", "project_template_level_name": "CSD U3- arrows template", "instructions_important": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Variable Arithmetic pt2.level b/dashboard/config/scripts/levels/CSD U3 Variable Arithmetic pt2.level index 9c8985b3f5fb2..36590d2fd7c78 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variable Arithmetic pt2.level +++ b/dashboard/config/scripts/levels/CSD U3 Variable Arithmetic pt2.level @@ -52,7 +52,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Predict: What two numbers will be displayed in the console?", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 Variable Arithmetic.level b/dashboard/config/scripts/levels/CSD U3 Variable Arithmetic.level index bb8aee9609025..7b612d5d2c74e 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variable Arithmetic.level +++ b/dashboard/config/scripts/levels/CSD U3 Variable Arithmetic.level @@ -52,7 +52,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Change the value \"size\" initialized to make a larger square.", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 Variable Incrementation pt2.level b/dashboard/config/scripts/levels/CSD U3 Variable Incrementation pt2.level index 1204339e3f4b6..aebe60e05f5c5 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variable Incrementation pt2.level +++ b/dashboard/config/scripts/levels/CSD U3 Variable Incrementation pt2.level @@ -52,7 +52,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Predict: What two numbers will be displayed in the console?", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 Variable Incrementation.level b/dashboard/config/scripts/levels/CSD U3 Variable Incrementation.level index a7aa469dce3ec..967f6145c3efc 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variable Incrementation.level +++ b/dashboard/config/scripts/levels/CSD U3 Variable Incrementation.level @@ -52,7 +52,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Predict: What two numbers will be displayed in the console?", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 Variables CHALLENGE gamelab gary.level b/dashboard/config/scripts/levels/CSD U3 Variables CHALLENGE gamelab gary.level index 9810b8ec5d30e..ef3227be74029 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables CHALLENGE gamelab gary.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables CHALLENGE gamelab gary.level @@ -59,7 +59,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_d_pad": "false", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 Variables Challenge.level b/dashboard/config/scripts/levels/CSD U3 Variables Challenge.level index ff98fc676adb4..bdd31d8ccdb54 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables Challenge.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables Challenge.level @@ -56,7 +56,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "encrypted_examples": "76ejS+XHP6oyLgA0YGSYEEgCaK+JYqtGyVcvEp9YOdjFe4ViiBiGc4PzDt5z\nbPu+h9i8Ff64KJB57vlUq07NE5/gizM39yOQ8cdG74Ga4DRugrrpS7E0z1k3\nyAWjLbBZWqpquBEYZlz5ksQpNCDUEWGGUYyS7Hv3MHdVbXKXpznhV0gN3NCx\nu6NQYGB8/ZcqVKnY0QWbE6U7ZyixkW6YaCSbSUOvLDCnEK25asAWQeE=\n", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 Variables Draw Challenge.level b/dashboard/config/scripts/levels/CSD U3 Variables Draw Challenge.level index 716d97c5d1a51..fa8da3d3315a1 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables Draw Challenge.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables Draw Challenge.level @@ -56,7 +56,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 Variables Draw Poppy.level b/dashboard/config/scripts/levels/CSD U3 Variables Draw Poppy.level index 877e5bd70d5ac..299cccb8b8d5a 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables Draw Poppy.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables Draw Poppy.level @@ -46,7 +46,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "true", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Variables Increase Circle.level b/dashboard/config/scripts/levels/CSD U3 Variables Increase Circle.level index 662be3d20007d..a5682dc65b6fd 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables Increase Circle.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables Increase Circle.level @@ -206,7 +206,7 @@ "hide_view_data_button": "false", "show_debug_watch": "true", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Variables Initialize.level b/dashboard/config/scripts/levels/CSD U3 Variables Initialize.level index ba6ea83b6ca1f..e2a65b19e9c21 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables Initialize.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables Initialize.level @@ -37,7 +37,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Predict: What will get displayed in the console?", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 Variables Intro.level b/dashboard/config/scripts/levels/CSD U3 Variables Intro.level index aefe2712cbbdc..396b7556f01d9 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables Intro.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables Intro.level @@ -34,7 +34,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Create your own variable ", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 Variables Predict Where X.level b/dashboard/config/scripts/levels/CSD U3 Variables Predict Where X.level index 0edd7d50894c0..1193e46046f3e 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables Predict Where X.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables Predict Where X.level @@ -35,7 +35,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_animation_mode": "true", "start_in_animation_tab": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Variables Predict Where XY.level b/dashboard/config/scripts/levels/CSD U3 Variables Predict Where XY.level index 5a79d92f5e29c..e63c411fc3527 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables Predict Where XY.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables Predict Where XY.level @@ -35,7 +35,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_animation_mode": "true", "start_in_animation_tab": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Variables Random.level b/dashboard/config/scripts/levels/CSD U3 Variables Random.level index 954b69e9d0308..d2bcb07a6274c 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables Random.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables Random.level @@ -38,7 +38,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Predict: What will get displayed in the console?", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 Variables Reassign pt2.level b/dashboard/config/scripts/levels/CSD U3 Variables Reassign pt2.level index eea97823ea1e3..0030c7bbb9cea 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables Reassign pt2.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables Reassign pt2.level @@ -36,7 +36,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Create and assign a new variable in a single line.", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 Variables Reassign.level b/dashboard/config/scripts/levels/CSD U3 Variables Reassign.level index 349fb982c247c..b6679c4fb9a50 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables Reassign.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables Reassign.level @@ -35,7 +35,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Predict: What will get displayed in the console?", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 Variables Square Random Loop.level b/dashboard/config/scripts/levels/CSD U3 Variables Square Random Loop.level index 66d53360cab2a..a89491258026c 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables Square Random Loop.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables Square Random Loop.level @@ -52,7 +52,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Test your predictions from the last level.", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 Variables Square Random.level b/dashboard/config/scripts/levels/CSD U3 Variables Square Random.level index bb39217344168..f2cca2e79130d 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables Square Random.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables Square Random.level @@ -39,7 +39,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Change the value \"size\" initialized to make a larger square.", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 Variables Square.level b/dashboard/config/scripts/levels/CSD U3 Variables Square.level index 317f57902c2ce..61dee21c1806e 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables Square.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables Square.level @@ -39,7 +39,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Change the value \"size\" initialized to make a larger square.", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 Variables TEMPLATE square.level b/dashboard/config/scripts/levels/CSD U3 Variables TEMPLATE square.level index c7a07c2de754e..7d8ca98cb7bdb 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables TEMPLATE square.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables TEMPLATE square.level @@ -57,7 +57,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[\r\n {\r\n \"localization_key\": \"\",\r\n \"callout_text\": \"Change the value assigned to size and rerun the program\",\r\n \"element_id\": \".droplet-gutter-line:nth-of-type(2)\",\r\n \"on\": \"\",\r\n \"qtip_config\": {\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"top right\",\r\n \"at\": null,\r\n \"adjust\": {\r\n \"x\": 130,\r\n \"y\": 20\r\n }\r\n }\r\n }\r\n }\r\n]", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 Variables change circle size.level b/dashboard/config/scripts/levels/CSD U3 Variables change circle size.level index 57c8e5df3e20f..be938f6aad809 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables change circle size.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables change circle size.level @@ -40,7 +40,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_animation_mode": "true", "start_in_animation_tab": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Variables create and assign.level b/dashboard/config/scripts/levels/CSD U3 Variables create and assign.level index 69287efd737fc..0d2c6569ed805 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables create and assign.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables create and assign.level @@ -61,7 +61,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 Variables draw loop newVars.level b/dashboard/config/scripts/levels/CSD U3 Variables draw loop newVars.level index c88f4a0e93f92..77f2d2537c1b4 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables draw loop newVars.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables draw loop newVars.level @@ -52,7 +52,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 Variables draw loop rgb.level b/dashboard/config/scripts/levels/CSD U3 Variables draw loop rgb.level index 051c5eda44932..f076757b1194d 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables draw loop rgb.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables draw loop rgb.level @@ -60,7 +60,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_d_pad": "false", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 Variables draw loop xy.level b/dashboard/config/scripts/levels/CSD U3 Variables draw loop xy.level index 8891cf9a527bf..bab85adf6cbd7 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables draw loop xy.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables draw loop xy.level @@ -60,7 +60,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_d_pad": "false", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 Variables eyeBrows.level b/dashboard/config/scripts/levels/CSD U3 Variables eyeBrows.level index 064c51e58818c..cdbb2f7bd539c 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables eyeBrows.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables eyeBrows.level @@ -61,7 +61,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 Variables make a big square.level b/dashboard/config/scripts/levels/CSD U3 Variables make a big square.level index fe8e4bbf9cdd1..0511f4cd0292a 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables make a big square.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables make a big square.level @@ -54,7 +54,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[\r\n {\r\n \"localization_key\": \"\",\r\n \"callout_text\": \"Change the value assigned to size and rerun the program\",\r\n \"element_id\": \".droplet-gutter-line:nth-of-type(2)\",\r\n \"on\": \"\",\r\n \"qtip_config\": {\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"top right\",\r\n \"at\": null,\r\n \"adjust\": {\r\n \"x\": 130,\r\n \"y\": 20\r\n }\r\n }\r\n }\r\n }\r\n]", "hide_animation_mode": "true", "start_in_animation_tab": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Variables make a square.level b/dashboard/config/scripts/levels/CSD U3 Variables make a square.level index b583a36c170ec..c4482034c48d2 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables make a square.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables make a square.level @@ -54,7 +54,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[\r\n {\r\n \"localization_key\": \"\",\r\n \"callout_text\": \"Change the value assigned to size and rerun the program\",\r\n \"element_id\": \".droplet-gutter-line:nth-of-type(2)\",\r\n \"on\": \"\",\r\n \"qtip_config\": {\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"top right\",\r\n \"at\": null,\r\n \"adjust\": {\r\n \"x\": 130,\r\n \"y\": 20\r\n }\r\n }\r\n }\r\n }\r\n]", "hide_animation_mode": "true", "start_in_animation_tab": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Variables multiple assignments.level b/dashboard/config/scripts/levels/CSD U3 Variables multiple assignments.level index 7ef0e3a225057..04b76f6c3357d 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables multiple assignments.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables multiple assignments.level @@ -54,7 +54,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 Variables naming rules v2.level b/dashboard/config/scripts/levels/CSD U3 Variables naming rules v2.level index fc3d52937b334..566b7b128b389 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables naming rules v2.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables naming rules v2.level @@ -39,7 +39,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_animation_mode": "true", "start_in_animation_tab": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Variables naming rules.level b/dashboard/config/scripts/levels/CSD U3 Variables naming rules.level index d16b7a69f0d63..07c8f483e809e 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables naming rules.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables naming rules.level @@ -60,7 +60,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_animation_mode": "true", "start_in_animation_tab": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Variables random assignment.level b/dashboard/config/scripts/levels/CSD U3 Variables random assignment.level index 1734b634e6c7e..c658124870d28 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables random assignment.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables random assignment.level @@ -60,7 +60,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_animation_mode": "true", "start_in_animation_tab": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Variables random draw loop.level b/dashboard/config/scripts/levels/CSD U3 Variables random draw loop.level index 547372054f8c8..38e97b6e63e86 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables random draw loop.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables random draw loop.level @@ -61,7 +61,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 Variables random drawing exemplar.level b/dashboard/config/scripts/levels/CSD U3 Variables random drawing exemplar.level index b7fd7723159d9..70df5a82749f8 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables random drawing exemplar.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables random drawing exemplar.level @@ -184,7 +184,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Check out this example randomized drawing.", "show_d_pad": "false", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 Variables random with assignment.level b/dashboard/config/scripts/levels/CSD U3 Variables random with assignment.level index c05d7d0b131db..3985f011ae0db 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables random with assignment.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables random with assignment.level @@ -42,7 +42,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_animation_mode": "true", "start_in_animation_tab": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 Variables use value rect.level b/dashboard/config/scripts/levels/CSD U3 Variables use value rect.level index ba6ea83b6ca1f..e2a65b19e9c21 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables use value rect.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables use value rect.level @@ -37,7 +37,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Predict: What will get displayed in the console?", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 Variables write.level b/dashboard/config/scripts/levels/CSD U3 Variables write.level index 05e2a0111280a..a28b674aa68b8 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables write.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables write.level @@ -59,7 +59,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_d_pad": "false", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 Variables2 expressions in commands.level b/dashboard/config/scripts/levels/CSD U3 Variables2 expressions in commands.level index ed0eabae9899f..809e3bcba15fe 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables2 expressions in commands.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables2 expressions in commands.level @@ -57,7 +57,7 @@ "text_mode_at_start": "true", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 Variables2 expressions in variables.level b/dashboard/config/scripts/levels/CSD U3 Variables2 expressions in variables.level index f73e6b4337cf2..1fcff1073579b 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables2 expressions in variables.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables2 expressions in variables.level @@ -43,7 +43,7 @@ "text_mode_at_start": "true", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 Variables2 expressions.level b/dashboard/config/scripts/levels/CSD U3 Variables2 expressions.level index 34d7cb018fd1d..a669cba9d9f37 100644 --- a/dashboard/config/scripts/levels/CSD U3 Variables2 expressions.level +++ b/dashboard/config/scripts/levels/CSD U3 Variables2 expressions.level @@ -43,7 +43,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/CSD U3 Watcher Debug.level b/dashboard/config/scripts/levels/CSD U3 Watcher Debug.level index 7bb0d4b6c9da9..f4c80e04935d7 100644 --- a/dashboard/config/scripts/levels/CSD U3 Watcher Debug.level +++ b/dashboard/config/scripts/levels/CSD U3 Watcher Debug.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_share_and_remix": "false", "code_functions": { diff --git a/dashboard/config/scripts/levels/CSD U3 Watcher Predict.level b/dashboard/config/scripts/levels/CSD U3 Watcher Predict.level index 52b12efc060c4..c14bba7c67d23 100644 --- a/dashboard/config/scripts/levels/CSD U3 Watcher Predict.level +++ b/dashboard/config/scripts/levels/CSD U3 Watcher Predict.level @@ -63,7 +63,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_animation_mode": "true", "start_in_animation_tab": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction accelerateX.level b/dashboard/config/scripts/levels/CSD U3 abstraction accelerateX.level index 4bccb02b83472..77fc08d841ebd 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction accelerateX.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction accelerateX.level @@ -58,7 +58,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"red_car\"\r\n ],\r\n \"propsByKey\": {\r\n \"red_car\": {\r\n \"name\": \"red_car\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/red_car.png\",\r\n \"frameSize\": {\r\n \"x\": 170,\r\n \"y\": 76\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", "start_blocks": "var car = createSprite(50, 200);\r\ncar.setAnimation(\"red_car\");\r\ncar.velocityX = 0.2;\r\n\r\nfunction draw() {\r\n background(\"gray\");\r\n \r\n // update sprites\r\n \r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Velocity and the Counter Pattern\r\n\r\nAs you just saw, using a `sprite.velocityX` property with the counter pattern will change a sprite's velocity during the program. This makes the sprite speed up. Do a little practice using this pattern yourself.\r\n\r\n# Do This\r\n\r\nThis program already makes a car move across the screen, but it's going very slowly.\r\n\r\n* Use the counter pattern with the sprite's velocityX property to make the car speed up. ( [Show me where](#triggercallout=code_triggered) )", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction accelerateY up.level b/dashboard/config/scripts/levels/CSD U3 abstraction accelerateY up.level index a5481a1ad50a2..7545a146bb52e 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction accelerateY up.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction accelerateY up.level @@ -58,7 +58,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"4fd25287-2fee-496c-9d9b-59e4ce3e54e3\"\r\n ],\r\n \"propsByKey\": {\r\n \"4fd25287-2fee-496c-9d9b-59e4ce3e54e3\": {\r\n \"name\": \"bubble\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/5jA8Oan0UxghBrdxoT-indkKXUdKkcfOU0TfZo-4vWQ/4fd25287-2fee-496c-9d9b-59e4ce3e54e3.png?version=mM47EltT_a4M9MOoxp74f3Q482EZucsf\",\r\n \"frameSize\": {\r\n \"x\": 211,\r\n \"y\": 215\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"mM47EltT_a4M9MOoxp74f3Q482EZucsf\"\r\n }\r\n }\r\n}", "start_blocks": "var bubble = createSprite(200, 350);\r\nbubble.setAnimation(\"bubble\");\r\nbubble.velocityY = -0.5;\r\n\r\nfunction draw() {\r\n background(\"blue\");\r\n \r\n // update sprites\r\n \r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Rising Bubble\r\n\r\nThis program makes a bubble rise up the water. Can you make it get faster as it rises?\r\n\r\n# Do This\r\n\r\n* Use the counter pattern and the sprite's y velocity to make the bubble move up more quickly.", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction accelerateY.level b/dashboard/config/scripts/levels/CSD U3 abstraction accelerateY.level index 7c5042c8d8e39..7235301725dba 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction accelerateY.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction accelerateY.level @@ -60,7 +60,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"1bca60d4-221d-479c-b3e5-e55c1c72f7f1\"\r\n ],\r\n \"propsByKey\": {\r\n \"1bca60d4-221d-479c-b3e5-e55c1c72f7f1\": {\r\n \"name\": \"rock\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/wLa8UmQpcYSjevMNgsQXag/1bca60d4-221d-479c-b3e5-e55c1c72f7f1.png?version=AApRPWBCSHekzWHhCeHGRfiIjdSM2liD\",\r\n \"frameSize\": {\r\n \"x\": 64,\r\n \"y\": 58\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"AApRPWBCSHekzWHhCeHGRfiIjdSM2liD\"\r\n }\r\n }\r\n}", "start_blocks": "var rock = createSprite(200, 50);\r\nrock.setAnimation(\"rock\");\r\nrock.velocityY = 0.5;\r\n\r\nfunction draw() {\r\n background(\"skyblue\");\r\n \r\n // update sprites\r\n \r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Falling Rock\r\n\r\nThe rock should speed up as it falls down the screen. Can you use the same counter pattern with `velocityY` inside the draw loop to make the rock go faster and faster as it falls?\r\n\r\n# Do This\r\n\r\n* Use the counter pattern with the sprite's y velocity to make the rock speed up as it falls. ( [Show me where](#triggercallout=code_triggered) )\r\n\r\n*Challenge: Can you make the rock spin as it falls?*", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction add coin.level b/dashboard/config/scripts/levels/CSD U3 abstraction add coin.level index 0d26a327ab3f2..94574416d1e98 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction add coin.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction add coin.level @@ -63,7 +63,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\"\r\n ],\r\n \"propsByKey\": {\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\": {\r\n \"name\": \"flyer\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/fbVVJ87HfqNVLZl16J52ZQ/76bca46f-40e6-4ab2-9dd1-719631602575.png?version=ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\",\r\n \"frameSize\": {\r\n \"x\": 40,\r\n \"y\": 46\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\"\r\n }\r\n }\r\n}", "start_blocks": "var flyer = createSprite(200, 200);\r\nflyer.setAnimation(\"flyer\");\r\n\r\nfunction draw() {\r\n background(\"blue\");\r\n \r\n // Simulating Gravity\r\n flyer.velocityY = flyer.velocityY + 0.1;\r\n \r\n // update sprites\r\n \r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Add a Coin\r\n\r\nIn the next few levels you'll add to your program to make a simple game. In this game the player will collect points to increase the score. This is a good chance to see how different kinds of movement can affect the way a game feels, and it will also just help you practice programming skills.\r\n\r\n# Do This\r\n\r\nIn this level you'll just be adding a new coin sprite to the game. You should be working at the top of your program, outside the draw loop.\r\n\r\n* Use the `createSprite()` block to create a new sprite. Make sure to give it a descriptive name such as **coin**.\r\n* Use the `sprite.x` and `sprite.y` properties of the sprite to give it a random X and Y position between 0 and 400.\r\n* In the Animation Tab there is already a coin animation. Use the `sprite.setAnimation()` block to give your sprite this animation.\r\n\r\nTest your code before moving on. When you run the game, you should see a coin sprite appear somewhere randomly on the screen.", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction animation circle.level b/dashboard/config/scripts/levels/CSD U3 abstraction animation circle.level index 4d9dd0f77e2a2..acd21a506c15b 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction animation circle.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction animation circle.level @@ -198,7 +198,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "markdown_instructions": "# Animate the Satellite\r\n\r\nNow you are ready for the final piece of the drawing: making the satellite circle the moon.\r\n\r\n# Do This\r\n\r\nUse `setSpeed()` and `getDirection()` to make the satellite circle the moon. ", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction animation rotate.level b/dashboard/config/scripts/levels/CSD U3 abstraction animation rotate.level index d08b8e59a531c..5e704c9e9ce02 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction animation rotate.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction animation rotate.level @@ -199,7 +199,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction animation setSpeed.level b/dashboard/config/scripts/levels/CSD U3 abstraction animation setSpeed.level index a2acf472271d2..1abbb9d494768 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction animation setSpeed.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction animation setSpeed.level @@ -199,7 +199,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction animation setup.level b/dashboard/config/scripts/levels/CSD U3 abstraction animation setup.level index a44211f8cd027..2e751f35f63ec 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction animation setup.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction animation setup.level @@ -54,7 +54,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_blocks": "// earth sprite\r\nvar earth = createSprite(200, 550);\r\nearth.setAnimation(\"earth\");\r\n\r\n// moon sprite\r\n\r\n// spaceship sprite\r\n\r\n// satellite sprite\r\n\r\nfunction draw() {\r\n background(\"darkblue\");\r\n drawSprites();\r\n}\r\n", "start_animations": "{\n \"orderedKeys\": [\n \"earth\",\n \"moon\",\n \"satellite\",\n \"spaceship\"\n ],\n \"propsByKey\": {\n \"earth\": {\n \"name\": \"earth\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/earthbig.png\",\n \"sourceSize\": {\n \"x\": 500,\n \"y\": 500\n },\n \"frameSize\": {\n \"x\": 500,\n \"y\": 500\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"moon\": {\n \"name\": \"moon\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/moon.png\",\n \"sourceSize\": {\n \"x\": 100,\n \"y\": 100\n },\n \"frameSize\": {\n \"x\": 100,\n \"y\": 100\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"satellite\": {\n \"name\": \"satellite\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/satellite.png\",\n \"sourceSize\": {\n \"x\": 100,\n \"y\": 100\n },\n \"frameSize\": {\n \"x\": 100,\n \"y\": 100\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"spaceship\": {\n \"name\": \"spaceship\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/spaceship.png\",\n \"sourceSize\": {\n \"x\": 100,\n \"y\": 100\n },\n \"frameSize\": {\n \"x\": 100,\n \"y\": 100\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction animation.level b/dashboard/config/scripts/levels/CSD U3 abstraction animation.level index a44211f8cd027..2e751f35f63ec 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction animation.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction animation.level @@ -54,7 +54,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_blocks": "// earth sprite\r\nvar earth = createSprite(200, 550);\r\nearth.setAnimation(\"earth\");\r\n\r\n// moon sprite\r\n\r\n// spaceship sprite\r\n\r\n// satellite sprite\r\n\r\nfunction draw() {\r\n background(\"darkblue\");\r\n drawSprites();\r\n}\r\n", "start_animations": "{\n \"orderedKeys\": [\n \"earth\",\n \"moon\",\n \"satellite\",\n \"spaceship\"\n ],\n \"propsByKey\": {\n \"earth\": {\n \"name\": \"earth\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/earthbig.png\",\n \"sourceSize\": {\n \"x\": 500,\n \"y\": 500\n },\n \"frameSize\": {\n \"x\": 500,\n \"y\": 500\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"moon\": {\n \"name\": \"moon\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/moon.png\",\n \"sourceSize\": {\n \"x\": 100,\n \"y\": 100\n },\n \"frameSize\": {\n \"x\": 100,\n \"y\": 100\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"satellite\": {\n \"name\": \"satellite\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/satellite.png\",\n \"sourceSize\": {\n \"x\": 100,\n \"y\": 100\n },\n \"frameSize\": {\n \"x\": 100,\n \"y\": 100\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"spaceship\": {\n \"name\": \"spaceship\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/spaceship.png\",\n \"sourceSize\": {\n \"x\": 100,\n \"y\": 100\n },\n \"frameSize\": {\n \"x\": 100,\n \"y\": 100\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction bug template.level b/dashboard/config/scripts/levels/CSD U3 abstraction bug template.level index fa64239f96578..ac4f4b6a8e560 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction bug template.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction bug template.level @@ -31,7 +31,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\n \"orderedKeys\": [\n \"dragonfly\"\n ],\n \"propsByKey\": {\n \"dragonfly\": {\n \"name\": \"dragonfly\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/dragonfly.png\",\n \"frameSize\": {\n \"x\": 150,\n \"y\": 91\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "start_blocks": "var dragonfly = createSprite(200, 350);\r\ndragonfly.setAnimation(\"dragonfly\");\r\n\r\nfunction draw() {\r\n background(color(150,50,250));\r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# velocityY\r\n\r\n`velocityY` is like `velocityX`, but it moves things up and down. Can you use it to make the dragonfly walk up the screen?\r\n\r\n# Do This\r\n\r\nUse `velocityY` to make the sprite go up the screen.\r\n\r\n*Hint: Should velocity by positive or negative to move the sprite up the screen?*", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction car rotation.level b/dashboard/config/scripts/levels/CSD U3 abstraction car rotation.level index 04410180f1ff7..9fe7065ce2b69 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction car rotation.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction car rotation.level @@ -53,7 +53,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_animations": "{\n \"orderedKeys\": [\n \"red_car\"\n ],\n \"propsByKey\": {\n \"red_car\": {\n \"name\": \"red_car\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/red_car.png\",\n \"frameSize\": {\n \"x\": 170,\n \"y\": 76\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "markdown_instructions": "# rotateToDirection\r\n\r\nHere's the car you just made move. It stayed on the road, but it was not pointing in the right direction. You can tell the sprite to always point in the direction that it's moving by adding `car.rotateToDirection = true` outside the draw loop, right after you create your sprite.\r\n\r\n# Do This\r\n\r\nUse the `rotateToDirection` property to make your car face the direction it's moving.", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction car template.level b/dashboard/config/scripts/levels/CSD U3 abstraction car template.level index b1ff26f439216..254d79314f5a2 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction car template.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction car template.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_animations": "{\n \"orderedKeys\": [\n \"red_car\"\n ],\n \"propsByKey\": {\n \"red_car\": {\n \"name\": \"red_car\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/red_car.png\",\n \"frameSize\": {\n \"x\": 170,\n \"y\": 76\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "start_blocks": "var car = createSprite(70,300);\r\ncar.setAnimation(\"red_car\");\r\n\r\nfunction draw() {\r\n background(\"green\");\r\n stroke(\"gray\");\r\n strokeWeight(70);\r\n line(0, 335, 400, 185);\r\n stroke(\"black\");\r\n strokeWeight(5);\r\n line(0, 370, 400, 220);\r\n line(0, 300, 400, 150);\r\n line(0, 335, 80, 305);\r\n line(160, 275, 240, 245);\r\n line(320, 215, 400, 185);\r\n drawSprites();\r\n}\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction change velocityX.level b/dashboard/config/scripts/levels/CSD U3 abstraction change velocityX.level index 23b1ffb6ff790..d782dfc9d3881 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction change velocityX.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction change velocityX.level @@ -55,7 +55,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "markdown_instructions": "# Moving Faster\r\n\r\nRemember when you used the counter pattern `sprite.x = sprite.x + 1` to change your sprite's position inside the draw loop? Now you can use the same type of counter pattern with `sprite.velocityX` to change your sprite's speed as your program runs. Can you add a line of code in the draw loop to make the sprite swim faster and faster?\r\n\r\n# Do This\r\n\r\nMake the fish get faster by adding `fish.velocityX = fish.velocityX + 1` inside the draw loop. [Show me where](#triggercallout=code_triggered)", "palette_category_at_start": "sprites", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction change velocityXY.level b/dashboard/config/scripts/levels/CSD U3 abstraction change velocityXY.level index eb3a3c27652e0..5ea735b13cf6e 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction change velocityXY.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction change velocityXY.level @@ -56,7 +56,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Getting faster at an angle\r\n\r\nHere's a different car that uses the same counter pattern we used in the last lesson to make the car go faster, but it changes both `velocityX` and `velocityY`. ([Show me where](#triggercallout=code_triggered)) It also prints the speed and direction to the debug console. What do you think will happen when you run the code?\r\n\r\n# Do This\r\n\r\nDiscuss with your partner what you think will happen when the code runs, then run it and see whether you were right. Why do you think the car moves in this way?\r\n\r\n[//]: #(https://images.code.org/4d1af9cc274f30b9d9263a47f9f64f13-image-1470941637433.png)", "start_blocks": "var car = createSprite(70,300);\r\ncar.setAnimation(\"green_car\");\r\n// initialize the sprite's velocity\r\ncar.velocityX = 0.8;\r\ncar.velocityY = -0.3;\r\ncar.rotateToDirection = true;\r\n\r\nfunction draw() {\r\n // draw the background\r\n background(\"green\");\r\n stroke(\"gray\");\r\n strokeWeight(70);\r\n line(0, 335, 400, 185);\r\n stroke(\"black\");\r\n strokeWeight(5);\r\n line(0, 370, 400, 220);\r\n line(0, 300, 400, 150);\r\n line(0, 335, 80, 305);\r\n line(160, 275, 240, 245);\r\n line(320, 215, 400, 185);\r\n \r\n // update the sprite's velocity\r\n car.velocityX = car.velocityX + 0.1;\r\n car.velocityY = car.velocityY - 0.1;\r\n // show the velocities in the debug console\r\n console.log(\"speed: \" + car.getSpeed() + \", dir: \" + car.getDirection());\r\n \r\n drawSprites();\r\n}\r\n", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"green_car\"\r\n ],\r\n \"propsByKey\": {\r\n \"green_car\": {\r\n \"name\": \"green_car\",\r\n \"sourceUrl\": \"https://images.code.org/4d1af9cc274f30b9d9263a47f9f64f13-image-1470941637433.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 50\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction change velocityY.level b/dashboard/config/scripts/levels/CSD U3 abstraction change velocityY.level index bb7d4df963bf6..a011e198589c0 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction change velocityY.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction change velocityY.level @@ -57,7 +57,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_animations": "{\n \"orderedKeys\": [\n \"dragonfly\"\n ],\n \"propsByKey\": {\n \"dragonfly\": {\n \"name\": \"dragonfly\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/dragonfly.png\",\n \"frameSize\": {\n \"x\": 150,\n \"y\": 91\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "markdown_instructions": "# Moving Faster\r\n\r\nJust as you can change `velocityX` inside the draw loop, you can change `velocityY` to make your sprite move faster up or down. Can you add code into the draw loop to make the dragonfly go faster?\r\n\r\n# Do This\r\n\r\nUse the `velocityY` property to make the dragonfly fly faster and faster up the screen. [Show me where](#triggercallout=code_triggered)", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction circle.level b/dashboard/config/scripts/levels/CSD U3 abstraction circle.level index a13fcb7a1c34d..0cd50fdf71c35 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction circle.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction circle.level @@ -64,7 +64,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"red_car\"\r\n ],\r\n \"propsByKey\": {\r\n \"red_car\": {\r\n \"name\": \"red_car\",\r\n \"sourceUrl\": \"https://images.code.org/63b04e63fc4bc21700b64ef3d6c6b8b7-image-1471475653020.png\",\r\n \"frameSize\": {\r\n \"x\": 60,\r\n \"y\": 30\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", "markdown_instructions": "# getDirection()\r\n\r\nYou've been using `getSpeed` and `setSpeedAndDirection` to change the speed of a sprite in a particular direction. What do you think will happen if you keep the speed the same, but use `getDirection` and `setSpeedAndDirection` to change the direction? Look at the code below and predict what it will do. After you've run it, try changing the direction by different amounts to see what happens.\r\n\r\n# Do This\r\n* Read the code where the direction is changed and predict what it will do [Show me where](#triggercallout=code_triggered)\r\n* Run the program and observe what it does\r\n* Modify the program to make the car spin in large circles\r\n* Modify the program to make the car move in the opposite direction\r\n\r\n[//]: #(https://images.code.org/63b04e63fc4bc21700b64ef3d6c6b8b7-image-1471475653020.png)", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction decelerateX.level b/dashboard/config/scripts/levels/CSD U3 abstraction decelerateX.level index 9105555d899b3..a58b51997e891 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction decelerateX.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction decelerateX.level @@ -68,7 +68,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"50407673-9d67-4f5a-8810-2aef6079b8b4\"\r\n ],\r\n \"propsByKey\": {\r\n \"50407673-9d67-4f5a-8810-2aef6079b8b4\": {\r\n \"name\": \"blue_car\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/UU6-bJSjFLl3DPhlYy2jZAO25JHcvZgmtIB4aS3Q8zg/50407673-9d67-4f5a-8810-2aef6079b8b4.png?version=6eW2dwA6KcifrDS3EhPf0meDRn4906ss\",\r\n \"frameSize\": {\r\n \"x\": 131,\r\n \"y\": 131\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"6eW2dwA6KcifrDS3EhPf0meDRn4906ss\"\r\n }\r\n }\r\n}", "start_blocks": "var car = createSprite(50, 200);\r\ncar.setAnimation(\"blue_car\");\r\ncar.velocityX = 10;\r\n\r\nnoStroke();\r\n\r\nfunction draw() {\r\n background(\"burlywood\");\r\n fill(\"blue\");\r\n rect(350,0,100,400);\r\n \r\n // update sprites\r\n\r\n drawSprites();\r\n}", "markdown_instructions": "# Slowing Things Down\r\n\r\nNow that you've had some practice speeding things up, can you use the counter pattern to slow sprites down? \r\n\r\n# Do This\r\n\r\nThe car is going to run into the water! You'll need to use the counter pattern to slow it down.\r\n\r\n* Use the `sprite.velocityX` block with a counter pattern to slow the car down by 0.25 as it moves across the screen. \r\n* Discuss with your Partner: What do you think will happen when the car finally stops?\r\n\r\n*Challenge: Add code that makes the car slow down only if his velocityX is greater than 0.*", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction decelerateY.level b/dashboard/config/scripts/levels/CSD U3 abstraction decelerateY.level index 435cb9a0abb38..6a9e6d334d18e 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction decelerateY.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction decelerateY.level @@ -66,7 +66,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"1bca60d4-221d-479c-b3e5-e55c1c72f7f1\"\r\n ],\r\n \"propsByKey\": {\r\n \"1bca60d4-221d-479c-b3e5-e55c1c72f7f1\": {\r\n \"name\": \"rock\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/jBjjSuCtMm5pDolR-viFYcN1W-QdhJRkw40Sx0rlANo/1bca60d4-221d-479c-b3e5-e55c1c72f7f1.png?version=rsjnDH6xkl.vt84YK_VI5swHtpMxSbcM\",\r\n \"frameSize\": {\r\n \"x\": 128,\r\n \"y\": 128\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"rsjnDH6xkl.vt84YK_VI5swHtpMxSbcM\"\r\n }\r\n }\r\n}", "start_blocks": "var rock = createSprite(200, 350);\r\nrock.setAnimation(\"rock\");\r\nrock.velocityY = -10;\r\nrock.rotationSpeed = 2;\r\n\r\nfunction draw() {\r\n background(\"skyblue\");\r\n \r\n // update sprites\r\n \r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Simulating Gravity\r\n\r\nIn the last level you slowed down the car with the `sprite.velocityX` block and the counter pattern. It almost looked like the car was getting pulled to the left.\r\n\r\nIf you use this same pattern with the `sprite.velocityY` block it will look like your sprite is always being pulled down, which is exactly what gravity does!\r\n\r\n# Do This\r\n\r\nThe rock is thrown in the air but it never falls back down.\r\n\r\n* Use the `sprite.velocityY` block with the counter pattern to make the rock slow down and then fall in the other direction.\r\n* Experiment with different values in your counter pattern. Do you want the rock to slow down quickly or gradually? What looks most realistic to you?\r\n* Discuss with your partner: Why are you setting the rock's initial velocity outside the draw loop? Why are you changing the sprite's velocity inside the draw loop?", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction demo pic.level b/dashboard/config/scripts/levels/CSD U3 abstraction demo pic.level index 422f3066b5b6f..c41a95ef0fee6 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction demo pic.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction demo pic.level @@ -198,7 +198,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_blocks": "var moon = createSprite(300, 100);\r\nmoon.setAnimation(\"moon\");\r\nvar satellite = createSprite(300, 30);\r\nsatellite.setAnimation(\"satellite\");\r\nsatellite.rotateToDirection = true;\r\n\r\nvar earth = createSprite(200, 550);\r\nearth.setAnimation(\"earth\");\r\nearth.rotationSpeed = 0.1;\r\n\r\nvar spaceship = createSprite(50,350);\r\nspaceship.setAnimation(\"spaceship\");\r\nspaceship.setSpeedAndDirection(2, -70);\r\nspaceship.rotateToDirection = true;\r\n\r\nvar comet = createSprite(350, 150);\r\ncomet.setAnimation(\"comet\");\r\ncomet.velocityX = -5;\r\ncomet.velocityY = 0;\r\ncomet.rotateToDirection = true;\r\n\r\n\r\nfunction draw() {\r\n background(\"darkblue\");\r\n satellite.setSpeedAndDirection(4, satellite.getDirection() + 3);\r\n spaceship.setSpeedAndDirection(spaceship.getSpeed() + 0.3 , -70);\r\n comet.velocityY = comet.velocityY + 0.1;\r\n drawSprites();\r\n}\r\n", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"earth\",\r\n \"moon\",\r\n \"satellite\",\r\n \"spaceship\",\r\n \"comet\",\r\n \"astronaut\",\r\n \"star\"\r\n ],\r\n \"propsByKey\": {\r\n \"earth\": {\r\n \"name\": \"earth\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/earthbig.png\",\r\n \"sourceSize\": {\r\n \"x\": 500,\r\n \"y\": 500\r\n },\r\n \"frameSize\": {\r\n \"x\": 500,\r\n \"y\": 500\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"moon\": {\r\n \"name\": \"moon\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/moon.png\",\r\n \"sourceSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"satellite\": {\r\n \"name\": \"satellite\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/satellite.png\",\r\n \"sourceSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"spaceship\": {\r\n \"name\": \"spaceship\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/spaceship.png\",\r\n \"sourceSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"comet\": {\r\n \"name\": \"comet\",\r\n \"sourceUrl\": \"https://images.code.org/b449da443093a6b7fb872c0b65d4ea39-image-1472234725048.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"astronaut\": {\r\n \"name\": \"astronaut\",\r\n \"sourceUrl\": \"https://images.code.org/87f39110a8cec7a6ca1978989f1d8eaf-image-1472235414354.png\",\r\n \"frameSize\": {\r\n \"x\": 60,\r\n \"y\": 67\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"star\": {\r\n \"name\": \"star\",\r\n \"sourceUrl\": \"https://images.code.org/69cb2daab7d1eec824b8bd2d2b117116-image-1472235429548.png\",\r\n \"frameSize\": {\r\n \"x\": 50,\r\n \"y\": 50\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", "markdown_instructions": "# Space Animation\r\n\r\nIn the next few puzzles, you'll be building the space animation on the left. You can use your activity guide to help you plan how to make the different type of movements you see.\r\n\r\n# Do This\r\n\r\n* Click \"Run\" to see the animation.\r\n* Look at how all the different sprites are moving and update your activity guide with any ideas you have.\r\n* Discuss with a partner how you might make this picture.", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction dragonfly (OLD).level b/dashboard/config/scripts/levels/CSD U3 abstraction dragonfly (OLD).level index cb677302af7e4..557a3f809ac94 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction dragonfly (OLD).level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction dragonfly (OLD).level @@ -53,7 +53,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\n \"orderedKeys\": [\n \"feather\"\n ],\n \"propsByKey\": {\n \"feather\": {\n \"name\": \"feather\",\n \"sourceUrl\": \"https://images.code.org/fb739254c4d2f6745977a26e0481162a-image-1470316780326.png\",\n \"frameSize\": {\n \"x\": 100,\n \"y\": 35\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "start_blocks": "var feather = createSprite(200, 50);\r\nfeather.setAnimation(\"feather\");\r\n\r\nfunction draw() {\r\n background(color(\"skyblue\"));\r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# velocityY\r\n\r\n`velocityY` is like `velocityX`, but it moves things up and down. Can you use it to make the feather float the down screen?\r\n\r\n# Do This\r\n\r\nUse `velocityY` to make the sprite go down the screen.   [Show me where](#triggercallout=code_triggered)", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction dragonfly OLD.level b/dashboard/config/scripts/levels/CSD U3 abstraction dragonfly OLD.level index 4e2a3b8142608..ee254e1173c86 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction dragonfly OLD.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction dragonfly OLD.level @@ -53,7 +53,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\n \"orderedKeys\": [\n \"dragonfly\"\n ],\n \"propsByKey\": {\n \"dragonfly\": {\n \"name\": \"dragonfly\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/dragonfly.png\",\n \"frameSize\": {\n \"x\": 150,\n \"y\": 91\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "start_blocks": "var sprite = createSprite(200, 350);\r\nsprite.setAnimation(\"dragonfly\");\r\n// initialize your sprite's velocityY here\r\n\r\nfunction draw() {\r\n // change velocityY\r\n \r\n background(color(150,50,250));\r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# velocityY\r\n\r\n`velocityY` is like `velocityX`, but it moves things up and down. Can you use it to make the dragonfly walk up the screen?\r\n\r\n# Do This\r\n\r\nUse `velocityY` to make the sprite go up the screen.   [Show me where](#triggercallout=code_triggered)\r\n\r\n*Hint: Should velocity be positive or negative to move the sprite up the screen?*", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction drive.level b/dashboard/config/scripts/levels/CSD U3 abstraction drive.level index 2d73c7c6ebde5..e306b843237ed 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction drive.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction drive.level @@ -200,7 +200,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "project_template_level_name": "CSD U3 abstraction race template", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction fish template.level b/dashboard/config/scripts/levels/CSD U3 abstraction fish template.level index a1b27106cb301..0eac2229edd0b 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction fish template.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction fish template.level @@ -31,7 +31,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\n \"orderedKeys\": [\n \"orange_fish\"\n ],\n \"propsByKey\": {\n \"orange_fish\": {\n \"name\": \"orange_fish\",\n \"sourceUrl\": \"https://images.code.org/c7a3e614952f7b31f19137b5bed3e38e-image-1469222676407.png\",\n \"sourceSize\": {\n \"x\": 135,\n \"y\": 88\n },\n \"frameSize\": {\n \"x\": 135,\n \"y\": 88\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "start_blocks": "var fish = createSprite(50, 150);\r\nfish.setAnimation(\"orange_fish\");\r\n\r\nfunction draw() {\r\n background(color(0,50,250));\r\n fill(color(250,250,250, 80));\r\n noStroke();\r\n ellipse(60, 20, 50, 50);\r\n ellipse(150, 100, 50, 50);\r\n ellipse(300, 130, 50, 50);\r\n ellipse(250, 200, 50, 50);\r\n ellipse(20, 250, 50, 50);\r\n ellipse(370, 330, 50, 50);\r\n fill(color(219, 208, 125));\r\n noStroke();\r\n ellipse(100, 400, 300, 100);\r\n ellipse(300, 400, 300, 75);\r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# velocityX\r\n\r\nLast time you made the fish move, you did it by changing its `x` property in the draw loop. Now, you can use `velocityX` to make your sprites move left or right by a certain amount each time they are drawn.\r\n\r\n# Do This\r\n\r\nUse the `velocityX` block to make the sprite go across the screen.\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction horse.level b/dashboard/config/scripts/levels/CSD U3 abstraction horse.level index 1e0513a030c4b..0309b7a348fc3 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction horse.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction horse.level @@ -59,7 +59,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\n \"orderedKeys\": [\n \"horse\",\n \"fence\"\n ],\n \"propsByKey\": {\n \"horse\": {\n \"name\": \"horse\",\n \"sourceUrl\": \"https://images.code.org/4d1d0e36e574117140ecc377d406c1de-image-1470256869920.png\",\n \"frameSize\": {\n \"x\": 100,\n \"y\": 72\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"fence\": {\n \"name\": \"fence\",\n \"sourceUrl\": \"https://images.code.org/707d4d344c13c03967446c05d5878f9f-image-1471975731685.png\",\n \"frameSize\": {\n \"x\": 360,\n \"y\": 245\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "start_blocks": "var fence = createSprite(200, 275);\r\nfence.setAnimation(\"fence\");\r\n\r\nvar horse = createSprite(75, 325);\r\nhorse.setAnimation(\"horse\");\r\n\r\nfunction draw() {\r\n background(\"green\");\r\n \r\n // update sprites\r\n \r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Horse\r\n\r\nThe horse is trying to make its escape. Can you use the `velocityX` and `velocityY` blocks to make the horse jump over the fence?\r\n\r\n\r\n# Do This\r\n\r\n* Set the starting `velocityX` and `velocityY` values outside the draw loop [Show me where](#triggercallout=code_triggered1)\r\n* Change your sprite's `velocityY` using a counter pattern inside the draw loop [Show me where](#triggercallout=code_triggered2)\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction horse2 template.level b/dashboard/config/scripts/levels/CSD U3 abstraction horse2 template.level index 22847896f5a55..172fe5ce42f7e 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction horse2 template.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction horse2 template.level @@ -62,7 +62,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"horse\",\r\n \"fence\"\r\n ],\r\n \"propsByKey\": {\r\n \"horse\": {\r\n \"name\": \"horse\",\r\n \"sourceUrl\": \"https://images.code.org/4d1d0e36e574117140ecc377d406c1de-image-1470256869920.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 72\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"fence\": {\r\n \"name\": \"fence\",\r\n \"sourceUrl\": \"https://images.code.org/707d4d344c13c03967446c05d5878f9f-image-1471975731685.png\",\r\n \"frameSize\": {\r\n \"x\": 360,\r\n \"y\": 245\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", "start_blocks": "var fence = createSprite(200, 275);\r\nfence.setAnimation(\"fence\");\r\n\r\nvar horse = createSprite(75, 325);\r\nhorse.setAnimation(\"horse\");\r\nhorse.velocityX = 1;\r\n\r\nfunction draw() {\r\n background(\"green\");\r\n \r\n // if the horse is jumping keep it going until its back to its start\r\n if(horse.y < 325){\r\n \r\n } else {\r\n \r\n }\r\n // if the up key goes down start the horse jump\r\n if(keyWentDown(\"up\")){\r\n \r\n }\r\n drawSprites();\r\n}\r\n", "palette_category_at_start": "sprites", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction horse2.level b/dashboard/config/scripts/levels/CSD U3 abstraction horse2.level index 6dd99936310ba..28a76d07ef9b9 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction horse2.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction horse2.level @@ -59,7 +59,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"horse\",\r\n \"fence\"\r\n ],\r\n \"propsByKey\": {\r\n \"horse\": {\r\n \"name\": \"horse\",\r\n \"sourceUrl\": \"https://images.code.org/4d1d0e36e574117140ecc377d406c1de-image-1470256869920.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 72\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"fence\": {\r\n \"name\": \"fence\",\r\n \"sourceUrl\": \"https://images.code.org/707d4d344c13c03967446c05d5878f9f-image-1471975731685.png\",\r\n \"frameSize\": {\r\n \"x\": 360,\r\n \"y\": 245\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", "markdown_instructions": "# Better Horse\r\n\r\nIf you're making a game, you'll want the horse to jump according to user input. This program automatically moves the horse to the right, but the horse should jump when the user presses the up arrow key. You will need to add three lines of code to make this work. First, you'll need to check whether the up arrow key has been pressed, and make the horse move up if it has. \r\n\r\n\r\n# Do This\r\n\r\n* Inside the `if` block that checks whether the up arrow key has been pressed, use the `velocityY` block to make the horse move up by 4 each time. [Show me where](#triggercallout=code_triggered)\r\n\r\n", "palette_category_at_start": "sprites", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction horse3.level b/dashboard/config/scripts/levels/CSD U3 abstraction horse3.level index 9298a9d7e7d21..c421c2992bdfa 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction horse3.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction horse3.level @@ -59,7 +59,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"horse\",\r\n \"fence\"\r\n ],\r\n \"propsByKey\": {\r\n \"horse\": {\r\n \"name\": \"horse\",\r\n \"sourceUrl\": \"https://images.code.org/4d1d0e36e574117140ecc377d406c1de-image-1470256869920.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 72\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"fence\": {\r\n \"name\": \"fence\",\r\n \"sourceUrl\": \"https://images.code.org/707d4d344c13c03967446c05d5878f9f-image-1471975731685.png\",\r\n \"frameSize\": {\r\n \"x\": 360,\r\n \"y\": 245\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", "start_blocks": "var fence = createSprite(200, 275);\r\nfence.setAnimation(\"fence\");\r\n\r\nvar horse = createSprite(75, 325);\r\nhorse.setAnimation(\"horse\");\r\nhorse.velocityX = 1;\r\n\r\nfunction draw() {\r\n background(\"green\");\r\n \r\n // if the horse is jumping keep it going until its back to its start\r\n if(horse.y < 200){\r\n \r\n } else {\r\n \r\n }\r\n // if the up key goes down start the horse jump\r\n if(keyWentDown(\"up\")){\r\n \r\n }\r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Better Horse\r\n\r\nNext, you'll make the horse fall back down to the ground. You'll need to check whether the horse is in the air by looking at its y position. If it's in the air it should fall down, but once it touches the ground it should stop. The `if/else` block has already been provided for you.\r\n\r\n# Do This\r\n\r\nLook at the `if/else` block that checks whether the horse's position is less than 325. [Show me where](#triggercallout=code_triggered1)\r\n\r\n* If the horse's y position is less than 325, use a counter pattern to change the horse's velocityY by 0.1 on each tick of the draw loop. \r\n* If the horse's y position is not less than 325, use the `velocityY` to change its vertical velocity to zero. [Show me where](#triggercallout=code_triggered2)\r\n\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction jump.level b/dashboard/config/scripts/levels/CSD U3 abstraction jump.level index c0aade7f6c63f..0a908a6affa8a 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction jump.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction jump.level @@ -66,7 +66,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction jumper intro.level b/dashboard/config/scripts/levels/CSD U3 abstraction jumper intro.level index bc0a74027f2a5..79ae058f32762 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction jumper intro.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction jumper intro.level @@ -67,7 +67,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction jumper template.level b/dashboard/config/scripts/levels/CSD U3 abstraction jumper template.level index 17b9cb52b233e..0857b04ce6296 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction jumper template.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction jumper template.level @@ -67,7 +67,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction jumping advanced.level b/dashboard/config/scripts/levels/CSD U3 abstraction jumping advanced.level index 78817ea65314e..c8261f5a1a71c 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction jumping advanced.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction jumping advanced.level @@ -63,7 +63,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\"\r\n ],\r\n \"propsByKey\": {\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\": {\r\n \"name\": \"flyer\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/fbVVJ87HfqNVLZl16J52ZQ/76bca46f-40e6-4ab2-9dd1-719631602575.png?version=ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\",\r\n \"frameSize\": {\r\n \"x\": 40,\r\n \"y\": 46\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\"\r\n }\r\n }\r\n}", "start_blocks": "var flyer = createSprite(200, 200);\r\nflyer.setAnimation(\"flyer\");\r\n\r\nfunction draw() {\r\n background(\"blue\");\r\n \r\n // Simulating Gravity\r\n flyer.velocityY = flyer.velocityY + 0.1;\r\n \r\n // update sprites\r\n \r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Jumping with the Counter Pattern\r\n\r\nIn the last level you just set the sprite's velocity to -5 to make it jump. Eventually the sprite slows down and then starts falling again. Now you'll build a slightly more realistic jump by using the counter pattern with the sprite's y velocity.\r\n\r\n# Do This\r\n\r\nInside the `if` block you should have code that sets the sprite's y velocity to a number.\r\n\r\n* Replace that line of code with new code, `flyer.velocityY = flyer.velocityY - 5`\r\n* Discuss with Your Partner: How did this change affect the way the sprite moves? How does subtracting a different amount change the way your sprite moves? Do you prefer one or the other type of jump?", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction jumping template.level b/dashboard/config/scripts/levels/CSD U3 abstraction jumping template.level index c5c40c42c54a7..043d4adb519af 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction jumping template.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction jumping template.level @@ -88,7 +88,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\",\r\n \"9d40584c-f6d2-4cde-a24f-6dc25abf9b40\"\r\n ],\r\n \"propsByKey\": {\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\": {\r\n \"name\": \"flyer\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/qrH1yqfVvu_DFIz9l9EL6A/76bca46f-40e6-4ab2-9dd1-719631602575.png?version=PbUMnNJK03fpW8w.eUkMkGojZ.rF3L.j\",\r\n \"frameSize\": {\r\n \"x\": 40,\r\n \"y\": 46\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"PbUMnNJK03fpW8w.eUkMkGojZ.rF3L.j\"\r\n },\r\n \"9d40584c-f6d2-4cde-a24f-6dc25abf9b40\": {\r\n \"name\": \"coin\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/qrH1yqfVvu_DFIz9l9EL6A/9d40584c-f6d2-4cde-a24f-6dc25abf9b40.png?version=U0gI____2045LsVXFQPcYmNVIf1H7NAe\",\r\n \"frameSize\": {\r\n \"x\": 30,\r\n \"y\": 30\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"U0gI____2045LsVXFQPcYmNVIf1H7NAe\"\r\n }\r\n }\r\n}", "start_blocks": "var character = createSprite(200, 200);\r\ncharacter.setAnimation(\"flyer\");\r\n\r\nfunction draw() {\r\n background(\"skyblue\");\r\n \r\n // Simulating Gravity\r\n character.velocityY = character.velocityY + 0.1;\r\n \r\n // update sprites\r\n if(keyWentDown(\"up\")){\r\n \r\n }\r\n \r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Jumping\r\n\r\nIncreasing a sprite's y velocity inside the counter pattern can simulate gravity. By adding user interactions you can make your sprite appear to jump as well. For starters you'll make a simple jump and then make it more realistic looking in the next level.\r\n\r\n# Do This\r\n\r\nA sprite has already been created for you that falls because its y velocity is increased inside the draw loop. You'll need to make this sprite appear to jump.\r\n\r\n* Inside the draw loop add an `if` block\r\n* Use the `keyWentDown` block to make the block respond to the \"up\" arrow being pressed\r\n* Inside your `if` block set the sprite's y velocity to -5\r\n\r\nRun the code to make sure it works. Then experiment with different values. How could you make your sprite jump higher or lower?", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction jumping.level b/dashboard/config/scripts/levels/CSD U3 abstraction jumping.level index fc0ad63286b13..af4975b84d089 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction jumping.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction jumping.level @@ -63,7 +63,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\"\r\n ],\r\n \"propsByKey\": {\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\": {\r\n \"name\": \"flyer\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/fbVVJ87HfqNVLZl16J52ZQ/76bca46f-40e6-4ab2-9dd1-719631602575.png?version=ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\",\r\n \"frameSize\": {\r\n \"x\": 40,\r\n \"y\": 46\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\"\r\n }\r\n }\r\n}", "start_blocks": "var flyer = createSprite(200, 200);\r\nflyer.setAnimation(\"flyer\");\r\n\r\nfunction draw() {\r\n background(\"blue\");\r\n \r\n // Simulating Gravity\r\n flyer.velocityY = flyer.velocityY + 0.1;\r\n \r\n // update sprites\r\n \r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Jumping\r\n\r\nIncreasing a sprite's y velocity inside the counter pattern can simulate gravity. By adding user interactions you can make your sprite appear to jump as well. For starters you'll make a simple jump, and then make it more realistic looking in the next level.\r\n\r\n# Do This\r\n\r\nA sprite has already been created for you that falls because its y velocity is increased inside the draw loop. You'll need to make this sprite appear to jump.\r\n\r\n* Inside the `if` block that checks whether the up arrow has been pressed, set the sprite's y velocity to -5. ( [Show me where](#triggercallout=callout1) )\r\n* Discuss with a neighbor: Why does this code run the way it does? How would using a number besides -5 affect the way the code works? How could you jump higher or lower?", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction left right counter 2.level b/dashboard/config/scripts/levels/CSD U3 abstraction left right counter 2.level index 38c7a78b091c0..fd48c99a7f155 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction left right counter 2.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction left right counter 2.level @@ -63,7 +63,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\"\r\n ],\r\n \"propsByKey\": {\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\": {\r\n \"name\": \"flyer\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/fbVVJ87HfqNVLZl16J52ZQ/76bca46f-40e6-4ab2-9dd1-719631602575.png?version=ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\",\r\n \"frameSize\": {\r\n \"x\": 40,\r\n \"y\": 46\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\"\r\n }\r\n }\r\n}", "start_blocks": "var flyer = createSprite(200, 200);\r\nflyer.setAnimation(\"flyer\");\r\n\r\nfunction draw() {\r\n background(\"blue\");\r\n \r\n // Simulating Gravity\r\n flyer.velocityY = flyer.velocityY + 0.1;\r\n \r\n // update sprites\r\n \r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Floating Left\r\n\r\nIn the last level you got detailed instructions on how to make your sprite start floating to the right. This time you'll need to make your sprite float to the left on your own. You should be pretty comfortable with using velocity and the counter pattern together at this point. If you're having trouble, talk to a neighbor or review some of the past levels.\r\n\r\n# Do This\r\n\r\n* Add code to your draw loop that will make the sprite start moving to the left when the \"left\" arrow is down.\r\n* Make sure you're using velocity and the counter pattern together.\r\n\r\nOnce your code is working share what you wrote with a partner. Is your sprite easy to control? Does changing the amount you add or subtract in the counter patterns you wrote affect the way the game feels? What kind of game might be fun to make with a player that moves like this?", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction left right counter.level b/dashboard/config/scripts/levels/CSD U3 abstraction left right counter.level index 907cb20aa9ff3..2e53cffcd853e 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction left right counter.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction left right counter.level @@ -63,7 +63,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\"\r\n ],\r\n \"propsByKey\": {\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\": {\r\n \"name\": \"flyer\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/fbVVJ87HfqNVLZl16J52ZQ/76bca46f-40e6-4ab2-9dd1-719631602575.png?version=ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\",\r\n \"frameSize\": {\r\n \"x\": 40,\r\n \"y\": 46\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\"\r\n }\r\n }\r\n}", "start_blocks": "var flyer = createSprite(200, 200);\r\nflyer.setAnimation(\"flyer\");\r\n\r\nfunction draw() {\r\n background(\"blue\");\r\n \r\n // Simulating Gravity\r\n flyer.velocityY = flyer.velocityY + 0.1;\r\n \r\n // update sprites\r\n \r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Floating Right\r\n\r\nYou're now using the counter pattern with the sprite's Y velocity to simulate gravity and jumping. If you use the sprite's X velocity in the counter pattern then you can make your sprite float from side to side as well.\r\n\r\n# Do This\r\n\r\nIn this level you'll make your sprite start floating to the right when the right arrow is pressed.\r\n\r\n* Add an `if` statement inside your draw loop below the one you created for the \"up\" arrow.\r\n* Use the `keyDown` block to make the `if` statement respond to when the \"right\" arrow is pressed.\r\n* Inside the `if` block use the counter pattern with the `sprite.velocityX` block to add 0.1 to the sprite's X velocity.\r\n\r\nRun your code to see how it works. The sprite should start floating to the right when you press the right arrow and jump when you press \"up\". You'll make the left arrow work in the next level.", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction looping.level b/dashboard/config/scripts/levels/CSD U3 abstraction looping.level index cf1c86e5a4e21..6693abf0d170b 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction looping.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction looping.level @@ -66,7 +66,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction make it your own.level b/dashboard/config/scripts/levels/CSD U3 abstraction make it your own.level index f47be6a7748a1..d65647ab67d5b 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction make it your own.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction make it your own.level @@ -31,7 +31,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\"\r\n ],\r\n \"propsByKey\": {\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\": {\r\n \"name\": \"flyer\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/fbVVJ87HfqNVLZl16J52ZQ/76bca46f-40e6-4ab2-9dd1-719631602575.png?version=ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\",\r\n \"frameSize\": {\r\n \"x\": 40,\r\n \"y\": 46\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\"\r\n }\r\n }\r\n}", "start_blocks": "var flyer = createSprite(200, 200);\r\nflyer.setAnimation(\"flyer\");\r\n\r\nfunction draw() {\r\n background(\"blue\");\r\n \r\n // Simulating Gravity\r\n flyer.velocityY = flyer.velocityY + 0.1;\r\n \r\n // update sprites\r\n \r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Make It Your Own\r\n\r\nYou now have the basic mechanics of your game in place, so it's time to make it your own. What do you want to happen? Should the character get points every time it collects a coin? Can you add a scoreboard like you learned in the last lesson? Do you want to make another coin? What about a \"bad coin\" that takes away points?\r\n\r\n# Do This\r\n\r\nMake at least one improvement to the game that makes it your own. Be prepared to share your changes and improvements with your classmate.", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction parabola.level b/dashboard/config/scripts/levels/CSD U3 abstraction parabola.level index f412ceefc9947..c0d86cb322697 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction parabola.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction parabola.level @@ -59,7 +59,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"basketball\", \"hoop\"\r\n ],\r\n \"propsByKey\": {\r\n \"basketball\": {\r\n \"name\": \"basketball\",\r\n \"sourceUrl\": \"https://images.code.org/24355fc6377cfafdce3ce2b3568a33c3-image-1470343728940.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"hoop\": {\r\n \"name\": \"hoop\",\r\n \"sourceUrl\": \"https://images.code.org/119358fc8705640a24d2138439ea7cc1-image-1472496770816.png\",\r\n \"frameSize\": {\r\n \"x\": 150,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", "start_blocks": "var basketball = createSprite(50, 350);\r\nbasketball.setAnimation(\"basketball\");\r\nbasketball.velocityY = -10;\r\n\r\nvar hoop = createSprite(325,280);\r\nhoop.setAnimation(\"hoop\");\r\n\r\nfunction draw() {\r\n background(\"skyblue\");\r\n \r\n // update sprites\r\n basketball.velocityY = basketball.velocityY + 0.2;\r\n \r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Basketball\r\n\r\nHere's a basketball that's thrown up, then falls back down. Can you use the `velocityX` block to make it go through the hoop?\r\n\r\n\r\n# Do This\r\n\r\nUse the `velocityX` block outside the draw loop to make the ball move to the right by 3 each time. [Show me where](#triggercallout=code_triggered)\r\n\r\n[//]: #(https://images.code.org/119358fc8705640a24d2138439ea7cc1-image-1472496770816.png)", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction race template.level b/dashboard/config/scripts/levels/CSD U3 abstraction race template.level index d423481a9a456..234cd42a3206a 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction race template.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction race template.level @@ -66,7 +66,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_animations": "{\n \"orderedKeys\": [\n \"red_car\"\n ],\n \"propsByKey\": {\n \"red_car\": {\n \"name\": \"red_car\",\n \"sourceUrl\": \"https://images.code.org/5f738da1a2b1ef8af124e4470e2babe7-image-1469742830481.png\",\n \"frameSize\": {\n \"x\": 50,\n \"y\": 50\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "markdown_instructions": "Template for the race game", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction reset coin.level b/dashboard/config/scripts/levels/CSD U3 abstraction reset coin.level index 49cb51e593266..4d2dae5546f13 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction reset coin.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction reset coin.level @@ -64,7 +64,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\"\r\n ],\r\n \"propsByKey\": {\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\": {\r\n \"name\": \"flyer\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/fbVVJ87HfqNVLZl16J52ZQ/76bca46f-40e6-4ab2-9dd1-719631602575.png?version=ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\",\r\n \"frameSize\": {\r\n \"x\": 40,\r\n \"y\": 46\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\"\r\n }\r\n }\r\n}", "start_blocks": "var flyer = createSprite(200, 200);\r\nflyer.setAnimation(\"flyer\");\r\n\r\nfunction draw() {\r\n background(\"blue\");\r\n \r\n // Simulating Gravity\r\n flyer.velocityY = flyer.velocityY + 0.1;\r\n \r\n // update sprites\r\n \r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Reset Coin\r\n\r\nWhen your character touches the coin you should reset it somewhere on the screen.\r\n\r\n# Do This\r\n\r\n* Place an `if` block inside of your draw loop.\r\n* Use the `sprite.isTouching()` block as the condition to detect when the character touches the coin.\r\n* Inside the `if` block write code that sets the coin's X and Y position to random numbers between 0 and 400.\r\n\t* *Hint: You've already written this code elsewhere in your program.*\r\n\r\nTest your code before moving on. When your player touches the coin, it should move somewhere else on the screen.", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction rotation accelerate.level b/dashboard/config/scripts/levels/CSD U3 abstraction rotation accelerate.level index abe0265ba7858..81be077904e64 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction rotation accelerate.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction rotation accelerate.level @@ -57,7 +57,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\n \"orderedKeys\": [\n \"wheel\"\n ],\n \"propsByKey\": {\n \"wheel\": {\n \"name\": \"wheel\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/wheel.png\",\n \"sourceSize\": {\n \"x\": 350,\n \"y\": 350\n },\n \"frameSize\": {\n \"x\": 350,\n \"y\": 350\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "start_blocks": "var wheel = createSprite(200, 200);\r\nwheel.setAnimation(\"wheel\");\r\nwheel.rotationSpeed = 1;\r\n\r\nfunction draw() {\r\n background(\"blue\");\r\n \r\n // wheel speeds up when the up arrow is pressed\r\n if (keyWentDown(\"up\")) {\r\n wheel.rotationSpeed = wheel.rotationSpeed + 1;\r\n }\r\n // wheel slows down when the down arrow is pressed\r\n if (keyWentDown(\"down\")) {\r\n \r\n }\r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Speeding up\r\n\r\nNow that you've used `rotationSpeed` outside the draw loop to start your sprite rotating at a certain speed, you can also use `rotationSpeed` inside the draw loop to change how fast the sprite rotates. Look at the code inside the draw loop. It uses the counter pattern to make the wheel speed up when the up arrow is pressed. Can you use a different counter pattern to make the wheel slow down when the down arrow is pressed?\r\n\r\n# Do This\r\n\r\n* Look at the code that makes the wheel spin faster when the up arrow is pressed [Show me where](#triggercallout=code_triggered1)\r\n* Add code that makes the wheel spin slower when the down arrow is pressed [Show me where](#triggercallout=code_triggered2)", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction rotation control.level b/dashboard/config/scripts/levels/CSD U3 abstraction rotation control.level index 885fc48504489..fb67e3fe781a7 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction rotation control.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction rotation control.level @@ -59,7 +59,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"wheel\"\r\n ],\r\n \"propsByKey\": {\r\n \"wheel\": {\r\n \"name\": \"wheel\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/DpGJgarriYrw0-Bbxx8kzA/wheel.png?version=X6ZDkqvKtJK6jHocRG2dciK56oO3xmgl\",\r\n \"frameSize\": {\r\n \"x\": 350,\r\n \"y\": 350\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"X6ZDkqvKtJK6jHocRG2dciK56oO3xmgl\"\r\n }\r\n }\r\n}", "start_blocks": "var wheel = createSprite(200, 200);\r\nwheel.setAnimation(\"wheel\");\r\n\r\nfunction draw() {\r\n background(\"blue\");\r\n \r\n // wheel starts spinning when the user presses the space bar\r\n if (keyWentDown(\"space\")) {\r\n \r\n }\r\n\r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Controlling Speed\r\n\r\nYou used `rotatationSpeed` outside the draw loop to make your sprite rotate when your program started. You can also use `rotationSpeed` **inside** the draw loop to change the speed of the sprite during the game. For example, a sprite can start rotating when the user presses the space bar, and it will keep rotating until it's told to stop.\r\n\r\n# Do This\r\n\r\n* Look at the `if` statement inside the draw loop that checks whether the space bar has been pressed. ( [Show me where](#triggercallout=code_triggered1) )\r\n* Use the `rotationSpeed` block to make the color wheel start spinning when the user presses the space bar.", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction rotation.level b/dashboard/config/scripts/levels/CSD U3 abstraction rotation.level index a84df0291f1d0..49cc91d2f208b 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction rotation.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction rotation.level @@ -40,7 +40,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"sun\"\r\n ],\r\n \"propsByKey\": {\r\n \"sun\": {\r\n \"name\": \"sun\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/nfUk4Qpbn68_IT-Cri9ZfA/sun.png?version=TmYjW1.fxMqhOKou3lpHlye3MaD9w61N\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"TmYjW1.fxMqhOKou3lpHlye3MaD9w61N\"\r\n }\r\n }\r\n}", "start_blocks": "var sun = createSprite(200, 200);\r\nsun.setAnimation(\"sun\");\r\n\r\nfunction draw() {\r\n background(\"blue\");\r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# rotationSpeed\r\n\r\nYou've already learned how to make your sprite spin by using the `rotation` block. For example, when you wanted your sprite to rotate by two degrees each time it was drawn, you put `sprite.rotation = sprite.rotation + 2` inside the draw loop.\r\n\r\nNow, you can use `rotationSpeed` to make your sprites rotate by a certain amount each time they are drawn. If you want your sun to rotate by two degrees each time it's drawn, you can use `sun.rotationSpeed = 2` before the draw loop, after you create your sprite.\r\n\r\n# Do This\r\n\r\nMake the sun rotate by 3 degrees each time using the `rotationSpeed` block. ( [Show me where](#triggercallout=callout1) )", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction setSpeed accelerate.level b/dashboard/config/scripts/levels/CSD U3 abstraction setSpeed accelerate.level index f360db9b18e0f..3909b74fcaae1 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction setSpeed accelerate.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction setSpeed accelerate.level @@ -59,7 +59,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_blocks": "var car = createSprite(70,300);\r\ncar.setAnimation(\"green_car\");\r\ncar.setSpeedAndDirection(1,-20);\r\ncar.rotateToDirection = true;\r\n\r\nfunction draw() {\r\n background(\"green\");\r\n // draw the road\r\n stroke(\"gray\");\r\n strokeWeight(70);\r\n line(0, 335, 400, 185);\r\n stroke(\"black\");\r\n strokeWeight(5);\r\n line(0, 370, 400, 220);\r\n line(0, 300, 400, 150);\r\n line(0, 335, 80, 305);\r\n line(160, 275, 240, 245);\r\n line(320, 215, 400, 185);\r\n \r\n // update sprites\r\n \r\n // show the velocities in the debug console\r\n console.log(\"velocityX: \" + car.velocityX + \", velocityY: \" + car.velocityY);\r\n \r\n drawSprites();\r\n}\r\n", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"green_car\"\r\n ],\r\n \"propsByKey\": {\r\n \"green_car\": {\r\n \"name\": \"green_car\",\r\n \"sourceUrl\": \"https://images.code.org/4d1af9cc274f30b9d9263a47f9f64f13-image-1470941637433.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 50\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", "markdown_instructions": "# Moving faster and faster\r\n\r\nNow that you've started your car off in the right direction, you can make it go faster and faster by using a counter pattern inside the draw loop. Because the sprite does not store its speed as it would a property, you'll need to use the `getSpeed` block inside the `setSpeedAndDirection` block to add one to the speed each time. The code `car.setSpeedAndDirection(car.getSpeed() + 1, -20)` will get the speed of the car, add one to it, and set the new speed to be the sum. Even though it looks different from using a counter pattern on a property or variable, the basic pattern of adding one each time is the same.\r\n\r\n# Do this\r\n\r\nUse the `getSpeed` and `setSpeedAndDirection` blocks to add one to the speed each time the draw loop is called. [Show me where](#triggercallout=code_triggered)", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction setSpeed fish.level b/dashboard/config/scripts/levels/CSD U3 abstraction setSpeed fish.level index 9f52d25d945e8..f70bdf3419cae 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction setSpeed fish.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction setSpeed fish.level @@ -67,7 +67,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"orange_fish\",\r\n \"shark\"\r\n ],\r\n \"propsByKey\": {\r\n \"orange_fish\": {\r\n \"name\": \"orange_fish\",\r\n \"sourceUrl\": \"https://images.code.org/c7a3e614952f7b31f19137b5bed3e38e-image-1469222676407.png\",\r\n \"frameSize\": {\r\n \"x\": 135,\r\n \"y\": 88\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"shark\": {\r\n \"name\": \"shark\",\r\n \"sourceUrl\": \"https://images.code.org/b63256ffb19a98d9d20f3b3b79364006-image-1471467188241.png\",\r\n \"frameSize\": {\r\n \"x\": 200,\r\n \"y\": 86\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction setSpeed intro.level b/dashboard/config/scripts/levels/CSD U3 abstraction setSpeed intro.level index bdbf4ef26edbd..4b6d24fe46b83 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction setSpeed intro.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction setSpeed intro.level @@ -55,7 +55,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_blocks": "var redBall = createSprite(50, 20);\r\nredBall.setAnimation(\"redBall\");\r\nredBall.velocityX = 1.5;\r\nredBall.velocityY = 2;\r\nredBall.rotationSpeed = 2;\r\nconsole.log(\"red ball speed and direction:\");\r\nconsole.log(redBall.getSpeed());\r\nconsole.log(redBall.getDirection());\r\n\r\nvar blueBall = createSprite(50, 230);\r\nblueBall.setAnimation(\"blueBall\");\r\nblueBall.velocityX = 1;\r\nblueBall.velocityY = -0.4;\r\nblueBall.rotationSpeed = 2;\r\nconsole.log(\"blue ball speed and direction:\");\r\nconsole.log(blueBall.getSpeed());\r\nconsole.log(blueBall.getDirection());\r\n\r\nvar yellowBall = createSprite(50, 380);\r\nyellowBall.setAnimation(\"yellowBall\");\r\nyellowBall.velocityX = 2;\r\nyellowBall.velocityY = -2;\r\nyellowBall.rotationSpeed = 2;\r\nconsole.log(\"yellow ball speed and direction:\");\r\nconsole.log(yellowBall.getSpeed());\r\nconsole.log(yellowBall.getDirection());\r\n\r\nfunction draw() {\r\n background(\"gray\");\r\n drawSprites();\r\n}\r\n", "palette_category_at_start": "sprites", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction setSpeed.level b/dashboard/config/scripts/levels/CSD U3 abstraction setSpeed.level index 4e9647e44552a..75050fef99937 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction setSpeed.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction setSpeed.level @@ -59,7 +59,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_blocks": "var car = createSprite(70,300);\r\ncar.setAnimation(\"green_car\");\r\n// initialize your sprite's speed and direction here\r\n\r\nfunction draw() {\r\n background(\"green\");\r\n // draw the road\r\n stroke(\"gray\");\r\n strokeWeight(70);\r\n line(0, 335, 400, 185);\r\n stroke(\"black\");\r\n strokeWeight(5);\r\n line(0, 370, 400, 220);\r\n line(0, 300, 400, 150);\r\n line(0, 335, 80, 305);\r\n line(160, 275, 240, 245);\r\n line(320, 215, 400, 185);\r\n \r\n // show the velocities in the debug console\r\n console.log(\"velocityX: \" + car.velocityX + \", velocityY: \" + car.velocityY);\r\n \r\n drawSprites();\r\n}\r\n", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"green_car\"\r\n ],\r\n \"propsByKey\": {\r\n \"green_car\": {\r\n \"name\": \"green_car\",\r\n \"sourceUrl\": \"https://images.code.org/4d1af9cc274f30b9d9263a47f9f64f13-image-1470941637433.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 50\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", "markdown_instructions": "# setSpeedAndDirection()\r\n\r\nJust as you can use the `getSpeed` and `getDirection` blocks to see how your sprite is moving, you can use the `setSpeedAndDirection` block to tell the computer how you want your sprite to move. This block takes in two numbers, first the new speed of your sprite, then the angle of its direction.\r\n\r\nBefore, you did this by setting your `velocityX` and `velocityY` properties, but `setSpeedAndDirection` lets you input the exact speed and direction of your sprite. The computer calculates the matching `velocityX` and `velocityY` values and sets them for you, according to code that another programmer already wrote.\r\n\r\n# Do this\r\n\r\nUse `setSpeedAndDirection` to make the car stay on the road. You can see the effect on your sprite's `velocityX` and `velocityY` in the debug console.\r\n\r\n*Hint: The angle of the road is -20 degrees*\r\n\r\n*Challenge: Make the car point in the correct direction.*", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction sidescroll intro.level b/dashboard/config/scripts/levels/CSD U3 abstraction sidescroll intro.level index bc0a74027f2a5..79ae058f32762 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction sidescroll intro.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction sidescroll intro.level @@ -67,7 +67,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction sidescroll template.level b/dashboard/config/scripts/levels/CSD U3 abstraction sidescroll template.level index 9d662bd321bbf..335f4dd135f4b 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction sidescroll template.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction sidescroll template.level @@ -79,7 +79,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction sidescroll.level b/dashboard/config/scripts/levels/CSD U3 abstraction sidescroll.level index 24fe0521de792..e742823995bd9 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction sidescroll.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction sidescroll.level @@ -67,7 +67,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction space animation.level b/dashboard/config/scripts/levels/CSD U3 abstraction space animation.level index 3b16586c83cac..038ab68763d27 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction space animation.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction space animation.level @@ -58,7 +58,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "palette_category_at_start": "sprites", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction space comet.level b/dashboard/config/scripts/levels/CSD U3 abstraction space comet.level index 5748efdedc935..ece67abb2465b 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction space comet.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction space comet.level @@ -46,7 +46,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_blocks": "// earth sprite\r\nvar earth = createSprite(200, 550);\r\nearth.setAnimation(\"earth\");\r\n\r\n// moon sprite\r\n\r\n// spaceship sprite\r\n\r\n// satellite sprite\r\n\r\nfunction draw() {\r\n background(\"darkblue\");\r\n drawSprites();\r\n}\r\n", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"earth\",\r\n \"moon\",\r\n \"satellite\",\r\n \"spaceship\"\r\n ],\r\n \"propsByKey\": {\r\n \"earth\": {\r\n \"name\": \"earth\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/earthbig.png\",\r\n \"sourceSize\": {\r\n \"x\": 500,\r\n \"y\": 500\r\n },\r\n \"frameSize\": {\r\n \"x\": 500,\r\n \"y\": 500\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"moon\": {\r\n \"name\": \"moon\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/moon.png\",\r\n \"sourceSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"satellite\": {\r\n \"name\": \"satellite\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/satellite.png\",\r\n \"sourceSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"spaceship\": {\r\n \"name\": \"spaceship\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/spaceship.png\",\r\n \"sourceSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction space earth.level b/dashboard/config/scripts/levels/CSD U3 abstraction space earth.level index 846c8c2cc609a..b097f9f135bbf 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction space earth.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction space earth.level @@ -46,7 +46,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_blocks": "// earth sprite\r\nvar earth = createSprite(200, 550);\r\nearth.setAnimation(\"earth\");\r\n\r\n// moon sprite\r\n\r\n// spaceship sprite\r\n\r\n// satellite sprite\r\n\r\nfunction draw() {\r\n background(\"darkblue\");\r\n drawSprites();\r\n}\r\n", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"earth\",\r\n \"moon\",\r\n \"satellite\",\r\n \"spaceship\"\r\n ],\r\n \"propsByKey\": {\r\n \"earth\": {\r\n \"name\": \"earth\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/earthbig.png\",\r\n \"sourceSize\": {\r\n \"x\": 500,\r\n \"y\": 500\r\n },\r\n \"frameSize\": {\r\n \"x\": 500,\r\n \"y\": 500\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"moon\": {\r\n \"name\": \"moon\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/moon.png\",\r\n \"sourceSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"satellite\": {\r\n \"name\": \"satellite\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/satellite.png\",\r\n \"sourceSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"spaceship\": {\r\n \"name\": \"spaceship\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/spaceship.png\",\r\n \"sourceSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction space satellite.level b/dashboard/config/scripts/levels/CSD U3 abstraction space satellite.level index 9950b8ce0827c..1c1f87a13b36f 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction space satellite.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction space satellite.level @@ -46,7 +46,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_blocks": "// earth sprite\r\nvar earth = createSprite(200, 550);\r\nearth.setAnimation(\"earth\");\r\n\r\n// moon sprite\r\n\r\n// spaceship sprite\r\n\r\n// satellite sprite\r\n\r\nfunction draw() {\r\n background(\"darkblue\");\r\n drawSprites();\r\n}\r\n", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"earth\",\r\n \"moon\",\r\n \"satellite\",\r\n \"spaceship\"\r\n ],\r\n \"propsByKey\": {\r\n \"earth\": {\r\n \"name\": \"earth\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/earthbig.png\",\r\n \"sourceSize\": {\r\n \"x\": 500,\r\n \"y\": 500\r\n },\r\n \"frameSize\": {\r\n \"x\": 500,\r\n \"y\": 500\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"moon\": {\r\n \"name\": \"moon\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/moon.png\",\r\n \"sourceSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"satellite\": {\r\n \"name\": \"satellite\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/satellite.png\",\r\n \"sourceSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"spaceship\": {\r\n \"name\": \"spaceship\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/spaceship.png\",\r\n \"sourceSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction space setup.level b/dashboard/config/scripts/levels/CSD U3 abstraction space setup.level index e3c157930fd2c..9a697d8557dba 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction space setup.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction space setup.level @@ -46,7 +46,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_blocks": "// earth sprite\r\nvar earth = createSprite(200, 550);\r\nearth.setAnimation(\"earth\");\r\n\r\n// moon sprite\r\n\r\n// spaceship sprite\r\n\r\n// satellite sprite\r\n\r\nfunction draw() {\r\n background(\"darkblue\");\r\n drawSprites();\r\n}\r\n", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"earth\",\r\n \"moon\",\r\n \"satellite\",\r\n \"spaceship\"\r\n ],\r\n \"propsByKey\": {\r\n \"earth\": {\r\n \"name\": \"earth\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/earthbig.png\",\r\n \"sourceSize\": {\r\n \"x\": 500,\r\n \"y\": 500\r\n },\r\n \"frameSize\": {\r\n \"x\": 500,\r\n \"y\": 500\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"moon\": {\r\n \"name\": \"moon\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/moon.png\",\r\n \"sourceSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"satellite\": {\r\n \"name\": \"satellite\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/satellite.png\",\r\n \"sourceSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"spaceship\": {\r\n \"name\": \"spaceship\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/spaceship.png\",\r\n \"sourceSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction space spaceship.level b/dashboard/config/scripts/levels/CSD U3 abstraction space spaceship.level index 142b4ef26fe71..10590e792a04e 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction space spaceship.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction space spaceship.level @@ -46,7 +46,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_blocks": "// earth sprite\r\nvar earth = createSprite(200, 550);\r\nearth.setAnimation(\"earth\");\r\n\r\n// moon sprite\r\n\r\n// spaceship sprite\r\n\r\n// satellite sprite\r\n\r\nfunction draw() {\r\n background(\"darkblue\");\r\n drawSprites();\r\n}\r\n", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"earth\",\r\n \"moon\",\r\n \"satellite\",\r\n \"spaceship\"\r\n ],\r\n \"propsByKey\": {\r\n \"earth\": {\r\n \"name\": \"earth\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/earthbig.png\",\r\n \"sourceSize\": {\r\n \"x\": 500,\r\n \"y\": 500\r\n },\r\n \"frameSize\": {\r\n \"x\": 500,\r\n \"y\": 500\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"moon\": {\r\n \"name\": \"moon\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/moon.png\",\r\n \"sourceSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"satellite\": {\r\n \"name\": \"satellite\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/satellite.png\",\r\n \"sourceSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"spaceship\": {\r\n \"name\": \"spaceship\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/spaceship.png\",\r\n \"sourceSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction space template.level b/dashboard/config/scripts/levels/CSD U3 abstraction space template.level index 09ccff3b639b3..4fe73077762ca 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction space template.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction space template.level @@ -31,7 +31,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_blocks": "// earth sprite\r\nvar earth = createSprite(200, 550);\r\nearth.setAnimation(\"earth\");\r\n\r\n// moon sprite\r\n\r\n// comet sprite\r\n\r\n// spaceship sprite\r\n\r\n// satellite sprite\r\n\r\nfunction draw() {\r\n background(\"darkblue\");\r\n drawSprites();\r\n}\r\n", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"earth\",\r\n \"moon\",\r\n \"satellite\",\r\n \"spaceship\",\r\n \"comet\",\r\n \"astronaut\",\r\n \"star\"\r\n ],\r\n \"propsByKey\": {\r\n \"earth\": {\r\n \"name\": \"earth\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/earthbig.png\",\r\n \"sourceSize\": {\r\n \"x\": 500,\r\n \"y\": 500\r\n },\r\n \"frameSize\": {\r\n \"x\": 500,\r\n \"y\": 500\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"moon\": {\r\n \"name\": \"moon\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/moon.png\",\r\n \"sourceSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"satellite\": {\r\n \"name\": \"satellite\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/satellite.png\",\r\n \"sourceSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"spaceship\": {\r\n \"name\": \"spaceship\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/spaceship.png\",\r\n \"sourceSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"comet\": {\r\n \"name\": \"comet\",\r\n \"sourceUrl\": \"https://images.code.org/b449da443093a6b7fb872c0b65d4ea39-image-1472234725048.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"astronaut\": {\r\n \"name\": \"astronaut\",\r\n \"sourceUrl\": \"https://images.code.org/87f39110a8cec7a6ca1978989f1d8eaf-image-1472235414354.png\",\r\n \"frameSize\": {\r\n \"x\": 60,\r\n \"y\": 67\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"star\": {\r\n \"name\": \"star\",\r\n \"sourceUrl\": \"https://images.code.org/69cb2daab7d1eec824b8bd2d2b117116-image-1472235429548.png\",\r\n \"frameSize\": {\r\n \"x\": 50,\r\n \"y\": 50\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction steer.level b/dashboard/config/scripts/levels/CSD U3 abstraction steer.level index 5eca1c5451867..fb72a72816969 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction steer.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction steer.level @@ -66,7 +66,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_animations": "{\n \"orderedKeys\": [\n \"red_car\"\n ],\n \"propsByKey\": {\n \"red_car\": {\n \"name\": \"red_car\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/red_car.png\",\n \"frameSize\": {\n \"x\": 170,\n \"y\": 76\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "markdown_instructions": "# Steering your car\r\n\r\nNow you have enough information to control your car with the keyboard using conditionals. Every time the left arrow key is pressed, the car will turn to the left. Can you use the `if` block to make the car turn to the right when the right arrow key is pressed? (Don't worry about speeding up and slowing down. You will do that on the next level.)\r\n\r\n# Do This\r\n\r\nInside the draw loop:\r\n* check whether the right arrow key is pressed\r\n* if it's pressed, turn the car to the right\r\n\r\n*Challenge: Can you modify the code so that the car turns faster?*", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction teaser.level b/dashboard/config/scripts/levels/CSD U3 abstraction teaser.level index 06350b5c5ce24..ae84b4d1b19cd 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction teaser.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction teaser.level @@ -198,7 +198,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_blocks": "var moon = createSprite(300, 100);\r\nmoon.setAnimation(\"moon\");\r\nvar satellite = createSprite(300, 30);\r\nsatellite.setAnimation(\"satellite\");\r\nsatellite.rotateToDirection = true;\r\n\r\nvar earth = createSprite(200, 550);\r\nearth.setAnimation(\"earth\");\r\nearth.rotationSpeed = 0.1;\r\n\r\nvar spaceship = createSprite(50,350);\r\nspaceship.setAnimation(\"spaceship\");\r\nspaceship.setSpeed(2, -70);\r\nspaceship.rotateToDirection = true;\r\n\r\n\r\nfunction draw() {\r\n background(\"darkblue\");\r\n satellite.setSpeed(4, satellite.getDirection() + 3);\r\n spaceship.setSpeed(spaceship.getSpeed() + 0.3 , -70);\r\n drawSprites();\r\n}\r\n", "start_animations": "{\n \"orderedKeys\": [\n \"earth\",\n \"moon\",\n \"satellite\",\n \"spaceship\"\n ],\n \"propsByKey\": {\n \"earth\": {\n \"name\": \"earth\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/earthbig.png\",\n \"sourceSize\": {\n \"x\": 500,\n \"y\": 500\n },\n \"frameSize\": {\n \"x\": 500,\n \"y\": 500\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"moon\": {\n \"name\": \"moon\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/moon.png\",\n \"sourceSize\": {\n \"x\": 100,\n \"y\": 100\n },\n \"frameSize\": {\n \"x\": 100,\n \"y\": 100\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"satellite\": {\n \"name\": \"satellite\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/satellite.png\",\n \"sourceSize\": {\n \"x\": 100,\n \"y\": 100\n },\n \"frameSize\": {\n \"x\": 100,\n \"y\": 100\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"spaceship\": {\n \"name\": \"spaceship\",\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/spaceship.png\",\n \"sourceSize\": {\n \"x\": 100,\n \"y\": 100\n },\n \"frameSize\": {\n \"x\": 100,\n \"y\": 100\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "markdown_instructions": "# Space Animation\r\n\r\nLook at the space animation on the left.\r\n\r\n* What sorts of movements are the different sprites making? \r\n* Which types of movement do you already know how to program?\r\n* Is there anything you're not sure how to do? \r\n* Discuss with a partner how you might make this picture.\r\n\r\n# Do This\r\n\r\n* Click \"Run\" to see the space animation.\r\n* With your partner, discuss the different types of movement and how you might code your sprites.\r\n* Fill out the activity guide with your notes on the different movements.", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction tumbleweed.level b/dashboard/config/scripts/levels/CSD U3 abstraction tumbleweed.level index f36ff6be084e6..211630d3b2093 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction tumbleweed.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction tumbleweed.level @@ -66,7 +66,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction velocityX control.level b/dashboard/config/scripts/levels/CSD U3 abstraction velocityX control.level index e5cf87b5ccefa..feb85622b50dd 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction velocityX control.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction velocityX control.level @@ -59,7 +59,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"90338f40-0687-4ee9-9f06-dd83e2115939\",\r\n \"5db33503-6f5b-45d1-b41a-afd66c51f383\"\r\n ],\r\n \"propsByKey\": {\r\n \"90338f40-0687-4ee9-9f06-dd83e2115939\": {\r\n \"name\": \"fishL\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/hPdzRCSfs56XQAZy-xI2LA/90338f40-0687-4ee9-9f06-dd83e2115939.png?version=8nb8nxycvcu2qcmkCZ8XcxMGT40NMhWi\",\r\n \"frameSize\": {\r\n \"x\": 67,\r\n \"y\": 47\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"8nb8nxycvcu2qcmkCZ8XcxMGT40NMhWi\"\r\n },\r\n \"5db33503-6f5b-45d1-b41a-afd66c51f383\": {\r\n \"name\": \"fishR\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/hPdzRCSfs56XQAZy-xI2LA/5db33503-6f5b-45d1-b41a-afd66c51f383.png?version=6FDmNttXHDrwBHb.VOh8QsxPqrnQLYHu\",\r\n \"frameSize\": {\r\n \"x\": 67,\r\n \"y\": 47\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"6FDmNttXHDrwBHb.VOh8QsxPqrnQLYHu\"\r\n }\r\n }\r\n}", "start_blocks": "var fish = createSprite(200, 200);\r\nfish.setAnimation(\"fishR\");\r\n\r\nfunction draw() {\r\n background(\"blue\");\r\n \r\n // if fish reaches left edge, fish stops.\r\n if (fish.x < 0) {\r\n fish.setAnimation(\"fishR\");\r\n }\r\n // if user presses right arrow, fish swims right.\r\n if (keyDown(\"right\")) {\r\n fish.setAnimation(\"fishR\");\r\n }\r\n // if fish reaches right edge, fish swims left.\r\n if (fish.x > 400) {\r\n fish.setAnimation(\"fishL\");\r\n }\r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Multiple Controls\r\n\r\nAs you saw in the last level, you can change the sprite's velocity with multiple `if` statements. In this program, the fish has three different types of movement, each of which should be controlled by its own `if` statement.\r\n\r\n# Do This\r\n* Look at the three `if` statements inside the draw loop.\r\n\r\n* Use a `sprite.velocityX` block inside each `if` statement to make the three following movements:\r\n * If the user presses the right arrow key, move the fish to the right.\r\n * If the fish gets to the right-hand side of the screen, move the fish to the left.\r\n * If the fish gets to the left-hand side of the screen, stop the fish.", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction velocityX if-statements.level b/dashboard/config/scripts/levels/CSD U3 abstraction velocityX if-statements.level index 6be5e571b3ae8..a368e341d9a91 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction velocityX if-statements.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction velocityX if-statements.level @@ -59,7 +59,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"90338f40-0687-4ee9-9f06-dd83e2115939\",\r\n \"5db33503-6f5b-45d1-b41a-afd66c51f383\"\r\n ],\r\n \"propsByKey\": {\r\n \"90338f40-0687-4ee9-9f06-dd83e2115939\": {\r\n \"name\": \"fishL\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/JNYn0OffAhNOHA4j-40C_A/90338f40-0687-4ee9-9f06-dd83e2115939.png?version=VV.PCAkam7SoYl4IeCPJ02u0waHBzXS6\",\r\n \"frameSize\": {\r\n \"x\": 67,\r\n \"y\": 47\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"VV.PCAkam7SoYl4IeCPJ02u0waHBzXS6\"\r\n },\r\n \"5db33503-6f5b-45d1-b41a-afd66c51f383\": {\r\n \"name\": \"fishR\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/JNYn0OffAhNOHA4j-40C_A/5db33503-6f5b-45d1-b41a-afd66c51f383.png?version=LuzxWzbGY3n.z4mfs64aEulC0E1opIfN\",\r\n \"frameSize\": {\r\n \"x\": 67,\r\n \"y\": 47\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"LuzxWzbGY3n.z4mfs64aEulC0E1opIfN\"\r\n }\r\n }\r\n}", "start_blocks": "var fish = createSprite(200, 200);\r\nfish.setAnimation(\"fishR\");\r\nfish.velocityX = 2;\r\n\r\nfunction draw() {\r\n background(\"blue\");\r\n\r\n // if fish reaches left edge, fish moves right.\r\n if (fish.x < 0) {\r\n fish.setAnimation(\"fishR\");\r\n fish.velocityX = 2;\r\n }\r\n // if fish reaches right edge, fish swims left.\r\n if (fish.x > 400) {\r\n fish.setAnimation(\"fishL\");\r\n fish.velocityX = -2;\r\n }\r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Changing Velocity with Position\r\n\r\nOne advantage to using the velocity blocks inside conditionals (`if` blocks) is that your sprite keeps moving, even after the condition stops being true. For example, you only had to press a key once to launch your fly bot, and it kept flying forever.\r\n\r\nIn the code below, the fish sprite moves to the left when it hits the right edge, and to the right when it hits the left edge. The sprite keeps moving, even when it's not touching the edge anymore.\r\n\r\n# Do This\r\n\r\n* Look at `if` statements that check the sprite's position and set its velocity.\r\n* With your partner, discuss how the sprite knows which way to move when neither of the `if` statements are true (the sprite is in the middle of the screen).", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction velocityX.level b/dashboard/config/scripts/levels/CSD U3 abstraction velocityX.level index 360e1fc789479..c50ec7a6fbfd8 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction velocityX.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction velocityX.level @@ -53,7 +53,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"684c155a-f1f0-41e0-bbf3-3c720dafd2cf\"\r\n ],\r\n \"propsByKey\": {\r\n \"684c155a-f1f0-41e0-bbf3-3c720dafd2cf\": {\r\n \"name\": \"orange_fish\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/_P2pNNL5h5fklibSA7Kp4g/684c155a-f1f0-41e0-bbf3-3c720dafd2cf.png?version=AL81enL4T.FoOM2Ke9JPI.7LPm_gZ6nR\",\r\n \"frameSize\": {\r\n \"x\": 128,\r\n \"y\": 128\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"AL81enL4T.FoOM2Ke9JPI.7LPm_gZ6nR\"\r\n }\r\n }\r\n}", "markdown_instructions": "# velocityX\r\n\r\nOne way to move sprites in Game Lab is with the counter pattern. For example `sprite1.x = sprite1.x + 1` moves a sprite by 1 pixel each frame of the draw loop. This pattern is so common that sprites have a `velocityX` property that does this for you.\r\n\r\n# Do This\r\n\r\n* Drag a `sprite.velocityX` block directly below where your sprite is created.       ( [Show me where](#triggercallout=code_triggered) )\r\n* Write the name of your sprite in the block.\r\n* Assign the `velocityX` property a value of 1.\r\n* Run the code. What happens?\r\n* Re-run the code giving the `velocityX` property a different value. What's changing?", "palette_category_at_start": "sprites", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction velocityXY.level b/dashboard/config/scripts/levels/CSD U3 abstraction velocityXY.level index bf10a6195e9cf..d04f68ab2af45 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction velocityXY.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction velocityXY.level @@ -53,7 +53,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"1e5bd142-7929-4076-adbd-aeb45dfdb976\"\r\n ],\r\n \"propsByKey\": {\r\n \"1e5bd142-7929-4076-adbd-aeb45dfdb976\": {\r\n \"name\": \"red_car\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/api/v1/animation-library/x9lA7Z3NW9jxMa2b16K3J90fW_qHAcPx/racing-pack/car_red_5.png\",\r\n \"frameSize\": {\r\n \"x\": 70,\r\n \"y\": 121\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"x9lA7Z3NW9jxMa2b16K3J90fW_qHAcPx\"\r\n }\r\n }\r\n}", "start_blocks": "var car = createSprite(70,300);\r\ncar.setAnimation(\"red_car\");\r\n\r\n\r\nfunction draw() {\r\n background(\"green\");\r\n stroke(\"gray\");\r\n strokeWeight(70);\r\n line(0, 335, 400, 185);\r\n stroke(\"black\");\r\n strokeWeight(5);\r\n line(0, 370, 400, 220);\r\n line(0, 300, 400, 150);\r\n line(0, 335, 80, 305);\r\n line(160, 275, 240, 245);\r\n line(320, 215, 400, 185);\r\n \r\n \r\n drawSprites();\r\n}\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction velocityY 2.level b/dashboard/config/scripts/levels/CSD U3 abstraction velocityY 2.level index cb677302af7e4..557a3f809ac94 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction velocityY 2.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction velocityY 2.level @@ -53,7 +53,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\n \"orderedKeys\": [\n \"feather\"\n ],\n \"propsByKey\": {\n \"feather\": {\n \"name\": \"feather\",\n \"sourceUrl\": \"https://images.code.org/fb739254c4d2f6745977a26e0481162a-image-1470316780326.png\",\n \"frameSize\": {\n \"x\": 100,\n \"y\": 35\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "start_blocks": "var feather = createSprite(200, 50);\r\nfeather.setAnimation(\"feather\");\r\n\r\nfunction draw() {\r\n background(color(\"skyblue\"));\r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# velocityY\r\n\r\n`velocityY` is like `velocityX`, but it moves things up and down. Can you use it to make the feather float the down screen?\r\n\r\n# Do This\r\n\r\nUse `velocityY` to make the sprite go down the screen.   [Show me where](#triggercallout=code_triggered)", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction velocityY control.level b/dashboard/config/scripts/levels/CSD U3 abstraction velocityY control.level index 70fd8638c16ed..9a55b1e7b6336 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction velocityY control.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction velocityY control.level @@ -60,7 +60,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"6d737dc8-7730-4698-bd52-6ddb0b11b714\"\r\n ],\r\n \"propsByKey\": {\r\n \"6d737dc8-7730-4698-bd52-6ddb0b11b714\": {\r\n \"name\": \"flyBot\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/T6Ov8ELOA6HlliJ3S8Q15A/6d737dc8-7730-4698-bd52-6ddb0b11b714.png?version=cWUWICFH1NfHW3DDusUWMcSBBoKsgByO\",\r\n \"frameSize\": {\r\n \"x\": 122,\r\n \"y\": 139\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"cWUWICFH1NfHW3DDusUWMcSBBoKsgByO\"\r\n }\r\n }\r\n}", "start_blocks": "var flyBot = createSprite(200, 350);\r\nflyBot.setAnimation(\"flyBot\");\r\n\r\nfunction draw() {\r\n background(\"skyblue\");\r\n\r\n drawSprites();\r\n}", "markdown_instructions": "# Controlling Speed\r\n\r\nYour code before the draw loop sets up the beginning of your game. Your code inside the draw loop controls how the game will change while it's being played. In this game, the helicopter bot starts off at the bottom of the screen, but when the space key is pressed, it flies up.\r\n\r\n# Do This\r\n\r\n* Use an `if` statement inside the draw loop to check when the space bar is pressed.\r\n* Use the `velocityY` block to make the sprite fly up when the user presses the space bar. The sprite should keep moving up even after you let go of the space bar.", diff --git a/dashboard/config/scripts/levels/CSD U3 abstraction velocityY.level b/dashboard/config/scripts/levels/CSD U3 abstraction velocityY.level index 4c3a595ab248b..8e27b04528c47 100644 --- a/dashboard/config/scripts/levels/CSD U3 abstraction velocityY.level +++ b/dashboard/config/scripts/levels/CSD U3 abstraction velocityY.level @@ -52,7 +52,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"feather\"\r\n ],\r\n \"propsByKey\": {\r\n \"feather\": {\r\n \"name\": \"feather\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/nTo92QM3NIhofT8QIgvaqw/feather.png?version=hxEGpve8ni5Yc_hW6s6rxndWbyEADVMn\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 35\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"hxEGpve8ni5Yc_hW6s6rxndWbyEADVMn\"\r\n }\r\n }\r\n}", "start_blocks": "var feather = createSprite(200, 50);\r\nfeather.setAnimation(\"feather\");\r\n\r\nfunction draw() {\r\n background(\"skyblue\");\r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Moving Down\r\n\r\nHere is a feather sprite that should be floating down the screen. If `velocityX` makes a sprite move to the right, can you find the block that will make the feather move down?\r\n\r\n# Do This\r\n\r\nFind the block that will make the feather sprite go down the screen, and use it outside the draw loop.   ( [Show me where](#triggercallout=code_triggered) )", diff --git a/dashboard/config/scripts/levels/CSD U3 apple template.level b/dashboard/config/scripts/levels/CSD U3 apple template.level index 8442aa991bc84..4d7dbf9666163 100644 --- a/dashboard/config/scripts/levels/CSD U3 apple template.level +++ b/dashboard/config/scripts/levels/CSD U3 apple template.level @@ -31,7 +31,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"3038eefa-a6f4-47be-bf76-ec2c7b4017bd\",\r\n \"9b75d336-7ff1-4c29-86c6-84151efe83b6\"\r\n ],\r\n \"propsByKey\": {\r\n \"3038eefa-a6f4-47be-bf76-ec2c7b4017bd\": {\r\n \"name\": \"apple_red\",\r\n \"sourceUrl\": \"https://studio.code.org/api/v1/animation-library/_C2x10SnwauWvJRCQq.u2jEtcmNrPifb/category_food/apple.png\",\r\n \"frameSize\": {\r\n \"x\": 128,\r\n \"y\": 128\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"_C2x10SnwauWvJRCQq.u2jEtcmNrPifb\"\r\n },\r\n \"9b75d336-7ff1-4c29-86c6-84151efe83b6\": {\r\n \"name\": \"apple_green\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/v2dh279HjPJke_CRFZ_d4w/9b75d336-7ff1-4c29-86c6-84151efe83b6.png\",\r\n \"frameSize\": {\r\n \"x\": 128,\r\n \"y\": 128\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 4,\r\n \"version\": \"N03OMpLXSTdFx517BfCx.vpi13KnDxfe\"\r\n }\r\n }\r\n}", "instructions_important": "false", "hide_share_and_remix": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 challenge face.level b/dashboard/config/scripts/levels/CSD U3 challenge face.level index 92a3e80494463..291bf2ec26d50 100644 --- a/dashboard/config/scripts/levels/CSD U3 challenge face.level +++ b/dashboard/config/scripts/levels/CSD U3 challenge face.level @@ -61,7 +61,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "callout_json": "[]", "markdown_instructions": "\r\n# Challenge: Face\r\n\r\n_Check with your teacher before starting any of the challenges._\r\n\r\nWrite a program that uses `rect`, `ellipse`, and `fill` to create the face on the right. The colors used are \"lightblue\", \"red\", and \"lightgreen\".\r\nOnce you've finished, add your own personal touches to the image.\r\n\r\n\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 challenge new shape.level b/dashboard/config/scripts/levels/CSD U3 challenge new shape.level index bf9bb278818f4..57f1d20e10b45 100644 --- a/dashboard/config/scripts/levels/CSD U3 challenge new shape.level +++ b/dashboard/config/scripts/levels/CSD U3 challenge new shape.level @@ -61,7 +61,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "callout_json": "[]", "markdown_instructions": "\r\n\r\n# Challenge: Shape of Shapes\r\n\r\n_Check with your teacher before starting any of the challenges._\r\n\r\nUsing only the `rect` and `ellipse` commands, can you draw a new shape, such as this triangle made out of circles?", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions bounce birds.level b/dashboard/config/scripts/levels/CSD U3 collisions bounce birds.level index 71e66830d358c..a75dc79003b72 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions bounce birds.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions bounce birds.level @@ -201,7 +201,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\n \"orderedKeys\": [\n \"green_bird\",\n \"blue_bird\",\n \"red_bird\",\n \"yellow_bird\"\n ],\n \"propsByKey\": {\n \"green_bird\": {\n \"name\": \"green_bird\",\n \"sourceUrl\": \"https://images.code.org/3d8f3eb05443109778e70a7f4cb4981d-image-1470945503512.png\",\n \"frameSize\": {\n \"x\": 100,\n \"y\": 113\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"blue_bird\": {\n \"name\": \"blue_bird\",\n \"sourceUrl\": \"https://images.code.org/2ac03b09ea8822dd4f5939ee77e3bb07-image-1470945503510.png\",\n \"frameSize\": {\n \"x\": 100,\n \"y\": 113\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"red_bird\": {\n \"name\": \"red_bird\",\n \"sourceUrl\": \"https://images.code.org/a2a03c7910c6c3566749417b8d72ba5f-image-1470945503513.png\",\n \"frameSize\": {\n \"x\": 100,\n \"y\": 113\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"yellow_bird\": {\n \"name\": \"yellow_bird\",\n \"sourceUrl\": \"https://images.code.org/a90028bb8fd89c38fcb3ad7e24e903c8-image-1470945503513.png\",\n \"frameSize\": {\n \"x\": 100,\n \"y\": 113\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions bounce intro.level b/dashboard/config/scripts/levels/CSD U3 collisions bounce intro.level index cbec6e56fa6d9..ea941c9ba0d3e 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions bounce intro.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions bounce intro.level @@ -56,7 +56,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\n \"orderedKeys\": [\n \"green_bird\",\n \"blue_bird\",\n \"red_bird\",\n \"yellow_bird\"\n ],\n \"propsByKey\": {\n \"green_bird\": {\n \"name\": \"green_bird\",\n \"sourceUrl\": \"https://images.code.org/3d8f3eb05443109778e70a7f4cb4981d-image-1470945503512.png\",\n \"frameSize\": {\n \"x\": 100,\n \"y\": 113\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"blue_bird\": {\n \"name\": \"blue_bird\",\n \"sourceUrl\": \"https://images.code.org/2ac03b09ea8822dd4f5939ee77e3bb07-image-1470945503510.png\",\n \"frameSize\": {\n \"x\": 100,\n \"y\": 113\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"red_bird\": {\n \"name\": \"red_bird\",\n \"sourceUrl\": \"https://images.code.org/a2a03c7910c6c3566749417b8d72ba5f-image-1470945503513.png\",\n \"frameSize\": {\n \"x\": 100,\n \"y\": 113\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"yellow_bird\": {\n \"name\": \"yellow_bird\",\n \"sourceUrl\": \"https://images.code.org/a90028bb8fd89c38fcb3ad7e24e903c8-image-1470945503513.png\",\n \"frameSize\": {\n \"x\": 100,\n \"y\": 113\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "start_blocks": "var red_bird = createSprite(0, 200);\r\nred_bird.setAnimation(\"red_bird\");\r\nred_bird.velocityX = 3;\r\n\r\nvar blue_bird = createSprite(125, 200);\r\nblue_bird.setAnimation(\"blue_bird\");\r\n\r\nvar yellow_bird = createSprite(375, 200);\r\nyellow_bird.setAnimation(\"yellow_bird\");\r\n\r\nvar green_bird = createSprite(250, 200);\r\ngreen_bird.setAnimation(\"green_bird\");\r\n\r\nfunction draw() {\r\n red_bird.bounce(blue_bird);\r\n blue_bird.bounce(green_bird);\r\n \r\n background(\"skyblue\");\r\n strokeWeight(15);\r\n stroke(\"gray\");\r\n line(0,260,400,260);\r\n drawSprites();\r\n \r\n}\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions bounce.level b/dashboard/config/scripts/levels/CSD U3 collisions bounce.level index 961ad104819c4..5c1207fc1f294 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions bounce.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions bounce.level @@ -56,7 +56,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\n \"orderedKeys\": [\n \"purple_ball\",\n \"red_ball\"\n ],\n \"propsByKey\": {\n \"purple_ball\": {\n \"name\": \"purple_ball\",\n \"sourceUrl\": \"https://images.code.org/8b7730146eaa9d439e6af34c0a21e802-image-1470321391887.png\",\n \"frameSize\": {\n \"x\": 60,\n \"y\": 60\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"red_ball\": {\n \"name\": \"red_ball\",\n \"sourceUrl\": \"https://images.code.org/eca470a686b01c19981152fdab808804-image-1470321391888.png\",\n \"frameSize\": {\n \"x\": 60,\n \"y\": 60\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "start_blocks": "var purple_ball = createSprite(50,200);\r\npurple_ball.setAnimation(\"purple_ball\");\r\npurple_ball.rotationSpeed = 3;\r\npurple_ball.velocityX = 2;\r\n\r\nvar red_ball = createSprite(350,200);\r\nred_ball.setAnimation(\"red_ball\");\r\nred_ball.rotationSpeed = 3;\r\nred_ball.velocityX = -2;\r\n\r\nfunction draw() {\r\n // \r\n purple_ball.bounce(red_ball);\r\n \r\n background(\"darkgreen\");\r\n drawSprites();\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions bounceOff intro.level b/dashboard/config/scripts/levels/CSD U3 collisions bounceOff intro.level index 47d95bdee56eb..f9a22dfc73d4a 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions bounceOff intro.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions bounceOff intro.level @@ -49,7 +49,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\n \"orderedKeys\": [\n \"basketball\",\n \"floor\"\n ],\n \"propsByKey\": {\n \"basketball\": {\n \"name\": \"basketball\",\n \"sourceUrl\": \"https://images.code.org/24355fc6377cfafdce3ce2b3568a33c3-image-1470343728940.png\",\n \"frameSize\": {\n \"x\": 100,\n \"y\": 100\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"floor\": {\n \"name\": \"floor\",\n \"sourceUrl\": \"https://images.code.org/87e4306e0371c7975b8fb2583657ee4a-image-1470343728942.png\",\n \"frameSize\": {\n \"x\": 400,\n \"y\": 50\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "start_blocks": "var basketball = createSprite(200, 0);\r\nbasketball.setAnimation(\"basketball\");\r\nbasketball.velocityY = 5;\r\n\r\nvar wood = createSprite(200, 375);\r\nwood.setAnimation(\"floor\");\r\n\r\n\r\nfunction draw() {\r\n basketball.bounce(wood);\r\n \r\n background(\"skyblue\");\r\n drawSprites();\r\n}\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions bounceOff.level b/dashboard/config/scripts/levels/CSD U3 collisions bounceOff.level index 9c6157bf6cefc..f3ec75873ec6d 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions bounceOff.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions bounceOff.level @@ -200,7 +200,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "pause_animations_by_default": "false", "start_animations": "{\n \"orderedKeys\": [\n \"mouse\",\n \"left_wall\",\n \"right_wall\"\n ],\n \"propsByKey\": {\n \"mouse\": {\n \"name\": \"mouse\",\n \"sourceUrl\": \"https://images.code.org/c3f6298b05a9eb51772c8c03a06abe54-image-1470414415864.png\",\n \"frameSize\": {\n \"x\": 100,\n \"y\": 40\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"left_wall\": {\n \"name\": \"left_wall\",\n \"sourceUrl\": \"https://images.code.org/fcd40235d2a4285723eecec1df041edc-image-1470413965009.png\",\n \"frameSize\": {\n \"x\": 100,\n \"y\": 400\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"right_wall\": {\n \"name\": \"right_wall\",\n \"sourceUrl\": \"https://images.code.org/e89b80c63658eb3607478fe91aceda47-image-1470414741858.png\",\n \"frameSize\": {\n \"x\": 100,\n \"y\": 400\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions bounciness.level b/dashboard/config/scripts/levels/CSD U3 collisions bounciness.level index f81afdffc7a11..9774f1b226050 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions bounciness.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions bounciness.level @@ -59,7 +59,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"basketball\", \"soccerBall\", \"poolBall\",\r\n \"floor\"\r\n ],\r\n \"propsByKey\": {\r\n \"basketball\": {\r\n \"name\": \"basketball\",\r\n \"sourceUrl\": \"https://images.code.org/24355fc6377cfafdce3ce2b3568a33c3-image-1470343728940.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"soccerBall\": {\r\n \"name\": \"soccerball\",\r\n \"sourceUrl\": \"https://images.code.org/0e4e9c26bed0d31d14f6b3f8f8bb4c27-image-1475786966986.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"poolBall\": {\r\n \t\"name\": \"poolball\",\r\n \t\t\"sourceUrl\": \"https://images.code.org/32cc2c3febcd7b0e7755723a5ab855e6-image-1471986541641.png\",\r\n \t\t\"frameSize\": {\"x\":60, \"y\": 60},\r\n \t\t\"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"floor\": {\r\n \"name\": \"floor\",\r\n \"sourceUrl\": \"https://images.code.org/87e4306e0371c7975b8fb2583657ee4a-image-1470343728942.png\",\r\n \"frameSize\": {\r\n \"x\": 400,\r\n \"y\": 50\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", "start_blocks": "var basketball = createSprite(100, 0);\r\nbasketball.setAnimation(\"basketball\");\r\nbasketball.bounciness = 0.8;\r\n\r\nvar soccerball = createSprite(225, 0);\r\nsoccerball.setAnimation(\"soccerball\");\r\n\r\nvar poolball = createSprite(325, 0);\r\npoolball.setAnimation(\"poolball\");\r\npoolball.bounciness = 0.4;\r\n\r\nvar wood = createSprite(200, 375);\r\nwood.setAnimation(\"floor\");\r\n\r\n\r\nfunction draw() {\r\n background(\"skyblue\");\r\n \r\n basketball.bounceOff(wood);\r\n soccerball.bounceOff(wood);\r\n poolball.bounceOff(wood);\r\n \r\n basketball.velocityY = basketball.velocityY + 0.2;\r\n soccerball.velocityY = soccerball.velocityY + 0.2;\r\n poolball.velocityY = poolball.velocityY + 0.2;\r\n \r\n drawSprites();\r\n}\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions build isTouching.level b/dashboard/config/scripts/levels/CSD U3 collisions build isTouching.level index d967172002fef..ab3595c1c2474 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions build isTouching.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions build isTouching.level @@ -61,7 +61,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"balloon\",\r\n \"tack\",\r\n \"popped\"\r\n ],\r\n \"propsByKey\": {\r\n \"balloon\": {\r\n \"name\": \"balloon\",\r\n \"sourceUrl\": \"https://images.code.org/7afe11fccea99cd7f31497710cce5ac3-image-1471190004988.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 135\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"tack\": {\r\n \"name\": \"tack\",\r\n \"sourceUrl\": \"https://images.code.org/0b6e98b829379d88b9952ee013cf70bd-image-1471190009596.png\",\r\n \"frameSize\": {\r\n \"x\": 50,\r\n \"y\": 66\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"popped\": {\r\n \"name\": \"popped\",\r\n \"sourceUrl\": \"https://images.code.org/49c7a3b6fe2eff7e51d3f40581b1dcbb-image-1471190256258.png\",\r\n \"frameSize\": {\r\n \"x\": 173,\r\n \"y\": 135\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions bumper.level b/dashboard/config/scripts/levels/CSD U3 collisions bumper.level index 32f79dfbe8d74..ce69da495582b 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions bumper.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions bumper.level @@ -71,7 +71,7 @@ "free_play": "false", "text_mode_at_start": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"green_car\",\r\n \"red_car\"\r\n ],\r\n \"propsByKey\": {\r\n \"green_car\": {\r\n \"name\": \"green_car\",\r\n \"sourceUrl\": \"https://images.code.org/0b9f5ca88dc99fc08d472fdba87d6e32-image-1470417254115.png\",\r\n \"frameSize\": {\r\n \"x\": 60,\r\n \"y\": 30\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"red_car\": {\r\n \"name\": \"red_car\",\r\n \"sourceUrl\": \"https://images.code.org/2085e5de29f7170465b0c7bd5e6b56e9-image-1470417254116.png\",\r\n \"frameSize\": {\r\n \"x\": 60,\r\n \"y\": 30\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions car intro.level b/dashboard/config/scripts/levels/CSD U3 collisions car intro.level index 43635bbb19832..9083e19ba8337 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions car intro.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions car intro.level @@ -199,7 +199,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"91f10853-18cd-4566-b11e-e0ec3a42b694\",\r\n \"835b990e-3801-47b7-a12e-5c0979be890e\"\r\n ],\r\n \"propsByKey\": {\r\n \"91f10853-18cd-4566-b11e-e0ec3a42b694\": {\r\n \"name\": \"frog\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/bxS7XEWi1VaoTNG6cCQcDA/91f10853-18cd-4566-b11e-e0ec3a42b694.png?version=RRKaOh.vyil2LwCZ9PFimdAdmbwLmbTX\",\r\n \"frameSize\": {\r\n \"x\": 104,\r\n \"y\": 70\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"RRKaOh.vyil2LwCZ9PFimdAdmbwLmbTX\"\r\n },\r\n \"835b990e-3801-47b7-a12e-5c0979be890e\": {\r\n \"name\": \"mushroom\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/bxS7XEWi1VaoTNG6cCQcDA/835b990e-3801-47b7-a12e-5c0979be890e.png?version=Di9TFsxRE2sotd3Kh0HrTFu4SUaJFwaN\",\r\n \"frameSize\": {\r\n \"x\": 60,\r\n \"y\": 63\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"Di9TFsxRE2sotd3Kh0HrTFu4SUaJFwaN\"\r\n }\r\n }\r\n}", "markdown_instructions": "# Frog Jump\r\n\r\nLook at the frog jumping game to the left. It looks like the game from the last lesson, but the frog moves the mushroom if it hits it. What code do you think would help the computer to know whether two sprites are touching?\r\n\r\n[//]: # (https://images.code.org/ee9b677e93213846fe12abb3b34f563c-image-1469742494237.png)\r\n\r\n[//]: # (https://images.code.org/5f738da1a2b1ef8af124e4470e2babe7-image-1469742830481.png)\r\n\r\n[//]: # (https://images.code.org/f22e6b1a636337820e53fb37a137b3d1-image-1469742992179.png)", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions car.level b/dashboard/config/scripts/levels/CSD U3 collisions car.level index 4a2b752d7af6f..a882370edc1ae 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions car.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions car.level @@ -69,7 +69,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"red_car\",\r\n \"orange_cone\"\r\n ],\r\n \"propsByKey\": {\r\n \"red_car\": {\r\n \"name\": \"red_car\",\r\n \"sourceUrl\": \"https://images.code.org/5f738da1a2b1ef8af124e4470e2babe7-image-1469742830481.png\",\r\n \"frameSize\": {\r\n \"x\": 50,\r\n \"y\": 50\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"orange_cone\": {\r\n \"name\": \"orange_cone\",\r\n \"sourceUrl\": \"https://images.code.org/f22e6b1a636337820e53fb37a137b3d1-image-1469742992179.png\",\r\n \"frameSize\": {\r\n \"x\": 35,\r\n \"y\": 35\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", "markdown_instructions": "# Improve Your Game\r\n\r\nNow that you know how to use `isTouching` and `playSound`, you can make some fun things happen when your sprites run into each other.\r\n\r\n# Do This\r\n\r\nUse the `if`, `isTouching`, `playsound`, and any other blocks you want to add effects when your sprites collide. You should have at least two effects.\r\n\r\n_Challenge: Can you add a score board to the top of the screen? How would your game keep score, and how would the score be displayed?_", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions collide.level b/dashboard/config/scripts/levels/CSD U3 collisions collide.level index f7675ce2efa56..3210a82c1714c 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions collide.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions collide.level @@ -55,7 +55,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"pirate\",\r\n \"treasure\",\r\n \"wall\"\r\n ],\r\n \"propsByKey\": {\r\n \"pirate\": {\r\n \"name\": \"pirate\",\r\n \"sourceUrl\": \"https://images.code.org/8f7ec18621c97ce98d22337a1e21ddab-image-1470944619234.png\",\r\n \"frameSize\": {\r\n \"x\": 62,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"treasure\": {\r\n \"name\": \"treasure\",\r\n \"sourceUrl\": \"https://images.code.org/6b749a05857ea1e88fa46f7e2740c77c-image-1470944619235.png\",\r\n \"frameSize\": {\r\n \"x\": 75,\r\n \"y\": 71\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"wall\": {\r\n \"name\": \"wall\",\r\n \"sourceUrl\": \"https://images.code.org/04a7b28f7228570602238fed87420aab-image-1470944619236.png\",\r\n \"frameSize\": {\r\n \"x\": 400,\r\n \"y\": 83\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions debug isTouching.level b/dashboard/config/scripts/levels/CSD U3 collisions debug isTouching.level index 887f75642e6f8..5b6dc1ddbaa99 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions debug isTouching.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions debug isTouching.level @@ -52,7 +52,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"balloon\",\r\n \"tack\",\r\n \"popped\"\r\n ],\r\n \"propsByKey\": {\r\n \"balloon\": {\r\n \"name\": \"balloon\",\r\n \"sourceUrl\": \"https://images.code.org/2892e65635d7a43d0664bb8ff58eb698-image-1471200175665.png\",\r\n \"frameSize\": {\r\n \"x\": 200,\r\n \"y\": 270\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"tack\": {\r\n \"name\": \"tack\",\r\n \"sourceUrl\": \"https://images.code.org/0b6e98b829379d88b9952ee013cf70bd-image-1471190009596.png\",\r\n \"frameSize\": {\r\n \"x\": 50,\r\n \"y\": 66\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"popped\": {\r\n \"name\": \"popped\",\r\n \"sourceUrl\": \"https://images.code.org/49c7a3b6fe2eff7e51d3f40581b1dcbb-image-1471190256258.png\",\r\n \"frameSize\": {\r\n \"x\": 173,\r\n \"y\": 135\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions debug.level b/dashboard/config/scripts/levels/CSD U3 collisions debug.level index 1e3548f0ad760..04f8da3e76bf9 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions debug.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions debug.level @@ -57,7 +57,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"1bc96d65-d668-4bd9-91ff-bb12b6c0a294\",\r\n \"9fb18f3c-2689-4ec9-8477-7d3bc55a3ab0\"\r\n ],\r\n \"propsByKey\": {\r\n \"1bc96d65-d668-4bd9-91ff-bb12b6c0a294\": {\r\n \"name\": \"gold_coin\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/wwW5o1Hb_ErTpOmKUE4hxg/1bc96d65-d668-4bd9-91ff-bb12b6c0a294.png?version=P55FgWIUNXsFJNxJ0yC7AkqcGfTU6s5J\",\r\n \"frameSize\": {\r\n \"x\": 61,\r\n \"y\": 61\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"P55FgWIUNXsFJNxJ0yC7AkqcGfTU6s5J\"\r\n },\r\n \"9fb18f3c-2689-4ec9-8477-7d3bc55a3ab0\": {\r\n \"name\": \"silver_coin\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/wwW5o1Hb_ErTpOmKUE4hxg/9fb18f3c-2689-4ec9-8477-7d3bc55a3ab0.png?version=GHOSXldlBh_adxPcBtaG3hTadwBXr_8v\",\r\n \"frameSize\": {\r\n \"x\": 61,\r\n \"y\": 61\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"GHOSXldlBh_adxPcBtaG3hTadwBXr_8v\"\r\n }\r\n }\r\n}", "start_blocks": "// Create Gold Coin\r\nvar goldCoin = createSprite(49,50);\r\ngoldCoin.setAnimation(\"gold_coin\");\r\ngoldCoin.velocityX = 2;\r\ngoldCoin.velocityY = 2;\r\ngoldCoin.debug = false;\r\n\r\n// Create Silver Coin\r\nvar silverCoin = createSprite(350,350);\r\nsilverCoin.setAnimation(\"silver_coin\");\r\nsilverCoin.velocityX = -2;\r\nsilverCoin.velocityY = -2;\r\nsilverCoin.debug = false;\r\n\r\nfunction draw() {\r\n background(\"darkgreen\");\r\n\r\n // Sprite Interactions\r\n goldCoin.bounce(silverCoin);\r\n \r\n drawSprites();\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions displace intro.level b/dashboard/config/scripts/levels/CSD U3 collisions displace intro.level index c8cd36bbb0bf4..159165b81004f 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions displace intro.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions displace intro.level @@ -47,7 +47,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"8e2c3f03-8036-4396-b4cb-37dbb109b09e\",\r\n \"4ebdd257-efc8-49b1-adb0-6453b75f53cd\"\r\n ],\r\n \"propsByKey\": {\r\n \"8e2c3f03-8036-4396-b4cb-37dbb109b09e\": {\r\n \"name\": \"elephant\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/TIthfQz28o2STLL2IQttgg/8e2c3f03-8036-4396-b4cb-37dbb109b09e.png?version=UGpeq8HMZQ9DBoi9wvcMdvHpnrtlR6UB\",\r\n \"frameSize\": {\r\n \"x\": 348,\r\n \"y\": 282\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"UGpeq8HMZQ9DBoi9wvcMdvHpnrtlR6UB\"\r\n },\r\n \"4ebdd257-efc8-49b1-adb0-6453b75f53cd\": {\r\n \"name\": \"hippo\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/TIthfQz28o2STLL2IQttgg/4ebdd257-efc8-49b1-adb0-6453b75f53cd.png?version=AvFBjN2AGXKiAvOtWeiK.tVA0S1faoYO\",\r\n \"frameSize\": {\r\n \"x\": 264,\r\n \"y\": 264\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"AvFBjN2AGXKiAvOtWeiK.tVA0S1faoYO\"\r\n }\r\n }\r\n}", "start_blocks": "// Create elephant sprite\r\nvar elephant = createSprite(200, 350);\r\nelephant.setAnimation(\"elephant\");\r\nelephant.scale = 0.5;\r\nelephant.velocityY = randomNumber(-3,-1);\r\n\r\n// Create hippo sprite\r\nvar hippo = createSprite(200,50);\r\nhippo.setAnimation(\"hippo\");\r\nhippo.scale = 0.5;\r\nhippo.velocityY = randomNumber(1,3);\r\n\r\nfunction draw(){\r\n // Draw background\r\n background(\"white\");\r\n \r\n // Update Sprites\r\n hippo.displace(elephant);\r\n \r\n drawSprites();\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions displace x.level b/dashboard/config/scripts/levels/CSD U3 collisions displace x.level index aaca39d766668..127c314d264b6 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions displace x.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions displace x.level @@ -48,7 +48,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"fe854804-5fd4-4809-93c0-22d4581bb12a\",\r\n \"f90dbd53-efbc-4f2e-8405-41e70497283c\"\r\n ],\r\n \"propsByKey\": {\r\n \"fe854804-5fd4-4809-93c0-22d4581bb12a\": {\r\n \"name\": \"monkey\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/wbpAYyDdSG5buZnNT3G8JA/fe854804-5fd4-4809-93c0-22d4581bb12a.png?version=IW6vuCfhO1rXM6MShIbuQkMql.HJkSWP\",\r\n \"frameSize\": {\r\n \"x\": 308,\r\n \"y\": 257\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"IW6vuCfhO1rXM6MShIbuQkMql.HJkSWP\"\r\n },\r\n \"f90dbd53-efbc-4f2e-8405-41e70497283c\": {\r\n \"name\": \"giraffe\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/wbpAYyDdSG5buZnNT3G8JA/f90dbd53-efbc-4f2e-8405-41e70497283c.png?version=fVxRoBo571aNdW847dQeIv.254C9.fCb\",\r\n \"frameSize\": {\r\n \"x\": 306,\r\n \"y\": 322\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"fVxRoBo571aNdW847dQeIv.254C9.fCb\"\r\n }\r\n }\r\n}", "start_blocks": "// Create giraffe sprite\r\nvar giraffe = createSprite(30,200);\r\ngiraffe.setAnimation(\"giraffe\");\r\ngiraffe.velocityX = 1;\r\ngiraffe.scale = 0.3;\r\n\r\n// Create monkey sprite\r\nvar monkey = createSprite(300,200);\r\nmonkey.setAnimation(\"monkey\");\r\nmonkey.scale = 0.3;\r\n\r\nfunction draw(){\r\n // Draw background\r\n background(\"white\");\r\n \r\n // Update Sprites\r\n\r\n \r\n drawSprites();\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions displace y.level b/dashboard/config/scripts/levels/CSD U3 collisions displace y.level index 6914b6c4f0781..f2bbaec625873 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions displace y.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions displace y.level @@ -51,7 +51,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"8e2c3f03-8036-4396-b4cb-37dbb109b09e\",\r\n \"4ebdd257-efc8-49b1-adb0-6453b75f53cd\"\r\n ],\r\n \"propsByKey\": {\r\n \"8e2c3f03-8036-4396-b4cb-37dbb109b09e\": {\r\n \"name\": \"elephant\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/TIthfQz28o2STLL2IQttgg/8e2c3f03-8036-4396-b4cb-37dbb109b09e.png?version=UGpeq8HMZQ9DBoi9wvcMdvHpnrtlR6UB\",\r\n \"frameSize\": {\r\n \"x\": 348,\r\n \"y\": 282\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"UGpeq8HMZQ9DBoi9wvcMdvHpnrtlR6UB\"\r\n },\r\n \"4ebdd257-efc8-49b1-adb0-6453b75f53cd\": {\r\n \"name\": \"hippo\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/TIthfQz28o2STLL2IQttgg/4ebdd257-efc8-49b1-adb0-6453b75f53cd.png?version=AvFBjN2AGXKiAvOtWeiK.tVA0S1faoYO\",\r\n \"frameSize\": {\r\n \"x\": 264,\r\n \"y\": 264\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"AvFBjN2AGXKiAvOtWeiK.tVA0S1faoYO\"\r\n }\r\n }\r\n}", "start_blocks": "// Create elephant sprite\r\nvar elephant = createSprite(200, 400);\r\nelephant.setAnimation(\"elephant\");\r\nelephant.scale = 0.5;\r\nelephant.velocityY = randomNumber(-3,-1);\r\n\r\n// Create hippo sprite\r\nvar hippo = createSprite(200,100);\r\nhippo.setAnimation(\"hippo\");\r\nhippo.scale = 0.5;\r\n\r\nfunction draw(){\r\n // Draw background\r\n background(\"white\");\r\n \r\n // Update Sprites\r\n\r\n \r\n drawSprites();\r\n}\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions egg template.level b/dashboard/config/scripts/levels/CSD U3 collisions egg template.level index d4928949d47cf..4240ecce65138 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions egg template.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions egg template.level @@ -32,7 +32,7 @@ "text_mode_at_start": "false", "hide_animation_mode": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"33abeb33-4d74-48ad-958a-8fe0ca059aef\",\r\n \"c680e284-3529-4a3f-9a0d-7b65bf9dff17\"\r\n ],\r\n \"propsByKey\": {\r\n \"33abeb33-4d74-48ad-958a-8fe0ca059aef\": {\r\n \"name\": \"blender\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/Ry9L40IAPQb_SBIhQoEEEg/33abeb33-4d74-48ad-958a-8fe0ca059aef.png?version=JEBesmONW8evB2Ly4opA_lv3fhwrjB4S\",\r\n \"frameSize\": {\r\n \"x\": 88,\r\n \"y\": 134\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"JEBesmONW8evB2Ly4opA_lv3fhwrjB4S\"\r\n },\r\n \"c680e284-3529-4a3f-9a0d-7b65bf9dff17\": {\r\n \"name\": \"apple\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/Ry9L40IAPQb_SBIhQoEEEg/c680e284-3529-4a3f-9a0d-7b65bf9dff17.png?version=97qBNp.sfx0CANl37kuXZKGfFkJZpaeY\",\r\n \"frameSize\": {\r\n \"x\": 40,\r\n \"y\": 44\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"97qBNp.sfx0CANl37kuXZKGfFkJZpaeY\"\r\n }\r\n }\r\n}", "start_blocks": "var apple = createSprite(200, -50);\r\napple.setAnimation(\"apple\");\r\napple.velocityY = 5;\r\n\r\nvar blender = createSprite(200, 300);\r\nblender.setAnimation(\"blender\");\r\n\r\n\r\nfunction draw() {\r\n if (__) {\r\n blender.x = 200 + randomNumber(-5,5);\r\n }\r\n\r\n\r\n background(\"skyblue\");\r\n strokeWeight(0);\r\n fill(\"sienna\");\r\n rect(0, 340, 400, 60);\r\n \r\n drawSprites();\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions egg.level b/dashboard/config/scripts/levels/CSD U3 collisions egg.level index d4b8be0037377..e5066658e024c 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions egg.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions egg.level @@ -50,7 +50,7 @@ "text_mode_at_start": "false", "hide_animation_mode": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_blocks": "var pan = createSprite(230, 350);\r\npan.setAnimation(\"pan\");\r\n\r\nvar egg = createSprite(200, -50);\r\negg.setAnimation(\"egg\");\r\negg.velocityY = 5;\r\n\r\nvar friedEgg = createSprite(185, 355);\r\nfriedEgg.setAnimation(\"fried_egg\");\r\nfriedEgg.visible = false;\r\n\r\nfunction draw() {\r\n if (__) {\r\n friedEgg.visible = true;\r\n }\r\n\r\n\r\n background(\"skyblue\");\r\n strokeWeight(0);\r\n fill(\"sienna\");\r\n rect(0, 340, 400, 60);\r\n \r\n drawSprites();\r\n}\r\n", "palette_category_at_start": "sprites", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions egg2.level b/dashboard/config/scripts/levels/CSD U3 collisions egg2.level index 461424d9c8089..f6448da62e0df 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions egg2.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions egg2.level @@ -59,7 +59,7 @@ "text_mode_at_start": "false", "hide_animation_mode": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"33abeb33-4d74-48ad-958a-8fe0ca059aef\",\r\n \"c680e284-3529-4a3f-9a0d-7b65bf9dff17\"\r\n ],\r\n \"propsByKey\": {\r\n \"33abeb33-4d74-48ad-958a-8fe0ca059aef\": {\r\n \"name\": \"blender\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/aLECcHtDU77o8Q8CNfnEOw/33abeb33-4d74-48ad-958a-8fe0ca059aef.png?version=FODKOHI0aS0tXVyo3zthX_L5c9_EMyaW\",\r\n \"frameSize\": {\r\n \"x\": 88,\r\n \"y\": 134\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"FODKOHI0aS0tXVyo3zthX_L5c9_EMyaW\"\r\n },\r\n \"c680e284-3529-4a3f-9a0d-7b65bf9dff17\": {\r\n \"name\": \"apple\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/aLECcHtDU77o8Q8CNfnEOw/c680e284-3529-4a3f-9a0d-7b65bf9dff17.png?version=n.q3G0EyEE2.swNed33C7sjvWZ42AHWE\",\r\n \"frameSize\": {\r\n \"x\": 40,\r\n \"y\": 44\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"n.q3G0EyEE2.swNed33C7sjvWZ42AHWE\"\r\n }\r\n }\r\n}", "start_blocks": "var apple = createSprite(200, -50);\r\napple.setAnimation(\"apple\");\r\napple.velocityY = 5;\r\n\r\nvar blender = createSprite(200, 300);\r\nblender.setAnimation(\"blender\");\r\n\r\n\r\nfunction draw() {\r\n if (__) {\r\n blender.x = 200 + randomNumber(-5,5);\r\n }\r\n\r\n\r\n background(\"skyblue\");\r\n strokeWeight(0);\r\n fill(\"sienna\");\r\n rect(0, 340, 400, 60);\r\n \r\n drawSprites();\r\n}\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions flyman add obstacles.level b/dashboard/config/scripts/levels/CSD U3 collisions flyman add obstacles.level index b9d15dbaceb2a..81485c8cff662 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions flyman add obstacles.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions flyman add obstacles.level @@ -68,7 +68,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\"\r\n ],\r\n \"propsByKey\": {\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\": {\r\n \"name\": \"flyer\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/fbVVJ87HfqNVLZl16J52ZQ/76bca46f-40e6-4ab2-9dd1-719631602575.png?version=ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\",\r\n \"frameSize\": {\r\n \"x\": 40,\r\n \"y\": 46\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\"\r\n }\r\n }\r\n}", "start_blocks": "var flyer = createSprite(200, 200);\r\nflyer.setAnimation(\"flyer\");\r\n\r\nfunction draw() {\r\n background(\"blue\");\r\n \r\n // Simulating Gravity\r\n flyer.velocityY = flyer.velocityY + 0.1;\r\n \r\n // update sprites\r\n \r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Flyer Game - Add Obstacle\r\n\r\nThis is the flyer game you built in the last lesson. For the next several levels, you'll be adding an obstacle sprite to the game, using some of the sprite interactions you just learned. At the end you'll have a chance to keep adding on ideas of your own.\r\n\r\n\r\n\r\n# Do This\r\n\r\nAdd an obstacle sprite to the game. You can use whatever image you like from the animation tab but the example shown here uses a sun. Right now you just need to add the sprite to your game and give it an animation.\r\n\r\n* Add a new sprite to your game called \"obstacle\".\r\n* In the animation tab create a new animation for your obstacle. In the example a sun image was chosen.\r\n* Use the `sprite.setAnimation()` block to give your sprite the image you chose.\r\n* Run the code and make sure the sprite appears where you want it on the screen. You may need to set its X, Y, and scale properties to get it to look the way you want.", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions flyman bounceOff.level b/dashboard/config/scripts/levels/CSD U3 collisions flyman bounceOff.level index 1031110e61b8f..5d7c236a51232 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions flyman bounceOff.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions flyman bounceOff.level @@ -67,7 +67,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\"\r\n ],\r\n \"propsByKey\": {\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\": {\r\n \"name\": \"flyer\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/fbVVJ87HfqNVLZl16J52ZQ/76bca46f-40e6-4ab2-9dd1-719631602575.png?version=ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\",\r\n \"frameSize\": {\r\n \"x\": 40,\r\n \"y\": 46\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\"\r\n }\r\n }\r\n}", "start_blocks": "var flyer = createSprite(200, 200);\r\nflyer.setAnimation(\"flyer\");\r\n\r\nfunction draw() {\r\n background(\"blue\");\r\n \r\n // Simulating Gravity\r\n flyer.velocityY = flyer.velocityY + 0.1;\r\n \r\n // update sprites\r\n \r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Flyer Game - Interacting with the Obstacle\r\n\r\nYou don't want your player to be able to move through the obstacle, so you'll need to use one of the sprite interactions.\r\n\r\n# Do This\r\n\r\n* Add code to your game that prevents your player from moving through the obstacle.\r\n* If you use one of the bounce interactions, decide whether you want to reset the bounciness of your character.\r\n* Discuss with a neighbor: Which sprite interaction did you decide to use? Is there more than one sprite interaction that works the way you'd expect?", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions flyman change colliders.level b/dashboard/config/scripts/levels/CSD U3 collisions flyman change colliders.level index ca1ff305e25ad..43be6f9838337 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions flyman change colliders.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions flyman change colliders.level @@ -67,7 +67,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\"\r\n ],\r\n \"propsByKey\": {\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\": {\r\n \"name\": \"flyer\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/fbVVJ87HfqNVLZl16J52ZQ/76bca46f-40e6-4ab2-9dd1-719631602575.png?version=ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\",\r\n \"frameSize\": {\r\n \"x\": 40,\r\n \"y\": 46\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\"\r\n }\r\n }\r\n}", "start_blocks": "var flyer = createSprite(200, 200);\r\nflyer.setAnimation(\"flyer\");\r\n\r\nfunction draw() {\r\n background(\"blue\");\r\n \r\n // Simulating Gravity\r\n flyer.velocityY = flyer.velocityY + 0.1;\r\n \r\n // update sprites\r\n \r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Flyer Game - Change Colliders\r\n\r\nRight now your colliders are all rectangular. Switch them over to circles to get more interesting and realistic bounces and collisions.\r\n\r\n# Do This\r\n\r\n* Use the `sprite.setCollider()` block to change the colliders of your sprites to circles.\r\n* Set your sprites' debug properties to `true` to make sure your game is working the way you want.\r\n* Play your game to make sure it's working the way you want.", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions flyman displace coin.level b/dashboard/config/scripts/levels/CSD U3 collisions flyman displace coin.level index 72e6102c9d1d4..1bcf98d38a6aa 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions flyman displace coin.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions flyman displace coin.level @@ -67,7 +67,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\"\r\n ],\r\n \"propsByKey\": {\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\": {\r\n \"name\": \"flyer\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/fbVVJ87HfqNVLZl16J52ZQ/76bca46f-40e6-4ab2-9dd1-719631602575.png?version=ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\",\r\n \"frameSize\": {\r\n \"x\": 40,\r\n \"y\": 46\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\"\r\n }\r\n }\r\n}", "start_blocks": "var flyer = createSprite(200, 200);\r\nflyer.setAnimation(\"flyer\");\r\n\r\nfunction draw() {\r\n background(\"blue\");\r\n \r\n // Simulating Gravity\r\n flyer.velocityY = flyer.velocityY + 0.1;\r\n \r\n // update sprites\r\n \r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Flyer Game - Coin Behind the Obstacle\r\n\r\nRight now your coin is moving to random locations. That means sometimes it even will appear behind your obstacle, so your character can't get to it. Using sprite interactions you can fix this problem.\r\n\r\n# Do This\r\n\r\n* Add code to your game that prevents the coin from moving behind the obstacle. Don't be afraid to try out ideas just to see how they work.\r\n* Discuss with a neighbor: Which sprite interaction did you decide to use? Is there more than one sprite interaction that works the way you'd expect?", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions flyman make it your own.level b/dashboard/config/scripts/levels/CSD U3 collisions flyman make it your own.level index 5fbe9461f82fd..1f21d4e9d97b7 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions flyman make it your own.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions flyman make it your own.level @@ -67,7 +67,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\"\r\n ],\r\n \"propsByKey\": {\r\n \"76bca46f-40e6-4ab2-9dd1-719631602575\": {\r\n \"name\": \"flyer\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/fbVVJ87HfqNVLZl16J52ZQ/76bca46f-40e6-4ab2-9dd1-719631602575.png?version=ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\",\r\n \"frameSize\": {\r\n \"x\": 40,\r\n \"y\": 46\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"ws6i9U9L4Nad8JLTdtTE3dBj.3bgtTgR\"\r\n }\r\n }\r\n}", "start_blocks": "var flyer = createSprite(200, 200);\r\nflyer.setAnimation(\"flyer\");\r\n\r\nfunction draw() {\r\n background(\"blue\");\r\n \r\n // Simulating Gravity\r\n flyer.velocityY = flyer.velocityY + 0.1;\r\n \r\n // update sprites\r\n \r\n drawSprites();\r\n}\r\n", "markdown_instructions": "# Flyer Game - Make It Your Own\r\n\r\nTime to make this game your own by using what you've learned about sprite interactions.\r\n\r\n# Do This\r\n\r\nAdd at least one more aspect to your game that uses sprite interactions. There's some ideas below or you can choose to add features of your own. Make sure you're ready to share your ideas with your classmates.\r\n\r\n* Create \"edge\" sprites to keep your character from bouncing out.\r\n* Add platforms to the game for your character to navigate around.\r\n* Add another obstacle to your game.\r\n* Create another idea of your own.", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions getSpeed.level b/dashboard/config/scripts/levels/CSD U3 collisions getSpeed.level index 80d9276af66af..1e0874fd07fd1 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions getSpeed.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions getSpeed.level @@ -86,7 +86,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\"redCar\", \"compass\", \"needle\"],\r\n \"propsByKey\": {\r\n \t\"redCar\": {\r\n \"name\": \"redCar\",\r\n \"sourceUrl\": \"https://images.code.org/2085e5de29f7170465b0c7bd5e6b56e9-image-1470417254116.png\",\r\n \"frameSize\": {\r\n \"x\": 60,\r\n \"y\": 30\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"compass\": {\r\n \"name\": \"compass\",\r\n \"sourceUrl\": \"https://images.code.org/b87e51b8ed026ca239cbf629c9a58b26-image-1472571454000.png\",\r\n \"frameSize\": {\r\n \"x\": 60,\r\n \"y\": 60\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"needle\": {\r\n \"name\": \"needle\",\r\n \"sourceUrl\": \"https://images.code.org/e3013d8428f54f7fbde63d0a4a8eaafb-image-1472571782304.png\",\r\n \"frameSize\": {\r\n \"x\": 50,\r\n \"y\": 50\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", "callout_json": "[\r\n {\r\n \"localization_key\": \"CSD_U3_L11_S2_C1\",\r\n \"callout_text\": \"Add your code for the compass here.\",\r\n \"element_id\": \"\",\r\n \"on\": \"code_triggered1\",\r\n \"qtip_config\": {\r\n \"codeStudio\": {\r\n \"canReappear\": true,\r\n \"dropletPaletteCategory\": \"\",\r\n \"codeString\": \"// match needle's rotation to car's direction\"\r\n },\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"top left\",\r\n \"at\": \"bottom left\",\r\n \"adjust\": {\r\n \"x\": 70,\r\n \"y\": 15\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"localization_key\": \"CSD_U3_L11_S2_C2\",\r\n \"callout_text\": \"Change the code to display speed here.\",\r\n \"element_id\": \"\",\r\n \"on\": \"code_triggered2\",\r\n \"qtip_config\": {\r\n \"codeStudio\": {\r\n \"canReappear\": true,\r\n \"dropletPaletteCategory\": \"\",\r\n \"codeString\": \"text(\\\"Speed:\\\", 10, 325);\"\r\n },\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"top center\",\r\n \"at\": \"bottom center\",\r\n \"adjust\": {\r\n \"x\": 70,\r\n \"y\": 15\r\n }\r\n }\r\n }\r\n }\r\n]", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions horse.level b/dashboard/config/scripts/levels/CSD U3 collisions horse.level index 8c9c92d318464..494f4bd0d24bd 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions horse.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions horse.level @@ -50,7 +50,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"rainbow\",\r\n \"horse\",\r\n \"unicorn\"\r\n ],\r\n \"propsByKey\": {\r\n \"rainbow\": {\r\n \"name\": \"rainbow\",\r\n \"sourceUrl\": \"https://images.code.org/1d41d2e5b3b55037911b8f73bdc2ff48-image-1470257277875.png\",\r\n \"frameSize\": {\r\n \"x\": 66,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"horse\": {\r\n \"name\": \"horse\",\r\n \"sourceUrl\": \"https://images.code.org/4d1d0e36e574117140ecc377d406c1de-image-1470256869920.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 72\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"unicorn\": {\r\n \"name\": \"unicorn\",\r\n \"sourceUrl\": \"https://images.code.org/558b42903bf40cc26410e651a85de922-image-1470256869923.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 72\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions isTouching intro.level b/dashboard/config/scripts/levels/CSD U3 collisions isTouching intro.level index 095c3f70d45c9..b2d92583db8c0 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions isTouching intro.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions isTouching intro.level @@ -51,7 +51,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"balloon\",\r\n \"tack\",\r\n \"popped\"\r\n ],\r\n \"propsByKey\": {\r\n \"balloon\": {\r\n \"name\": \"balloon\",\r\n \"sourceUrl\": \"https://images.code.org/7afe11fccea99cd7f31497710cce5ac3-image-1471190004988.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 135\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"tack\": {\r\n \"name\": \"tack\",\r\n \"sourceUrl\": \"https://images.code.org/0b6e98b829379d88b9952ee013cf70bd-image-1471190009596.png\",\r\n \"frameSize\": {\r\n \"x\": 50,\r\n \"y\": 66\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"popped\": {\r\n \"name\": \"popped\",\r\n \"sourceUrl\": \"https://images.code.org/49c7a3b6fe2eff7e51d3f40581b1dcbb-image-1471190256258.png\",\r\n \"frameSize\": {\r\n \"x\": 173,\r\n \"y\": 135\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions obstacle.level b/dashboard/config/scripts/levels/CSD U3 collisions obstacle.level index a4456240f93ed..3332c8814cc41 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions obstacle.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions obstacle.level @@ -55,7 +55,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\n \"orderedKeys\": [\n \"mouse\",\n \"cheese\",\n \"wall\"\n ],\n \"propsByKey\": {\n \"mouse\": {\n \"name\": \"mouse\",\n \"sourceUrl\": \"https://images.code.org/c3f6298b05a9eb51772c8c03a06abe54-image-1470414415864.png\",\n \"frameSize\": {\n \"x\": 100,\n \"y\": 40\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"cheese\": {\n \"name\": \"cheese\",\n \"sourceUrl\": \"https://images.code.org/cefb99d244b9167314128578e477808c-image-1470948228670.png\",\n \"frameSize\": {\n \"x\": 60,\n \"y\": 43\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"wall\": {\n \"name\": \"wall\",\n \"sourceUrl\": \"https://images.code.org/e0cf14ae384355129b32b73ef64ed77e-image-1470948281047.png\",\n \"frameSize\": {\n \"x\": 62,\n \"y\": 300\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "markdown_instructions": "# Mouse Maze\r\n\r\nThe mouse needs to find its way through the maze to get to the cheese, but right now it passes through the walls. Can you change the code so that the mouse is blocked by the walls?\r\n\r\n# Do This\r\n\r\nAdd a `displace`, `collide`, `bounce`, or `bounceOff` block in the draw loop to make the sprites interact in the right way.\r\n\r\n[//]: # (https://images.code.org/cefb99d244b9167314128578e477808c-image-1470948228670.png)\r\n\r\n[//]: # (https://images.code.org/e0cf14ae384355129b32b73ef64ed77e-image-1470948281047.png)", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions open.level b/dashboard/config/scripts/levels/CSD U3 collisions open.level index 566127b986433..64a43810d91bf 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions open.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions open.level @@ -112,7 +112,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"red_car\",\r\n \"green_car\",\r\n \"orange_cone\",\r\n \"balloon\",\r\n \"tack\",\r\n \"popped\",\r\n \"egg\",\r\n \"pan\",\r\n \"fried_egg\",\r\n \"rainbow\",\r\n \"horse\",\r\n \"unicorn\",\r\n \"feather\",\r\n \"sun\",\r\n \"orange_fish\"\r\n ],\r\n \"propsByKey\": {\r\n \"red_car\": {\r\n \"name\": \"red_car\",\r\n \"sourceUrl\": \"https://images.code.org/5f738da1a2b1ef8af124e4470e2babe7-image-1469742830481.png\",\r\n \"frameSize\": {\r\n \"x\": 50,\r\n \"y\": 50\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"green_car\": {\r\n \"name\": \"green_car\",\r\n \"sourceUrl\": \"https://images.code.org/4d1af9cc274f30b9d9263a47f9f64f13-image-1470941637433.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 50\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"orange_cone\": {\r\n \"name\": \"orange_cone\",\r\n \"sourceUrl\": \"https://images.code.org/f22e6b1a636337820e53fb37a137b3d1-image-1469742992179.png\",\r\n \"frameSize\": {\r\n \"x\": 35,\r\n \"y\": 35\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"balloon\": {\r\n \"name\": \"balloon\",\r\n \"sourceUrl\": \"https://images.code.org/7afe11fccea99cd7f31497710cce5ac3-image-1471190004988.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 135\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"tack\": {\r\n \"name\": \"tack\",\r\n \"sourceUrl\": \"https://images.code.org/0b6e98b829379d88b9952ee013cf70bd-image-1471190009596.png\",\r\n \"frameSize\": {\r\n \"x\": 50,\r\n \"y\": 66\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"popped\": {\r\n \"name\": \"popped\",\r\n \"sourceUrl\": \"https://images.code.org/49c7a3b6fe2eff7e51d3f40581b1dcbb-image-1471190256258.png\",\r\n \"frameSize\": {\r\n \"x\": 173,\r\n \"y\": 135\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"egg\": {\r\n \"name\": \"egg\",\r\n \"sourceUrl\": \"https://images.code.org/82436176c744caa106cfc4971cd1db6c-image-1470247395711.png\",\r\n \"frameSize\": {\r\n \"x\": 80,\r\n \"y\": 52\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"pan\": {\r\n \"name\": \"pan\",\r\n \"sourceUrl\": \"https://images.code.org/00e4ee128c4beb11c0c7a6bba6024494-image-1470317549555.png\",\r\n \"frameSize\": {\r\n \"x\": 250,\r\n \"y\": 94\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"fried_egg\": {\r\n \"name\": \"fried_egg\",\r\n \"sourceUrl\": \"https://images.code.org/68b31e0fe8b8b454225d87b0f4a0a5f8-image-1470317549553.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 40\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"rainbow\": {\r\n \"name\": \"rainbow\",\r\n \"sourceUrl\": \"https://images.code.org/1d41d2e5b3b55037911b8f73bdc2ff48-image-1470257277875.png\",\r\n \"frameSize\": {\r\n \"x\": 66,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"horse\": {\r\n \"name\": \"horse\",\r\n \"sourceUrl\": \"https://images.code.org/4d1d0e36e574117140ecc377d406c1de-image-1470256869920.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 72\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"unicorn\": {\r\n \"name\": \"unicorn\",\r\n \"sourceUrl\": \"https://images.code.org/558b42903bf40cc26410e651a85de922-image-1470256869923.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 72\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"feather\": {\r\n \"name\": \"feather\",\r\n \"sourceUrl\": \"https://images.code.org/fb739254c4d2f6745977a26e0481162a-image-1470316780326.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 35\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"sun\": {\r\n \"name\": \"sun\",\r\n \"sourceUrl\": \"https://curriculum.code.org/images/sprites/sun.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"orange_fish\": {\r\n \"name\": \"orange_fish\",\r\n \"sourceUrl\": \"https://images.code.org/c7a3e614952f7b31f19137b5bed3e38e-image-1469222676407.png\",\r\n \"sourceSize\": {\r\n \"x\": 135,\r\n \"y\": 88\r\n },\r\n \"frameSize\": {\r\n \"x\": 135,\r\n \"y\": 88\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions overlap x.level b/dashboard/config/scripts/levels/CSD U3 collisions overlap x.level index 533cbaa1c1b50..21426ff48c49a 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions overlap x.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions overlap x.level @@ -63,7 +63,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "pause_animations_by_default": "false", "start_animations": "{\n \"orderedKeys\": [\n \"finish\",\n \"turtle\",\n \"trophy\"\n ],\n \"propsByKey\": {\n \"finish\": {\n \"name\": \"finish\",\n \"sourceUrl\": \"https://images.code.org/3fc6da739dfd31b256618a560c12a076-image-1470191923150.png\",\n \"frameSize\": {\n \"x\": 50,\n \"y\": 150\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"turtle\": {\n \"name\": \"turtle\",\n \"sourceUrl\": \"https://images.code.org/d2eb9684743d45ef1e10ff4602936107-image-1470188590517.png\",\n \"frameSize\": {\n \"x\": 100,\n \"y\": 64\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"trophy\": {\n \"name\": \"trophy\",\n \"sourceUrl\": \"https://images.code.org/fb129d34e3089763f35dfc8980d705ea-image-1470191576501.png\",\n \"frameSize\": {\n \"x\": 250,\n \"y\": 272\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions overlap y.level b/dashboard/config/scripts/levels/CSD U3 collisions overlap y.level index ae6125036add0..c834cfe75e668 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions overlap y.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions overlap y.level @@ -66,7 +66,7 @@ "text_mode_at_start": "false", "hide_animation_mode": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\n \"orderedKeys\": [\n \"egg\",\n \"fried_egg\",\n \"pan\"\n ],\n \"propsByKey\": {\n \"egg\": {\n \"name\": \"egg\",\n \"sourceUrl\": \"https://images.code.org/82436176c744caa106cfc4971cd1db6c-image-1470247395711.png\",\n \"frameSize\": {\n \"x\": 80,\n \"y\": 52\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"pan\": {\n \"name\": \"pan\",\n \"sourceUrl\": \"https://images.code.org/00e4ee128c4beb11c0c7a6bba6024494-image-1470317549555.png\",\n \"frameSize\": {\n \"x\": 250,\n \"y\": 94\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"fried_egg\": {\n \"name\": \"fried_egg\",\n \"sourceUrl\": \"https://images.code.org/68b31e0fe8b8b454225d87b0f4a0a5f8-image-1470317549553.png\",\n \"frameSize\": {\n \"x\": 100,\n \"y\": 40\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "start_blocks": "var pan = createSprite(230, 350);\r\npan.setAnimation(\"pan\");\r\n\r\nvar egg = createSprite(200, -50);\r\negg.setAnimation(\"egg\");\r\negg.velocityY = 5;\r\n\r\nvar friedEgg = createSprite(185, 355);\r\nfriedEgg.setAnimation(\"fried_egg\");\r\nfriedEgg.visible = false;\r\n\r\nvar distanceY;\r\nvar edge1DistanceY;\r\nvar edge2DistanceY;\r\nvar overlapY;\r\n\r\nfunction draw() {\r\n \r\n if (overlapY) {\r\n egg.visible = false;\r\n friedEgg.x = pan.x - 30;\r\n friedEgg.visible = true;\r\n }\r\n\r\n\r\n background(\"skyblue\");\r\n strokeWeight(0);\r\n fill(\"sienna\");\r\n rect(0, 340, 400, 60);\r\n \r\n drawSprites();\r\n}\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions overlap.level b/dashboard/config/scripts/levels/CSD U3 collisions overlap.level index fe868311f90ab..e98ce800f0986 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions overlap.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions overlap.level @@ -65,7 +65,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "pause_animations_by_default": "false", "start_animations": "{\n \"orderedKeys\": [\n \"rainbow\",\n \"horse\",\n \"unicorn\"\n ],\n \"propsByKey\": {\n \"rainbow\": {\n \"name\": \"rainbow\",\n \"sourceUrl\": \"https://images.code.org/1d41d2e5b3b55037911b8f73bdc2ff48-image-1470257277875.png\",\n \"frameSize\": {\n \"x\": 66,\n \"y\": 100\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"horse\": {\n \"name\": \"horse\",\n \"sourceUrl\": \"https://images.code.org/4d1d0e36e574117140ecc377d406c1de-image-1470256869920.png\",\n \"frameSize\": {\n \"x\": 100,\n \"y\": 72\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"unicorn\": {\n \"name\": \"unicorn\",\n \"sourceUrl\": \"https://images.code.org/558b42903bf40cc26410e651a85de922-image-1470256869923.png\",\n \"frameSize\": {\n \"x\": 100,\n \"y\": 72\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions pinball.level b/dashboard/config/scripts/levels/CSD U3 collisions pinball.level index 58ca4e26be2a3..aa99fe728ee09 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions pinball.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions pinball.level @@ -28,7 +28,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions pinball2.level b/dashboard/config/scripts/levels/CSD U3 collisions pinball2.level index 6b01d77fbc1ea..ef32bf4ca2ada 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions pinball2.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions pinball2.level @@ -28,7 +28,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions pirate.level b/dashboard/config/scripts/levels/CSD U3 collisions pirate.level index 69dfacd291321..e64c3780e9a2f 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions pirate.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions pirate.level @@ -56,7 +56,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"treasure\",\r\n \"pirate\",\r\n \"bush\"\r\n ],\r\n \"propsByKey\": {\r\n \"treasure\": {\r\n \"name\": \"treasure\",\r\n \"sourceUrl\": \"https://images.code.org/732942eef4d0c288bf445a4478aee6ec-image-1470947222110.png\",\r\n \"frameSize\": {\r\n \"x\": 75,\r\n \"y\": 71\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"pirate\": {\r\n \"name\": \"pirate\",\r\n \"sourceUrl\": \"https://images.code.org/1458d90cb97f3bd37508fa0ec3d997f8-image-1470947222109.png\",\r\n \"frameSize\": {\r\n \"x\": 67,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"bush\": {\r\n \"name\": \"bush\",\r\n \"sourceUrl\": \"https://images.code.org/56da2ef5cef40080e0d677c86aec3901-image-1470947222108.png\",\r\n \"frameSize\": {\r\n \"x\": 150,\r\n \"y\": 111\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", "start_blocks": "var pirate = createSprite(350,200);\r\npirate.setAnimation(\"pirate\");\r\n\r\nvar treasure = createSprite(250,200);\r\ntreasure.setAnimation(\"treasure\");\r\n\r\nvar bush = createSprite(100, 200);\r\nbush.setAnimation(\"bush\");\r\n\r\nfunction draw() {\r\n \r\n background(\"green\");\r\n \r\n if (keyDown(\"left\")) {\r\n pirate.x = pirate.x - 1;\r\n }\r\n if (keyDown(\"right\")) {\r\n pirate.x = pirate.x + 1;\r\n }\r\n if (keyDown(\"up\")) {\r\n pirate.y = pirate.y - 1;\r\n }\r\n if (keyDown(\"down\")) {\r\n pirate.y = pirate.y + 1;\r\n }\r\n \r\n drawSprites();\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions predict set velocity code.level b/dashboard/config/scripts/levels/CSD U3 collisions predict set velocity code.level index 4ccf2db703a17..a03bf87f6703c 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions predict set velocity code.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions predict set velocity code.level @@ -30,7 +30,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_in_animation_tab": "false", "all_animations_single_frame": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions scoreboard.level b/dashboard/config/scripts/levels/CSD U3 collisions scoreboard.level index a3b9c2de97503..752360774fa1f 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions scoreboard.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions scoreboard.level @@ -28,7 +28,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions setCollider.level b/dashboard/config/scripts/levels/CSD U3 collisions setCollider.level index 02b4a8197b7a6..9e361ad302f06 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions setCollider.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions setCollider.level @@ -58,7 +58,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"1bc96d65-d668-4bd9-91ff-bb12b6c0a294\",\r\n \"9fb18f3c-2689-4ec9-8477-7d3bc55a3ab0\"\r\n ],\r\n \"propsByKey\": {\r\n \"1bc96d65-d668-4bd9-91ff-bb12b6c0a294\": {\r\n \"name\": \"gold_coin\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/ZtP7o6AvMTCHykV29oKNmg/1bc96d65-d668-4bd9-91ff-bb12b6c0a294.png?version=SgyfAr837PXV6kQpKo35NAWqCIjmTP7x\",\r\n \"frameSize\": {\r\n \"x\": 61,\r\n \"y\": 61\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"SgyfAr837PXV6kQpKo35NAWqCIjmTP7x\"\r\n },\r\n \"9fb18f3c-2689-4ec9-8477-7d3bc55a3ab0\": {\r\n \"name\": \"silver_coin\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/ZtP7o6AvMTCHykV29oKNmg/9fb18f3c-2689-4ec9-8477-7d3bc55a3ab0.png?version=TBhq3q3PGY1uBx74bTIhEH9RpiN.SZ6A\",\r\n \"frameSize\": {\r\n \"x\": 61,\r\n \"y\": 61\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"TBhq3q3PGY1uBx74bTIhEH9RpiN.SZ6A\"\r\n }\r\n }\r\n}", "start_blocks": "var goldCoin = createSprite(49,50);\r\ngoldCoin.setAnimation(\"gold_coin\");\r\ngoldCoin.velocityX = 2;\r\ngoldCoin.velocityY = 2;\r\ngoldCoin.debug = true;\r\ngoldCoin.setCollider(\"rectangle\");\r\n\r\nvar silverCoin = createSprite(350,350);\r\nsilverCoin.setAnimation(\"silver_coin\");\r\nsilverCoin.velocityX = -2;\r\nsilverCoin.velocityY = -2;\r\nsilverCoin.debug = true;\r\n\r\nfunction draw() {\r\n goldCoin.bounce(silverCoin);\r\n \r\n background(\"darkgreen\");\r\n drawSprites();\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions sidescroll2.level b/dashboard/config/scripts/levels/CSD U3 collisions sidescroll2.level index 4a4673d96acf6..1eb33f3012f62 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions sidescroll2.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions sidescroll2.level @@ -72,7 +72,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"red_car\",\r\n \"orange_cone\"\r\n ],\r\n \"propsByKey\": {\r\n \"red_car\": {\r\n \"name\": \"red_car\",\r\n \"sourceUrl\": \"https://images.code.org/5f738da1a2b1ef8af124e4470e2babe7-image-1469742830481.png\",\r\n \"frameSize\": {\r\n \"x\": 50,\r\n \"y\": 50\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"orange_cone\": {\r\n \"name\": \"orange_cone\",\r\n \"sourceUrl\": \"https://images.code.org/f22e6b1a636337820e53fb37a137b3d1-image-1469742992179.png\",\r\n \"frameSize\": {\r\n \"x\": 35,\r\n \"y\": 35\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", "markdown_instructions": "# Improve Your Game\r\n\r\nNow that you know how to use `isTouching` and `playSound`, you can make some fun things happen when your sprites run into each other.\r\n\r\n*Note: The `playSound` block now has an extra parameter called \"loop\" that can be set to true or false. If this parameter is true, the sound will continue to play in a loop.*\r\n\r\n# Do This\r\n\r\n* Add at least two effects when your sprites collide.\r\n\r\n*Challenge: Add a scoreboard to the top of your screen.*\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions sundae.level b/dashboard/config/scripts/levels/CSD U3 collisions sundae.level index c2ad3f09946a2..848df4fe2d07d 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions sundae.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions sundae.level @@ -52,7 +52,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\n \"orderedKeys\": [\n \"cherry\",\n \"sundae\"\n ],\n \"propsByKey\": {\n \"cherry\": {\n \"name\": \"cherry\",\n \"sourceUrl\": \"https://images.code.org/491fb8bff907a183bd1cf0061689d193-image-1470419927625.png\",\n \"frameSize\": {\n \"x\": 50,\n \"y\": 67\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n },\n \"sundae\": {\n \"name\": \"sundae\",\n \"sourceUrl\": \"https://images.code.org/ea2066d640e74284b8c48e382f56bf1b-image-1470419927627.png\",\n \"frameSize\": {\n \"x\": 200,\n \"y\": 186\n },\n \"frameCount\": 1,\n \"frameDelay\": 2,\n \"looping\": true\n }\n }\n}", "start_blocks": "var sundae = createSprite(200, 300);\r\nsundae.setAnimation(\"sundae\");\r\n\r\nvar cherry = createSprite(220, 50);\r\ncherry.setAnimation(\"cherry\");\r\ncherry.velocityY = 2;\r\n\r\nfunction draw() {\r\n // make the cherry stop when it runs into the sundae\r\n \r\n background(\"skyblue\");\r\n drawSprites();\r\n}\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions tennis.level b/dashboard/config/scripts/levels/CSD U3 collisions tennis.level index a189fd7b96ab3..55e4deed4fa7b 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions tennis.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions tennis.level @@ -64,7 +64,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"racket\",\r\n \"ball\"\r\n ],\r\n \"propsByKey\": {\r\n \"racket\": {\r\n \"name\": \"racket\",\r\n \"sourceUrl\": \"https://images.code.org/8d8cf039f50114c07a21e73bbc1c8dfe-image-1470418244037.png\",\r\n \"frameSize\": {\r\n \"x\": 17,\r\n \"y\": 75\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"ball\": {\r\n \"name\": \"ball\",\r\n \"sourceUrl\": \"https://images.code.org/d05be653ae7e4717353dffd08af9c656-image-1470418244039.png\",\r\n \"frameSize\": {\r\n \"x\": 30,\r\n \"y\": 30\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions try blocks.level b/dashboard/config/scripts/levels/CSD U3 collisions try blocks.level index 903765a223850..3f57b4a3e7907 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions try blocks.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions try blocks.level @@ -57,7 +57,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"daa82a6d-0961-4742-8535-6aa331ce396e\",\r\n \"6bd24f1a-743f-4a7d-bc0e-bf7538f33389\"\r\n ],\r\n \"propsByKey\": {\r\n \"daa82a6d-0961-4742-8535-6aa331ce396e\": {\r\n \"name\": \"parrot\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/0-pIJthGOG-KIcmP1jwRWA/daa82a6d-0961-4742-8535-6aa331ce396e.png?version=6byF.OTe0KE15iHUVyf_dQoMJAstn684\",\r\n \"frameSize\": {\r\n \"x\": 256,\r\n \"y\": 257\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"6byF.OTe0KE15iHUVyf_dQoMJAstn684\"\r\n },\r\n \"6bd24f1a-743f-4a7d-bc0e-bf7538f33389\": {\r\n \"name\": \"penguin\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/0-pIJthGOG-KIcmP1jwRWA/6bd24f1a-743f-4a7d-bc0e-bf7538f33389.png?version=hgja38fMyTPDuen0w8GyBXXlhzBk74Pu\",\r\n \"frameSize\": {\r\n \"x\": 256,\r\n \"y\": 257\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"hgja38fMyTPDuen0w8GyBXXlhzBk74Pu\"\r\n }\r\n }\r\n}", "start_blocks": "var parrot = createSprite(50,200);\r\nparrot.setAnimation(\"parrot\");\r\nparrot.velocityX = 2;\r\nparrot.scale = 0.3;\r\n\r\nvar penguin = createSprite(350,200);\r\npenguin.setAnimation(\"penguin\");\r\npenguin.velocityX = -2;\r\npenguin.scale = 0.3;\r\n\r\nfunction draw() {\r\n parrot.displace(penguin);\r\n \r\n background(\"white\");\r\n drawSprites();\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions turtle.level b/dashboard/config/scripts/levels/CSD U3 collisions turtle.level index 7bc0d5fc766c9..e6538e621ed44 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions turtle.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions turtle.level @@ -57,7 +57,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"turtle\",\r\n \"tree\"\r\n ],\r\n \"propsByKey\": {\r\n \"turtle\": {\r\n \"name\": \"turtle\",\r\n \"sourceUrl\": \"https://images.code.org/d2eb9684743d45ef1e10ff4602936107-image-1470188590517.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 64\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"tree\": {\r\n \"name\": \"tree\",\r\n \"sourceUrl\": \"https://images.code.org/56da2ef5cef40080e0d677c86aec3901-image-1470947222108.png\",\r\n \"frameSize\": {\r\n \"x\": 150,\r\n \"y\": 111\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 collisions types.level b/dashboard/config/scripts/levels/CSD U3 collisions types.level index a8fa94d7b45b4..5b0b75522dd41 100644 --- a/dashboard/config/scripts/levels/CSD U3 collisions types.level +++ b/dashboard/config/scripts/levels/CSD U3 collisions types.level @@ -50,7 +50,7 @@ "hide_animation_mode": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"basketball\",\r\n \"floor\"\r\n ],\r\n \"propsByKey\": {\r\n \"basketball\": {\r\n \"name\": \"basketball\",\r\n \"sourceUrl\": \"https://images.code.org/24355fc6377cfafdce3ce2b3568a33c3-image-1470343728940.png\",\r\n \"frameSize\": {\r\n \"x\": 100,\r\n \"y\": 100\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n },\r\n \"floor\": {\r\n \"name\": \"floor\",\r\n \"sourceUrl\": \"https://images.code.org/87e4306e0371c7975b8fb2583657ee4a-image-1470343728942.png\",\r\n \"frameSize\": {\r\n \"x\": 400,\r\n \"y\": 50\r\n },\r\n \"frameCount\": 1,\r\n \"frameDelay\": 2,\r\n \"looping\": true\r\n }\r\n }\r\n}", "start_blocks": "var basketball = createSprite(200, 0);\r\nbasketball.setAnimation(\"basketball\");\r\nbasketball.velocityY = 5;\r\n\r\nvar wood = createSprite(200, 375);\r\nwood.setAnimation(\"floor\");\r\n\r\n\r\nfunction draw() {\r\n background(\"skyblue\");\r\n \r\n drawSprites();\r\n}\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 counter example.level b/dashboard/config/scripts/levels/CSD U3 counter example.level index 899899d4d054d..9eee97a96879d 100644 --- a/dashboard/config/scripts/levels/CSD U3 counter example.level +++ b/dashboard/config/scripts/levels/CSD U3 counter example.level @@ -52,7 +52,7 @@ "hide_view_data_button": "false", "show_debug_watch": "true", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"a5e9d4d5-d69d-44fa-b0b0-90e005cad061\",\r\n \"0b73c54b-961a-45db-a456-5ef296e3aebc\",\r\n \"f7c55aea-467c-4ac0-aabd-401b61fa9fb0\"\r\n ],\r\n \"propsByKey\": {\r\n \"a5e9d4d5-d69d-44fa-b0b0-90e005cad061\": {\r\n \"name\": \"hippo\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/zvWL_vLN3Vli95LPrzNqEB8i10ZmNET3ILwEGCo-bBs/a5e9d4d5-d69d-44fa-b0b0-90e005cad061.png?version=0vAhTR1Jd87S5TTcHR4BFB0WXgKn0JqI\",\r\n \"frameSize\": {\r\n \"x\": 70,\r\n \"y\": 70\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"0vAhTR1Jd87S5TTcHR4BFB0WXgKn0JqI\"\r\n },\r\n \"0b73c54b-961a-45db-a456-5ef296e3aebc\": {\r\n \"name\": \"rabbit\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/zvWL_vLN3Vli95LPrzNqEB8i10ZmNET3ILwEGCo-bBs/0b73c54b-961a-45db-a456-5ef296e3aebc.png?version=kBaC68QKKtWefPlp0qXJT89bCh3uu3nU\",\r\n \"frameSize\": {\r\n \"x\": 70,\r\n \"y\": 93\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"kBaC68QKKtWefPlp0qXJT89bCh3uu3nU\"\r\n },\r\n \"f7c55aea-467c-4ac0-aabd-401b61fa9fb0\": {\r\n \"name\": \"pig\",\r\n \"sourceUrl\": \"https://studio.code.org/v3/animations/zvWL_vLN3Vli95LPrzNqEB8i10ZmNET3ILwEGCo-bBs/f7c55aea-467c-4ac0-aabd-401b61fa9fb0.png?version=_44_raUBu.fspgzhBbxKBKy1cxhxpZaL\",\r\n \"frameSize\": {\r\n \"x\": 70,\r\n \"y\": 62\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 12,\r\n \"version\": \"_44_raUBu.fspgzhBbxKBKy1cxhxpZaL\"\r\n }\r\n }\r\n}", "start_blocks": "var hippo = createSprite(30,30);\r\nhippo.setAnimation(\"hippo\");\r\nvar rabbit = createSprite(30,30);\r\nrabbit.setAnimation(\"rabbit\");\r\nvar pig = createSprite(30,30);\r\npig.setAnimation(\"pig\");\r\n\r\nfunction draw() {\r\n background(\"white\");\r\n // move the hippo down and to the right\r\n hippo.x = hippo.x + 2;\r\n hippo.y = hippo.y + 2;\r\n //move the rabit down\r\n rabbit.y = rabbit.y + 2;\r\n // move the pig to the right\r\n pig.x = pig.x + 2;\r\n drawSprites();\r\n}\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 dancing alien.level b/dashboard/config/scripts/levels/CSD U3 dancing alien.level index be5f2b85fa267..217f18db7979c 100644 --- a/dashboard/config/scripts/levels/CSD U3 dancing alien.level +++ b/dashboard/config/scripts/levels/CSD U3 dancing alien.level @@ -50,7 +50,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 debug.level b/dashboard/config/scripts/levels/CSD U3 debug.level index cb2c0b33b81dd..8c24d35f0a26b 100644 --- a/dashboard/config/scripts/levels/CSD U3 debug.level +++ b/dashboard/config/scripts/levels/CSD U3 debug.level @@ -62,7 +62,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "callout_json": "[ \r\n {\r\n \"localization_key\": \"CSD_U3_rect_c1\",\r\n \"callout_text\": \"Here is the code\",\r\n \"element_id\": \"\",\r\n \"on\": \"fill\",\r\n \"qtip_config\": {\r\n \"codeStudio\": {\r\n \"canReappear\": true,\r\n \"dropletPaletteCategory\": \"\",\r\n \"codeString\": \"fill\"\r\n },\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"top center\",\r\n \"at\": \"bottom right\",\r\n \"adjust\": {\r\n \"x\": 50,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"localization_key\": \"CSD_U3_rect_c2\",\r\n \"callout_text\": \"Drag this block into the code area.\",\r\n \"element_id\": \"#droplet_palette_block_rect\",\r\n \"on\": \"rect_block\",\r\n \"qtip_config\": {\r\n \"codeStudio\": {\r\n \"canReappear\": true,\r\n \"dropletPaletteCategory\": \"\"\r\n },\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"left center\",\r\n \"at\": \"right center\",\r\n \"adjust\": {\r\n \"x\": 0,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n }\r\n]", "markdown_instructions": "\r\n\r\n# Debugging\r\n\r\nOften, code doesn't work the first time it runs, and programmers have to debug it. The code below is supposed to make the picture on the right, but the programmer got confused about which order the code should be in, as well as how to put a square in the right place on the screen.\r\n\r\n# Do This\r\n\r\n* Look at the code in the workspace.\r\n* Change the code so it makes the picture on the right.\r\n * (You'll need to move one line of code AND change the coordinates of the square.)", diff --git a/dashboard/config/scripts/levels/CSD U3 ellipse.level b/dashboard/config/scripts/levels/CSD U3 ellipse.level index 25fff78731d4d..6133148c7c323 100644 --- a/dashboard/config/scripts/levels/CSD U3 ellipse.level +++ b/dashboard/config/scripts/levels/CSD U3 ellipse.level @@ -62,7 +62,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "callout_json": "[ \r\n {\r\n \"localization_key\": \"CSD_U3_rect_c1\",\r\n \"callout_text\": \"Here is the code\",\r\n \"element_id\": \"\",\r\n \"on\": \"fill\",\r\n \"qtip_config\": {\r\n \"codeStudio\": {\r\n \"canReappear\": true,\r\n \"dropletPaletteCategory\": \"\",\r\n \"codeString\": \"fill\"\r\n },\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"top center\",\r\n \"at\": \"bottom right\",\r\n \"adjust\": {\r\n \"x\": 50,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"localization_key\": \"CSD_U3_rect_c2\",\r\n \"callout_text\": \"Drag this block into the code area.\",\r\n \"element_id\": \"#droplet_palette_block_rect\",\r\n \"on\": \"rect_block\",\r\n \"qtip_config\": {\r\n \"codeStudio\": {\r\n \"canReappear\": true,\r\n \"dropletPaletteCategory\": \"\"\r\n },\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"left center\",\r\n \"at\": \"right center\",\r\n \"adjust\": {\r\n \"x\": 0,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n }\r\n]", "markdown_instructions": "\r\n\r\n# ellipse\r\n\r\nYou can use `ellipse` to make a circle.\r\n\r\n# Do This\r\n\r\n* Look at the code that makes the ellipse.\r\n* Add a new ellipse of a different color.\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 fill.level b/dashboard/config/scripts/levels/CSD U3 fill.level index 956da362ece6d..0445b746d6bf7 100644 --- a/dashboard/config/scripts/levels/CSD U3 fill.level +++ b/dashboard/config/scripts/levels/CSD U3 fill.level @@ -52,7 +52,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "callout_json": "[ \r\n {\r\n \"localization_key\": \"CSD_U3_rect_c1\",\r\n \"callout_text\": \"Here is the code\",\r\n \"element_id\": \"\",\r\n \"on\": \"fill\",\r\n \"qtip_config\": {\r\n \"codeStudio\": {\r\n \"canReappear\": true,\r\n \"dropletPaletteCategory\": \"\",\r\n \"codeString\": \"fill\"\r\n },\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"top center\",\r\n \"at\": \"bottom right\",\r\n \"adjust\": {\r\n \"x\": 50,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"localization_key\": \"CSD_U3_rect_c2\",\r\n \"callout_text\": \"Drag this block into the code area.\",\r\n \"element_id\": \"#droplet_palette_block_rect\",\r\n \"on\": \"rect_block\",\r\n \"qtip_config\": {\r\n \"codeStudio\": {\r\n \"canReappear\": true,\r\n \"dropletPaletteCategory\": \"\"\r\n },\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"left center\",\r\n \"at\": \"right center\",\r\n \"adjust\": {\r\n \"x\": 0,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n }\r\n]", "markdown_instructions": "\r\n# fill(color)\r\n\r\nYou can also make your rectangles different colors with `fill`. It will set the color for every shape that comes after it in the code.\r\n\r\n# Do This\r\n\r\n* Look at the code that sets the color. ( [Show me where](#triggercallout=fill) )\r\n* Change the color from blue to yellow.\r\n* Add a new square by dragging a `rect` block into the code area below the fill command ( [Show me where](#triggercallout=rect_block) ). The new square can go any location on the screen you like.\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 finishing touches.level b/dashboard/config/scripts/levels/CSD U3 finishing touches.level index ad9e47b126f32..f32b70a3b21f2 100644 --- a/dashboard/config/scripts/levels/CSD U3 finishing touches.level +++ b/dashboard/config/scripts/levels/CSD U3 finishing touches.level @@ -132,7 +132,7 @@ "submittable": "false", "hide_view_data_button": "false", "show_debug_watch": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "start_in_animation_tab": "false", "all_animations_single_frame": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 game animations.level b/dashboard/config/scripts/levels/CSD U3 game animations.level index a6c7a25efa9c2..0ffad82a2f61e 100644 --- a/dashboard/config/scripts/levels/CSD U3 game animations.level +++ b/dashboard/config/scripts/levels/CSD U3 game animations.level @@ -34,7 +34,7 @@ "show_d_pad": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "instructions_important": "false", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 game backgrounds.level b/dashboard/config/scripts/levels/CSD U3 game backgrounds.level index 0e525dd57eb89..b375e795eed2e 100644 --- a/dashboard/config/scripts/levels/CSD U3 game backgrounds.level +++ b/dashboard/config/scripts/levels/CSD U3 game backgrounds.level @@ -34,7 +34,7 @@ "show_d_pad": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "instructions_important": "false", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 game choose background.level b/dashboard/config/scripts/levels/CSD U3 game choose background.level index 43ea8a42fb7d9..adb739710e982 100644 --- a/dashboard/config/scripts/levels/CSD U3 game choose background.level +++ b/dashboard/config/scripts/levels/CSD U3 game choose background.level @@ -34,7 +34,7 @@ "show_d_pad": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "instructions_important": "false", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 game create sprites.level b/dashboard/config/scripts/levels/CSD U3 game create sprites.level index 93a19dbafcfa1..27bf2d534fe10 100644 --- a/dashboard/config/scripts/levels/CSD U3 game create sprites.level +++ b/dashboard/config/scripts/levels/CSD U3 game create sprites.level @@ -34,7 +34,7 @@ "show_d_pad": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "instructions_important": "false", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 game display boards.level b/dashboard/config/scripts/levels/CSD U3 game display boards.level index 688d09f407a3d..2f1256369d909 100644 --- a/dashboard/config/scripts/levels/CSD U3 game display boards.level +++ b/dashboard/config/scripts/levels/CSD U3 game display boards.level @@ -34,7 +34,7 @@ "show_d_pad": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "instructions_important": "false", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 game interactions.level b/dashboard/config/scripts/levels/CSD U3 game interactions.level index f4122fb7edb22..dfc7cabfd3c33 100644 --- a/dashboard/config/scripts/levels/CSD U3 game interactions.level +++ b/dashboard/config/scripts/levels/CSD U3 game interactions.level @@ -34,7 +34,7 @@ "show_d_pad": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "instructions_important": "false", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 game sprite movement.level b/dashboard/config/scripts/levels/CSD U3 game sprite movement.level index 06713a7d223e6..af436c90ec0f0 100644 --- a/dashboard/config/scripts/levels/CSD U3 game sprite movement.level +++ b/dashboard/config/scripts/levels/CSD U3 game sprite movement.level @@ -34,7 +34,7 @@ "show_d_pad": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "instructions_important": "false", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 game template.level b/dashboard/config/scripts/levels/CSD U3 game template.level index a176eaa4b1c08..eb68b82afec87 100644 --- a/dashboard/config/scripts/levels/CSD U3 game template.level +++ b/dashboard/config/scripts/levels/CSD U3 game template.level @@ -33,7 +33,7 @@ "show_d_pad": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/CSD U3 game user controls.level b/dashboard/config/scripts/levels/CSD U3 game user controls.level index 162e3822e952c..3c9f116050a63 100644 --- a/dashboard/config/scripts/levels/CSD U3 game user controls.level +++ b/dashboard/config/scripts/levels/CSD U3 game user controls.level @@ -34,7 +34,7 @@ "show_d_pad": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "instructions_important": "false", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 game variables.level b/dashboard/config/scripts/levels/CSD U3 game variables.level index cf0df18b268e2..1ddc1d5845b90 100644 --- a/dashboard/config/scripts/levels/CSD U3 game variables.level +++ b/dashboard/config/scripts/levels/CSD U3 game variables.level @@ -34,7 +34,7 @@ "show_d_pad": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "instructions_important": "false", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/CSD U3 keydown conditional.level b/dashboard/config/scripts/levels/CSD U3 keydown conditional.level index 775bcc87954d5..6fb3439864dbc 100644 --- a/dashboard/config/scripts/levels/CSD U3 keydown conditional.level +++ b/dashboard/config/scripts/levels/CSD U3 keydown conditional.level @@ -55,7 +55,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[\r\n {\r\n \"localization_key\": \"\",\r\n \"callout_text\": \"Add your block inside this if statement\",\r\n \"element_id\": \".droplet-gutter-line:nth-child(12)\",\r\n \"on\": \"\",\r\n \"qtip_config\": {\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"right center\",\r\n \"at\": \"left center\",\r\n \"adjust\": {\r\n \"x\": 0,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n }\r\n]", "instructions_important": "false", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 kite template v2.level b/dashboard/config/scripts/levels/CSD U3 kite template v2.level index b2723bfc5f354..80011f967e882 100644 --- a/dashboard/config/scripts/levels/CSD U3 kite template v2.level +++ b/dashboard/config/scripts/levels/CSD U3 kite template v2.level @@ -31,7 +31,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_share_and_remix": "false", "code_functions": { diff --git a/dashboard/config/scripts/levels/CSD U3 my-rect.level b/dashboard/config/scripts/levels/CSD U3 my-rect.level index 985dc0ce4f05f..636b02abdcd65 100644 --- a/dashboard/config/scripts/levels/CSD U3 my-rect.level +++ b/dashboard/config/scripts/levels/CSD U3 my-rect.level @@ -42,7 +42,7 @@ "hide_view_data_button": "false", "show_debug_watch": "true", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "callout_json": "[ \r\n {\r\n \"localization_key\": \"CSD_U3_rect_c1\",\r\n \"callout_text\": \"Here is the code\",\r\n \"element_id\": \"\",\r\n \"on\": \"block_trigger\",\r\n \"qtip_config\": {\r\n \"codeStudio\": {\r\n \"canReappear\": true,\r\n \"dropletPaletteCategory\": \"\",\r\n \"codeString\": \"rect\"\r\n },\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"top center\",\r\n \"at\": \"bottom right\",\r\n \"adjust\": {\r\n \"x\": 50,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"localization_key\": \"CSD_U3_rect_c2\",\r\n \"callout_text\": \"Here is the \\\"Run\\\" button.\",\r\n \"element_id\": \"#runButton\",\r\n \"on\": \"run_trigger\",\r\n \"qtip_config\": {\r\n \"codeStudio\": {\r\n \"canReappear\": true,\r\n \"dropletPaletteCategory\": \"\"\r\n },\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"left top\",\r\n \"at\": \"bottom right\",\r\n \"adjust\": {\r\n \"x\": 0,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n }\r\n]", "markdown_instructions": "# rect(x,y)\r\n\r\nWelcome to Game Lab, where you can create interactive animations and games! \r\n\r\nIn class you already practiced the basics of putting shapes on a grid. In Game Lab, you'll do the same with the display area on the left.\r\n\r\n# Do This\r\n\r\n* Look at the line of code in the workspace below these instructions ( [Show me where](#triggercallout=block_trigger) ) and discuss with your partner where you think the shape will be dawn on the grid. (insert picture of block here) \r\n* Click to run the program and see what happens. ( [Show me where](#triggercallout=run_trigger) )\r\n* Change the numbers in the two different openings, then try running the program again. \r\n* Try to place the rectangle near the bottom right of the screen", diff --git a/dashboard/config/scripts/levels/CSD U3 picture.level b/dashboard/config/scripts/levels/CSD U3 picture.level index cc3c82e7ad3a2..c310dd74f7897 100644 --- a/dashboard/config/scripts/levels/CSD U3 picture.level +++ b/dashboard/config/scripts/levels/CSD U3 picture.level @@ -61,7 +61,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "callout_json": "[]", "markdown_instructions": "# Challenge: Draw an Image\r\n\r\n_Check with your teacher before starting any of the challenges._\r\n\r\nIn the previous lesson you and your partner created several interesting images. See if you can recreate one of them using code.", diff --git a/dashboard/config/scripts/levels/CSD U3 platform background1.level b/dashboard/config/scripts/levels/CSD U3 platform background1.level index 9bbf59ce016c0..12a2ca77e15a7 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform background1.level +++ b/dashboard/config/scripts/levels/CSD U3 platform background1.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 platform background2.level b/dashboard/config/scripts/levels/CSD U3 platform background2.level index 05f68d5d4f564..c2f72d1f72f69 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform background2.level +++ b/dashboard/config/scripts/levels/CSD U3 platform background2.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 platform challenge.level b/dashboard/config/scripts/levels/CSD U3 platform challenge.level index 0958daee51541..41719b4fe610b 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform challenge.level +++ b/dashboard/config/scripts/levels/CSD U3 platform challenge.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 platform challenge1.level b/dashboard/config/scripts/levels/CSD U3 platform challenge1.level index 0c9565a05694c..bee06be97938d 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform challenge1.level +++ b/dashboard/config/scripts/levels/CSD U3 platform challenge1.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 platform draw loop.level b/dashboard/config/scripts/levels/CSD U3 platform draw loop.level index 682ac020b7614..62fb915e80658 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform draw loop.level +++ b/dashboard/config/scripts/levels/CSD U3 platform draw loop.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 platform items.level b/dashboard/config/scripts/levels/CSD U3 platform items.level index a6cd7789bf59d..9eed83a37b279 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform items.level +++ b/dashboard/config/scripts/levels/CSD U3 platform items.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 platform items1.level b/dashboard/config/scripts/levels/CSD U3 platform items1.level index c977a06a46d6e..801ecfca4c3a3 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform items1.level +++ b/dashboard/config/scripts/levels/CSD U3 platform items1.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 platform items2.level b/dashboard/config/scripts/levels/CSD U3 platform items2.level index 11b77828a2d9c..0815b5074bd90 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform items2.level +++ b/dashboard/config/scripts/levels/CSD U3 platform items2.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 platform items3.level b/dashboard/config/scripts/levels/CSD U3 platform items3.level index abf265cbaeda4..504c9e8169bc2 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform items3.level +++ b/dashboard/config/scripts/levels/CSD U3 platform items3.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 platform platform1.level b/dashboard/config/scripts/levels/CSD U3 platform platform1.level index 49052eed0024f..0f275288e06f9 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform platform1.level +++ b/dashboard/config/scripts/levels/CSD U3 platform platform1.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 platform platform2.level b/dashboard/config/scripts/levels/CSD U3 platform platform2.level index 884ff5cf54835..65c8325e90ddd 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform platform2.level +++ b/dashboard/config/scripts/levels/CSD U3 platform platform2.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 platform platform3.level b/dashboard/config/scripts/levels/CSD U3 platform platform3.level index 7be6a813d2c04..cb55f86643405 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform platform3.level +++ b/dashboard/config/scripts/levels/CSD U3 platform platform3.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 platform player1.level b/dashboard/config/scripts/levels/CSD U3 platform player1.level index f39bf7611c0c1..6a06251778c30 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform player1.level +++ b/dashboard/config/scripts/levels/CSD U3 platform player1.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 platform player2.level b/dashboard/config/scripts/levels/CSD U3 platform player2.level index 22f1cdda1f52d..d7614f3a32fc6 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform player2.level +++ b/dashboard/config/scripts/levels/CSD U3 platform player2.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 platform player2b.level b/dashboard/config/scripts/levels/CSD U3 platform player2b.level index bb8dd03eb9039..db2947bdede62 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform player2b.level +++ b/dashboard/config/scripts/levels/CSD U3 platform player2b.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 platform player3.level b/dashboard/config/scripts/levels/CSD U3 platform player3.level index b7d3a7cb40242..98c754dfb1557 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform player3.level +++ b/dashboard/config/scripts/levels/CSD U3 platform player3.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 platform player4.level b/dashboard/config/scripts/levels/CSD U3 platform player4.level index a7b5db3df6322..19ea458249839 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform player4.level +++ b/dashboard/config/scripts/levels/CSD U3 platform player4.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 platform sample.level b/dashboard/config/scripts/levels/CSD U3 platform sample.level index 2223cecb802ca..7a8de761b7b93 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform sample.level +++ b/dashboard/config/scripts/levels/CSD U3 platform sample.level @@ -30,7 +30,7 @@ "show_d_pad": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_blocks": "var score = 0;\r\nvar lives = 3;\r\n\r\nvar platform1 = createSprite(randomNumber(50, 350), 350);\r\nplatform1.setAnimation(\"platform\");\r\nplatform1.velocityY = 0.5;\r\nvar platform2 = createSprite(randomNumber(50, 350), 200);\r\nplatform2.setAnimation(\"platform\");\r\nplatform2.velocityY = 0.5;\r\nvar platform3 = createSprite(randomNumber(50, 350), 50);\r\nplatform3.setAnimation(\"platform\");\r\nplatform3.velocityY = 0.5;\r\n\r\n\r\nvar carrot1 = createSprite(randomNumber(150,250), randomNumber(-10, -310));\r\ncarrot1.setAnimation(\"carrot\");\r\ncarrot1.velocityY = 2;\r\ncarrot1.velocityX = randomNumber(-1,1);\r\ncarrot1.rotationSpeed = randomNumber(10,20);\r\nvar carrot2 = createSprite(randomNumber(150,250), randomNumber(-10, -310));\r\ncarrot2.setAnimation(\"carrot\");\r\ncarrot2.velocityY = 2;\r\ncarrot2.velocityX = randomNumber(-1,1);\r\ncarrot2.rotationSpeed = randomNumber(10,20);\r\nvar carrot3 = createSprite(randomNumber(150,250), randomNumber(-10, -310));\r\ncarrot3.setAnimation(\"carrot\");\r\ncarrot3.velocityY = 2;\r\ncarrot3.velocityX = randomNumber(-1,1);\r\ncarrot3.rotationSpeed = randomNumber(-20,-10);\r\nvar carrot4 = createSprite(randomNumber(150,250), randomNumber(-10, -310));\r\ncarrot4.setAnimation(\"carrot\");\r\ncarrot4.velocityY = 2;\r\ncarrot4.velocityX = randomNumber(-1,1);\r\ncarrot4.rotationSpeed = randomNumber(-20,-10);\r\n\r\n\r\nvar bunny = createSprite(platform2.x,100);\r\nbunny.setAnimation(\"bunnyRight\");\r\nbunny.velocityY = 0.5;\r\n\r\n\r\nfunction draw() {\r\n if (score < 25) {\r\n background1();\r\n } else if (score < 50) {\r\n background2();\r\n } else {\r\n background3();\r\n }\r\n resetPlatforms();\r\n resetCarrots();\r\n carrotInteractions();\r\n bunnyMoves();\r\n bunnyScore();\r\n bunnyFall();\r\n drawSprites();\r\n displayScore();\r\n displayLives();\r\n gravity();\r\n}\r\n\r\nfunction bunnyScore() {\r\n if (bunny.isTouching(carrot1)) {\r\n score = score + 1;\r\n carrot1.x = randomNumber(150,250);\r\n carrot1.y = randomNumber(-10, -110);\r\n carrot1.velocityY = 1;\r\n carrot1.velocityX = randomNumber(-2,2);\r\n }\r\n if (bunny.isTouching(carrot2)) {\r\n score = score + 1;\r\n carrot2.x = randomNumber(150,250);\r\n carrot2.y = randomNumber(-10, -110);\r\n carrot2.velocityY = 1;\r\n carrot2.velocityX = randomNumber(-2,2);\r\n }\r\n if (bunny.isTouching(carrot3)) {\r\n score = score + 1;\r\n carrot3.x = randomNumber(150,250);\r\n carrot3.y = randomNumber(-10, -110);\r\n carrot3.velocityY = 1;\r\n carrot3.velocityX = randomNumber(-2,2);\r\n }\r\n}\r\n\r\nfunction bunnyFall() {\r\n if (bunny.y > 500) {\r\n if (lives <= 1) {\r\n lives = 0;\r\n textSize(30);\r\n text(\"GAME OVER\", 100, 200, 200, 30);\r\n } else {\r\n lives = lives - 1;\r\n bunny.x = 200;\r\n bunny.y = -100;\r\n bunny.velocityY = 1;\r\n }\r\n }\r\n}\r\nfunction bunnyMoves() {\r\n if (bunny.isTouching(platform1)) {\r\n bunny.velocityY = platform1.velocityY;\r\n if (keyWentDown(\"space\")) {\r\n bunny.velocityY = -6;\r\n }\r\n }\r\n if (bunny.isTouching(platform2)) {\r\n bunny.velocityY = platform2.velocityY;\r\n if ( keyWentDown(\"space\")) {\r\n bunny.velocityY = -6;\r\n }\r\n }\r\n if (bunny.isTouching(platform3)) {\r\n bunny.velocityY = platform3.velocityY;\r\n if (keyDown(\"up\") ){\r\n bunny.velocityY = -6;\r\n }\r\n }\r\n\r\n bunny.collide(platform1);\r\n bunny.collide(platform2);\r\n bunny.collide(platform3);\r\n \r\n if (keyDown(\"left\")) {\r\n bunny.setAnimation(\"bunnyLeft\");\r\n bunny.x = bunny.x - 5;\r\n }\r\n if (keyDown(\"right\")) {\r\n bunny.setAnimation(\"bunnyRight\");\r\n bunny.x = bunny.x + 5;\r\n }\r\n}\r\n\r\nfunction resetPlatforms() {\r\n if (platform1.y > 425) {\r\n platform1.y = -25;\r\n platform1.x = randomNumber(50,350);\r\n }\r\n if (platform2.y > 425) {\r\n platform2.y = -25;\r\n platform2.x = randomNumber(50,350);\r\n }\r\n if (platform3.y > 425) {\r\n platform3.y = -25;\r\n platform3.x = randomNumber(50,350);\r\n }\r\n}\r\n\r\nfunction resetCarrots() {\r\n if (carrot1.y > 410) {\r\n carrot1.x = randomNumber(100,100);\r\n carrot1.y = randomNumber(-10, -110);\r\n carrot1.velocityY = 1;\r\n carrot1.velocityX = randomNumber(-2,2);\r\n }\r\n if (carrot2.y > 410) {\r\n carrot2.x = randomNumber(100,100);\r\n carrot2.y = randomNumber(-10, -110);\r\n carrot2.velocityY = 1;\r\n carrot2.velocityX = randomNumber(-2,2);\r\n }\r\n if (carrot3.y > 410) {\r\n carrot3.x = randomNumber(100,100);\r\n carrot3.y = randomNumber(-10, -110);\r\n carrot3.velocityY = 1;\r\n carrot3.velocityX = randomNumber(-2,2);\r\n }\r\n}\r\n\r\nfunction carrotInteractions() {\r\n if (carrot1.isTouching(platform1)) {\r\n carrot1.velocityX = randomNumber(-1,1);\r\n carrot1.velocityY = carrot1.velocityY * 0.7;\r\n carrot1.rotationSpeed = carrot1.rotationSpeed * -1;\r\n }\r\n if (carrot1.isTouching(platform2)) {\r\n carrot1.velocityX = randomNumber(-1,1);\r\n carrot1.velocityY = carrot1.velocityY * 0.7;\r\n carrot1.rotationSpeed = carrot1.rotationSpeed * -1;\r\n }\r\n if (carrot1.isTouching(platform3)) {\r\n carrot1.velocityX = randomNumber(-1,1);\r\n carrot1.velocityY = carrot1.velocityY * 0.7;\r\n carrot1.rotationSpeed = carrot1.rotationSpeed * -1;\r\n }\r\n if (carrot2.isTouching(platform1)) {\r\n carrot1.velocityX = randomNumber(-1,1);\r\n carrot2.velocityY = carrot2.velocityY * 0.7;\r\n carrot2.rotationSpeed = carrot2.rotationSpeed * -1;\r\n }\r\n if (carrot2.isTouching(platform2)) {\r\n carrot2.velocityX = randomNumber(-1,1);\r\n carrot2.velocityY = carrot2.velocityY * 0.7;\r\n carrot2.rotationSpeed = carrot2.rotationSpeed * -1;\r\n }\r\n if (carrot2.isTouching(platform3)) {\r\n carrot2.velocityX = randomNumber(-1,1);\r\n carrot2.velocityY = carrot2.velocityY * 0.7;\r\n carrot2.rotationSpeed = carrot2.rotationSpeed * -1;\r\n }\r\n if (carrot3.isTouching(platform1)) {\r\n carrot3.velocityX = randomNumber(-1,1);\r\n carrot3.velocityY = carrot3.velocityY * 0.7;\r\n carrot3.rotationSpeed = carrot3.rotationSpeed * -1;\r\n }\r\n if (carrot3.isTouching(platform2)) {\r\n carrot3.velocityX = randomNumber(-1,1);\r\n carrot3.velocityY = carrot3.velocityY * 0.7;\r\n carrot3.rotationSpeed = carrot3.rotationSpeed * -1;\r\n }\r\n if (carrot3.isTouching(platform3)) {\r\n carrot3.velocityX = randomNumber(-1,1);\r\n carrot3.velocityY = carrot3.velocityY * 0.7;\r\n carrot3.rotationSpeed = carrot3.rotationSpeed * -1;\r\n }\r\n carrot1.bounceOff(platform1);\r\n carrot1.bounceOff(platform2);\r\n carrot1.bounceOff(platform3);\r\n carrot2.bounceOff(platform1);\r\n carrot2.bounceOff(platform2);\r\n carrot2.bounceOff(platform3);\r\n carrot3.bounceOff(platform1);\r\n carrot3.bounceOff(platform2);\r\n carrot3.bounceOff(platform3);\r\n}\r\n\r\nfunction gravity() {\r\n carrot1.velocityY = carrot1.velocityY + 0.2;\r\n carrot2.velocityY = carrot2.velocityY + 0.2;\r\n carrot3.velocityY = carrot3.velocityY + 0.2;\r\n bunny.velocityY = bunny.velocityY + 0.1;\r\n}\r\n\r\nfunction background1() {\r\n background(\"skyblue\");\r\n fill(\"white\");\r\n noStroke();\r\n ellipse(95, 105, 90, 100);\r\n ellipse(105, 125, 90, 100);\r\n ellipse(75, 120, 100, 70);\r\n ellipse(125, 115, 100, 70);\r\n fill(\"yellow\");\r\n ellipse(340, 50, 60, 60);\r\n fill(\"black\");\r\n \r\n}\r\n\r\nfunction background2() {\r\n background(\"darkBlue\");\r\n noStroke();\r\n fill(\"yellow\");\r\n ellipse(340, 50, 60, 60);\r\n fill(\"darkBlue\");\r\n ellipse(320, 30, 60, 60);\r\n stroke(\"yellow\");\r\n ellipse(randomNumber(0, 400), randomNumber(0, 400), 2, 2);\r\n ellipse(randomNumber(0, 400), randomNumber(0, 400), 2, 2);\r\n ellipse(randomNumber(0, 400), randomNumber(0, 400), 2, 2);\r\n ellipse(randomNumber(0, 400), randomNumber(0, 400), 2, 2);\r\n ellipse(randomNumber(0, 400), randomNumber(0, 400), 2, 2);\r\n\r\n noStroke();\r\n fill(\"white\");\r\n}\r\n\r\nfunction background3() {\r\n background(\"black\");\r\n fill(0,0,255, randomNumber(100,250));\r\n ellipse(randomNumber(0, 400), randomNumber(0, 400), 20, 20);\r\n ellipse(randomNumber(0, 400), randomNumber(0, 400), 20, 20);\r\n fill(200,0,255, randomNumber(100,250));\r\n ellipse(randomNumber(0, 400), randomNumber(0, 400), 20, 20);\r\n ellipse(randomNumber(0, 400), randomNumber(0, 400), 20, 20);\r\n ellipse(randomNumber(0, 400), randomNumber(0, 400), 20, 20);\r\n\r\n \r\n fill(0,255,0, randomNumber(100,250));\r\n \r\n}\r\n\r\nfunction displayScore() {\r\n textSize(20);\r\n text(\"Score:\", 10, 10, 50, 20);\r\n text(score, 80, 10, 30, 20);\r\n}\r\n\r\nfunction displayLives() {\r\n textSize(20);\r\n text(\"Lives:\", 320, 10, 50, 20);\r\n text(lives, 380, 10, 30, 20);\r\n}\r\n", "markdown_instructions": "# Platform Jumper\r\n\r\nThe game on the left is an example of a platform jumper. Press \"Run\" to play it. You can make the bunny bump with the space bar, and move it to the left and right with the arrow keys. You score by collecting carrots, and if you score high enough, the background will change.\r\n\r\nYou have three lives, so if you fall to the bottom of the screen three times, the game will be over.\r\n\r\nYou already know how to use all the blocks you need to make a game just like this one, and you'll be making your own platform jumper in this lesson.", diff --git a/dashboard/config/scripts/levels/CSD U3 platform sample1.level b/dashboard/config/scripts/levels/CSD U3 platform sample1.level index 527f9da4b1cea..ab53c64cad3a4 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform sample1.level +++ b/dashboard/config/scripts/levels/CSD U3 platform sample1.level @@ -31,7 +31,7 @@ "show_d_pad": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"alien\",\r\n \"platform\",\r\n \"star\"\r\n ],\r\n \"propsByKey\": {\r\n \"alien\": {\r\n \"name\": \"alien\",\r\n \"sourceUrl\": \"https://studio.code.org/media?u=https%3A%2F%2Flevelbuilder-studio.code.org%2Fv3%2Fanimations%2FrYCtY0q6UkAeoo87xDAZdg%2Falien.png%3Fversion%3DIoXn9oPbw3G7rH7ZDTaoaEpw2.1HTPuv\",\r\n \"frameSize\": {\r\n \"x\": 64,\r\n \"y\": 80\r\n },\r\n \"frameCount\": 2,\r\n \"looping\": true,\r\n \"frameDelay\": 5,\r\n \"version\": \"IoXn9oPbw3G7rH7ZDTaoaEpw2.1HTPuv\"\r\n },\r\n \"platform\": {\r\n \"name\": \"platform\",\r\n \"sourceUrl\": \"https://studio.code.org/media?u=https%3A%2F%2Flevelbuilder-studio.code.org%2Fmedia%3Fu%3Dhttps%253A%252F%252Fimages.code.org%252F3cc50e1b0cfc52230c8aa3e02e5e85f0-image-1475692266574.png\",\r\n \"frameSize\": {\r\n \"x\": 150,\r\n \"y\": 20\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2\r\n },\r\n \"star\": {\r\n \"name\": \"star\",\r\n \"sourceUrl\": \"https://studio.code.org/media?u=https%3A%2F%2Flevelbuilder-studio.code.org%2Fv3%2Fanimations%2FrYCtY0q6UkAeoo87xDAZdg%2Fstar.png%3Fversion%3Dj.fvcAnKU4gzxrt86yNXM_YgyIQ62MMZ\",\r\n \"frameSize\": {\r\n \"x\": 30,\r\n \"y\": 30\r\n },\r\n \"frameCount\": 4,\r\n \"looping\": true,\r\n \"frameDelay\": 5,\r\n \"version\": \"j.fvcAnKU4gzxrt86yNXM_YgyIQ62MMZ\"\r\n }\r\n }\r\n}", "start_blocks": "var score = 0;\r\nvar player = createSprite(200, -50);\r\nplayer.setAnimation(\"alien\");\r\nvar platform1 = createSprite(300, -12);\r\nplatform1.setAnimation(\"platform\");\r\nplatform1.velocityY = 0.5;\r\nvar platform2 = createSprite(100, 200);\r\nplatform2.setAnimation(\"platform\");\r\nplatform2.velocityY = 0.5;\r\nvar item1 = createSprite(randomNumber(50,350), randomNumber(-10, -310));\r\nitem1.setAnimation(\"star\");\r\nitem1.velocityY = 4;\r\nvar item2 = createSprite(randomNumber(50,350), randomNumber(-10, -310));\r\nitem2.setAnimation(\"star\");\r\nitem2.velocityY = 4;\r\nfunction draw() {\r\n if (score < 25) {\r\n background1();\r\n } else {\r\n background2();\r\n }\r\n loopPlatforms();\r\n loopItems();\r\n controlPlayer();\r\n playerFall();\r\n catchItems();\r\n showScore();\r\n drawSprites();\r\n}\r\nfunction background1() {\r\n background(\"darkblue\");\r\n noStroke();\r\n fill(\"yellow\");\r\n ellipse(random(0,400), random(0,400), 3,3);\r\n ellipse(random(0,400), random(0,400), 3,3);\r\n}\r\nfunction background2() {\r\n background(\"salmon\");\r\n noStroke();\r\n fill(\"black\");\r\n ellipse(random(0,400), random(0,400), 3,3);\r\n ellipse(random(0,400), random(0,400), 3,3);\r\n}\r\nfunction loopPlatforms() {\r\n if (platform1.y > 410) {\r\n platform1.y = -10;\r\n }\r\n if (platform2.y > 410) {\r\n platform2.y = -10;\r\n }\r\n}\r\nfunction loopItems() {\r\n if (item1.y > 415) {\r\n item1.y = randomNumber(-60,-30);\r\n item1.x = randomNumber(50,350);\r\n } \r\n if (item2.y > 415) {\r\n item2.y = randomNumber(-60,-30);\r\n item2.x = randomNumber(50,350);\r\n }\r\n}\r\nfunction controlPlayer() {\r\n if (keyDown(\"left\")) {\r\n player.x = player.x - 5;\r\n }\r\n if (keyDown(\"right\")) {\r\n player.x = player.x + 5;\r\n }\r\n if (keyDown(\"up\")) {\r\n player.velocityY = -4;\r\n }\r\n}\r\nfunction playerFall() {\r\n player.velocityY = player.velocityY + 0.1;\r\n player.collide(platform1);\r\n player.collide(platform2);\r\n}\r\nfunction catchItems() {\r\n if (player.isTouching(item1)) {\r\n score = score + 1;\r\n item1.y = randomNumber(-100,-30);\r\n item1.x = randomNumber(50,350);\r\n }\r\n if (player.isTouching(item2)) {\r\n score = score + 1;\r\n item2.y = randomNumber(-100,-30);\r\n item2.x = randomNumber(50,350);\r\n }\r\n}\r\nfunction showScore() {\r\n fill(\"white\");\r\n textSize(20);\r\n text(\"Score: \", 10,10,50,20);\r\n text(score, 80, 10, 30,20);\r\n}\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 platform sample2.level b/dashboard/config/scripts/levels/CSD U3 platform sample2.level index 3e34d5bfd4cfe..d24b268fcb2cd 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform sample2.level +++ b/dashboard/config/scripts/levels/CSD U3 platform sample2.level @@ -31,7 +31,7 @@ "show_d_pad": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"00ed4000-8dc9-499a-bf27-6cd3387296c0\",\r\n \"4fac0434-4c7f-4477-907b-c753943a81e1\",\r\n \"5b7e6459-a8c9-440f-927c-72220aa9f62b\",\r\n \"2df75dc1-653c-4adc-9259-1f21c4c7e73e\"\r\n ],\r\n \"propsByKey\": {\r\n \"00ed4000-8dc9-499a-bf27-6cd3387296c0\": {\r\n \"name\": \"platform\",\r\n \"sourceUrl\": \"https://studio.code.org/media?u=https%3A%2F%2Flevelbuilder-studio.code.org%2Fmedia%3Fu%3Dhttps%253A%252F%252Flevelbuilder-studio.code.org%252Fv3%252Fanimations%252FB32pHW9dbPe_sWx51DwcBg%252F00ed4000-8dc9-499a-bf27-6cd3387296c0.png%253Fversion%253D9KxPSvZQ17yyvXbq6WFdxNWbgr8lnPOU\",\r\n \"frameSize\": {\r\n \"x\": 150,\r\n \"y\": 20\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 2,\r\n \"version\": \"9KxPSvZQ17yyvXbq6WFdxNWbgr8lnPOU\"\r\n },\r\n \"4fac0434-4c7f-4477-907b-c753943a81e1\": {\r\n \"name\": \"redPlane\",\r\n \"sourceUrl\": \"https://studio.code.org/media?u=https%3A%2F%2Flevelbuilder-studio.code.org%2Fmedia%3Fu%3Dhttps%253A%252F%252Flevelbuilder-studio.code.org%252Fv3%252Fanimations%252FB32pHW9dbPe_sWx51DwcBg%252F4fac0434-4c7f-4477-907b-c753943a81e1.png%253Fversion%253DrMiitpaU_MsCEdlsjI0p0s7hEqu_UGO4\",\r\n \"frameSize\": {\r\n \"x\": 88,\r\n \"y\": 73\r\n },\r\n \"frameCount\": 4,\r\n \"looping\": true,\r\n \"frameDelay\": 4,\r\n \"version\": \"rMiitpaU_MsCEdlsjI0p0s7hEqu_UGO4\"\r\n },\r\n \"5b7e6459-a8c9-440f-927c-72220aa9f62b\": {\r\n \"name\": \"cloud\",\r\n \"sourceUrl\": \"https://studio.code.org/media?u=https%3A%2F%2Flevelbuilder-studio.code.org%2Fmedia%3Fu%3Dhttps%253A%252F%252Flevelbuilder-studio.code.org%252Fv3%252Fanimations%252FB32pHW9dbPe_sWx51DwcBg%252F5b7e6459-a8c9-440f-927c-72220aa9f62b.png\",\r\n \"frameSize\": {\r\n \"x\": 42,\r\n \"y\": 35\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 4,\r\n \"version\": \"F0OXed1.PUTXxeOFAePHacCV4bLdzc5Z\"\r\n },\r\n \"2df75dc1-653c-4adc-9259-1f21c4c7e73e\": {\r\n \"name\": \"medal\",\r\n \"sourceUrl\": \"https://studio.code.org/media?u=https%3A%2F%2Flevelbuilder-studio.code.org%2Fmedia%3Fu%3Dhttps%253A%252F%252Flevelbuilder-studio.code.org%252Fv3%252Fanimations%252FB32pHW9dbPe_sWx51DwcBg%252F2df75dc1-653c-4adc-9259-1f21c4c7e73e.png%253Fversion%253DM3UBHrq57sk6HOZ6GTFRC0squk7a0VSr\",\r\n \"frameSize\": {\r\n \"x\": 40,\r\n \"y\": 42\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 4,\r\n \"version\": \"M3UBHrq57sk6HOZ6GTFRC0squk7a0VSr\"\r\n }\r\n }\r\n}", "start_blocks": "var score = 0;\r\nvar lives = 3;\r\nvar player = createSprite(200, -50);\r\nplayer.setAnimation(\"redPlane\");\r\nvar platform1 = createSprite(300, 95);\r\nplatform1.setAnimation(\"platform\");\r\nplatform1.velocityY = 1;\r\nvar platform2 = createSprite(100, 200);\r\nplatform2.setAnimation(\"platform\");\r\nplatform2.velocityY = 1;\r\nvar platform3 = createSprite(100, 305);\r\nplatform3.setAnimation(\"platform\");\r\nplatform3.velocityY = 1;\r\nvar platform4 = createSprite(100, 410);\r\nplatform4.setAnimation(\"platform\");\r\nplatform4.velocityY = 1;\r\nvar item1 = createSprite(randomNumber(50,350), randomNumber(-10, -310));\r\nitem1.setAnimation(\"cloud\");\r\nitem1.velocityY = 5;\r\nvar item2 = createSprite(randomNumber(50,350), randomNumber(-10, -310));\r\nitem2.setAnimation(\"cloud\");\r\nitem2.velocityY = 5;\r\nvar bonus = createSprite(randomNumber(50,350), randomNumber(-10, -1000));\r\nbonus.setAnimation(\"medal\");\r\nbonus.velocityY = 5;\r\nbonus.rotationSpeed = 10;\r\nfunction draw() {\r\n if (score < 25) {\r\n background1();\r\n } else {\r\n background2();\r\n }\r\n loopPlatforms();\r\n loopItems();\r\n controlPlayer();\r\n playerFall();\r\n catchItems();\r\n showScore();\r\n drawSprites();\r\n}\r\nfunction background1() {\r\n background(\"skyblue\");\r\n noStroke();\r\n fill(\"yellow\");\r\n ellipse(320, 80, 70,70);\r\n}\r\nfunction background2() {\r\n background(\"salmon\");\r\n noStroke();\r\n fill(\"black\");\r\n ellipse(random(0,400), random(0,400), 3,3);\r\n ellipse(random(0,400), random(0,400), 3,3);\r\n}\r\nfunction loopPlatforms() {\r\n if (platform1.y > 410) {\r\n platform1.y = -10;\r\n platform1.x = randomNumber(50,350);\r\n }\r\n if (platform2.y > 410) {\r\n platform2.y = -10;\r\n platform2.x = randomNumber(50,350);\r\n }\r\n if (platform3.y > 410) {\r\n platform3.y = -10;\r\n platform3.x = randomNumber(50,350);\r\n }\r\n \r\n if (platform4.y > 410) {\r\n platform4.y = -10;\r\n platform4.x = randomNumber(50,350);\r\n }\r\n}\r\nfunction loopItems() {\r\n if (item1.y > 415) {\r\n item1.y = randomNumber(-60,-30);\r\n item1.x = randomNumber(50,350);\r\n } \r\n if (item2.y > 415) {\r\n item2.y = randomNumber(-60,-30);\r\n item2.x = randomNumber(50,350);\r\n }\r\n if (bonus.y > 415) {\r\n bonus.y = randomNumber(-1000,-30);\r\n bonus.x = randomNumber(50,350);\r\n }\r\n}\r\nfunction controlPlayer() {\r\n if (keyDown(\"left\") && player.x > 30) {\r\n player.x = player.x - 5;\r\n }\r\n if (keyDown(\"right\") && player.x < 370) {\r\n player.x = player.x + 5;\r\n }\r\n if (keyWentDown(\"up\") && player.y > 0) {\r\n player.velocityY = -4;\r\n }\r\n if (keyWentDown(\"space\") && player.y > 0) {\r\n player.velocityY = -4;\r\n }\r\n}\r\nfunction playerFall() {\r\n player.velocityY = player.velocityY + 0.2;\r\n player.collide(platform1);\r\n player.collide(platform2);\r\n player.collide(platform3);\r\n player.collide(platform4);\r\n if (player.y > 415) {\r\n if (lives > 0) {\r\n lives = lives - 1;\r\n player.y = 20;\r\n player.x = 200;\r\n player.velocityY = 0;\r\n } else {\r\n fill(\"white\");\r\n textSize(50);\r\n text(\"GAME OVER\" , 40, 150, 380, 60);\r\n }\r\n }\r\n}\r\nfunction catchItems() {\r\n if (player.isTouching(item1)) {\r\n score = score + 1;\r\n item1.y = randomNumber(-100,-30);\r\n item1.x = randomNumber(50,350);\r\n }\r\n if (player.isTouching(item2)) {\r\n score = score + 1;\r\n item2.y = randomNumber(-100,-30);\r\n item2.x = randomNumber(50,350);\r\n }\r\n if (player.isTouching(bonus)) {\r\n lives = lives + 1;\r\n bonus.y = randomNumber(-1000,-30);\r\n bonus.x = randomNumber(50,350);\r\n }\r\n}\r\nfunction showScore() {\r\n fill(\"white\");\r\n textSize(20);\r\n text(\"Score: \", 10,10,50,20);\r\n text(score, 80, 10, 30,20);\r\n text(\"Lives: \", 250,10,50,20);\r\n text(lives, 340, 10, 30,20);\r\n}", diff --git a/dashboard/config/scripts/levels/CSD U3 platform sample3.level b/dashboard/config/scripts/levels/CSD U3 platform sample3.level index af587361ff69a..de862a5dc97d5 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform sample3.level +++ b/dashboard/config/scripts/levels/CSD U3 platform sample3.level @@ -30,7 +30,7 @@ "show_d_pad": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "start_blocks": "var score = 0;\r\nvar lives = 3;\r\n\r\nvar platform1 = createSprite(randomNumber(50, 350), 350);\r\nplatform1.setAnimation(\"platform\");\r\nplatform1.velocityY = 0.5;\r\nvar platform2 = createSprite(randomNumber(50, 350), 200);\r\nplatform2.setAnimation(\"platform\");\r\nplatform2.velocityY = 0.5;\r\nvar platform3 = createSprite(randomNumber(50, 350), 50);\r\nplatform3.setAnimation(\"platform\");\r\nplatform3.velocityY = 0.5;\r\n\r\n\r\nvar carrot1 = createSprite(randomNumber(150,250), randomNumber(-10, -310));\r\ncarrot1.setAnimation(\"carrot\");\r\ncarrot1.velocityY = 2;\r\ncarrot1.velocityX = randomNumber(-1,1);\r\ncarrot1.rotationSpeed = randomNumber(10,20);\r\nvar carrot2 = createSprite(randomNumber(150,250), randomNumber(-10, -310));\r\ncarrot2.setAnimation(\"carrot\");\r\ncarrot2.velocityY = 2;\r\ncarrot2.velocityX = randomNumber(-1,1);\r\ncarrot2.rotationSpeed = randomNumber(10,20);\r\nvar carrot3 = createSprite(randomNumber(150,250), randomNumber(-10, -310));\r\ncarrot3.setAnimation(\"carrot\");\r\ncarrot3.velocityY = 2;\r\ncarrot3.velocityX = randomNumber(-1,1);\r\ncarrot3.rotationSpeed = randomNumber(-20,-10);\r\nvar carrot4 = createSprite(randomNumber(150,250), randomNumber(-10, -310));\r\ncarrot4.setAnimation(\"carrot\");\r\ncarrot4.velocityY = 2;\r\ncarrot4.velocityX = randomNumber(-1,1);\r\ncarrot4.rotationSpeed = randomNumber(-20,-10);\r\n\r\n\r\nvar bunny = createSprite(platform2.x,100);\r\nbunny.setAnimation(\"bunnyRight\");\r\nbunny.velocityY = 0.5;\r\n\r\n\r\nfunction draw() {\r\n if (score < 25) {\r\n background1();\r\n } else if (score < 50) {\r\n background2();\r\n } else {\r\n background3();\r\n }\r\n resetPlatforms();\r\n resetCarrots();\r\n carrotInteractions();\r\n bunnyScore();\r\n bunnyFall();\r\n displayScore();\r\n displayLives();\r\n gravity();\r\n bunnyMoves();\r\n drawSprites();\r\n}\r\n\r\nfunction bunnyScore() {\r\n if (bunny.isTouching(carrot1)) {\r\n score = score + 1;\r\n carrot1.x = randomNumber(150,250);\r\n carrot1.y = randomNumber(-10, -110);\r\n carrot1.velocityY = 1;\r\n carrot1.velocityX = randomNumber(-2,2);\r\n }\r\n if (bunny.isTouching(carrot2)) {\r\n score = score + 1;\r\n carrot2.x = randomNumber(150,250);\r\n carrot2.y = randomNumber(-10, -110);\r\n carrot2.velocityY = 1;\r\n carrot2.velocityX = randomNumber(-2,2);\r\n }\r\n if (bunny.isTouching(carrot3)) {\r\n score = score + 1;\r\n carrot3.x = randomNumber(150,250);\r\n carrot3.y = randomNumber(-10, -110);\r\n carrot3.velocityY = 1;\r\n carrot3.velocityX = randomNumber(-2,2);\r\n }\r\n}\r\n\r\nfunction bunnyFall() {\r\n if (bunny.y > 500) {\r\n if (lives <= 1) {\r\n lives = 0;\r\n textSize(30);\r\n text(\"GAME OVER\", 100, 200, 200, 30);\r\n } else {\r\n lives = lives - 1;\r\n bunny.x = 200;\r\n bunny.y = -100;\r\n bunny.velocityY = 1;\r\n }\r\n }\r\n}\r\nfunction bunnyMoves() {\r\n \r\n bunny.collide(platform1);\r\n bunny.collide(platform2);\r\n bunny.collide(platform3);\r\n \r\n\r\n if (keyWentDown(\"space\")) {\r\n bunny.velocityY = -7;\r\n }\r\n if (keyDown(\"up\") ){\r\n bunny.velocityY = -7;\r\n }\r\n\r\n if (keyDown(\"left\")) {\r\n bunny.setAnimation(\"bunnyLeft\");\r\n bunny.x = bunny.x - 5;\r\n }\r\n if (keyDown(\"right\")) {\r\n bunny.setAnimation(\"bunnyRight\");\r\n bunny.x = bunny.x + 5;\r\n }\r\n}\r\n\r\nfunction resetPlatforms() {\r\n if (platform1.y > 425) {\r\n platform1.y = -25;\r\n platform1.x = randomNumber(50,350);\r\n }\r\n if (platform2.y > 425) {\r\n platform2.y = -25;\r\n platform2.x = randomNumber(50,350);\r\n }\r\n if (platform3.y > 425) {\r\n platform3.y = -25;\r\n platform3.x = randomNumber(50,350);\r\n }\r\n}\r\n\r\nfunction resetCarrots() {\r\n if (carrot1.y > 410) {\r\n carrot1.x = randomNumber(100,100);\r\n carrot1.y = randomNumber(-10, -110);\r\n carrot1.velocityY = 1;\r\n carrot1.velocityX = randomNumber(-2,2);\r\n }\r\n if (carrot2.y > 410) {\r\n carrot2.x = randomNumber(100,100);\r\n carrot2.y = randomNumber(-10, -110);\r\n carrot2.velocityY = 1;\r\n carrot2.velocityX = randomNumber(-2,2);\r\n }\r\n if (carrot3.y > 410) {\r\n carrot3.x = randomNumber(100,100);\r\n carrot3.y = randomNumber(-10, -110);\r\n carrot3.velocityY = 1;\r\n carrot3.velocityX = randomNumber(-2,2);\r\n }\r\n}\r\n\r\nfunction carrotInteractions() {\r\n if (carrot1.isTouching(platform1)) {\r\n carrot1.velocityX = randomNumber(-1,1);\r\n carrot1.velocityY = carrot1.velocityY * 0.7;\r\n carrot1.rotationSpeed = carrot1.rotationSpeed * -1;\r\n }\r\n if (carrot1.isTouching(platform2)) {\r\n carrot1.velocityX = randomNumber(-1,1);\r\n carrot1.velocityY = carrot1.velocityY * 0.7;\r\n carrot1.rotationSpeed = carrot1.rotationSpeed * -1;\r\n }\r\n if (carrot1.isTouching(platform3)) {\r\n carrot1.velocityX = randomNumber(-1,1);\r\n carrot1.velocityY = carrot1.velocityY * 0.7;\r\n carrot1.rotationSpeed = carrot1.rotationSpeed * -1;\r\n }\r\n if (carrot2.isTouching(platform1)) {\r\n carrot1.velocityX = randomNumber(-1,1);\r\n carrot2.velocityY = carrot2.velocityY * 0.7;\r\n carrot2.rotationSpeed = carrot2.rotationSpeed * -1;\r\n }\r\n if (carrot2.isTouching(platform2)) {\r\n carrot2.velocityX = randomNumber(-1,1);\r\n carrot2.velocityY = carrot2.velocityY * 0.7;\r\n carrot2.rotationSpeed = carrot2.rotationSpeed * -1;\r\n }\r\n if (carrot2.isTouching(platform3)) {\r\n carrot2.velocityX = randomNumber(-1,1);\r\n carrot2.velocityY = carrot2.velocityY * 0.7;\r\n carrot2.rotationSpeed = carrot2.rotationSpeed * -1;\r\n }\r\n if (carrot3.isTouching(platform1)) {\r\n carrot3.velocityX = randomNumber(-1,1);\r\n carrot3.velocityY = carrot3.velocityY * 0.7;\r\n carrot3.rotationSpeed = carrot3.rotationSpeed * -1;\r\n }\r\n if (carrot3.isTouching(platform2)) {\r\n carrot3.velocityX = randomNumber(-1,1);\r\n carrot3.velocityY = carrot3.velocityY * 0.7;\r\n carrot3.rotationSpeed = carrot3.rotationSpeed * -1;\r\n }\r\n if (carrot3.isTouching(platform3)) {\r\n carrot3.velocityX = randomNumber(-1,1);\r\n carrot3.velocityY = carrot3.velocityY * 0.7;\r\n carrot3.rotationSpeed = carrot3.rotationSpeed * -1;\r\n }\r\n carrot1.bounceOff(platform1);\r\n carrot1.bounceOff(platform2);\r\n carrot1.bounceOff(platform3);\r\n carrot2.bounceOff(platform1);\r\n carrot2.bounceOff(platform2);\r\n carrot2.bounceOff(platform3);\r\n carrot3.bounceOff(platform1);\r\n carrot3.bounceOff(platform2);\r\n carrot3.bounceOff(platform3);\r\n}\r\n\r\nfunction gravity() {\r\n carrot1.velocityY = carrot1.velocityY + 0.2;\r\n carrot2.velocityY = carrot2.velocityY + 0.2;\r\n carrot3.velocityY = carrot3.velocityY + 0.2;\r\n bunny.velocityY = bunny.velocityY + 0.1;\r\n}\r\n\r\nfunction background1() {\r\n background(\"skyblue\");\r\n fill(\"white\");\r\n noStroke();\r\n ellipse(95, 105, 90, 100);\r\n ellipse(105, 125, 90, 100);\r\n ellipse(75, 120, 100, 70);\r\n ellipse(125, 115, 100, 70);\r\n fill(\"yellow\");\r\n ellipse(340, 50, 60, 60);\r\n fill(\"black\");\r\n \r\n}\r\n\r\nfunction background2() {\r\n background(\"darkBlue\");\r\n noStroke();\r\n fill(\"yellow\");\r\n ellipse(340, 50, 60, 60);\r\n fill(\"darkBlue\");\r\n ellipse(320, 30, 60, 60);\r\n stroke(\"yellow\");\r\n ellipse(randomNumber(0, 400), randomNumber(0, 400), 2, 2);\r\n ellipse(randomNumber(0, 400), randomNumber(0, 400), 2, 2);\r\n ellipse(randomNumber(0, 400), randomNumber(0, 400), 2, 2);\r\n ellipse(randomNumber(0, 400), randomNumber(0, 400), 2, 2);\r\n ellipse(randomNumber(0, 400), randomNumber(0, 400), 2, 2);\r\n\r\n noStroke();\r\n fill(\"white\");\r\n}\r\n\r\nfunction background3() {\r\n background(\"black\");\r\n fill(0,0,255, randomNumber(100,250));\r\n ellipse(randomNumber(0, 400), randomNumber(0, 400), 20, 20);\r\n ellipse(randomNumber(0, 400), randomNumber(0, 400), 20, 20);\r\n fill(200,0,255, randomNumber(100,250));\r\n ellipse(randomNumber(0, 400), randomNumber(0, 400), 20, 20);\r\n ellipse(randomNumber(0, 400), randomNumber(0, 400), 20, 20);\r\n ellipse(randomNumber(0, 400), randomNumber(0, 400), 20, 20);\r\n\r\n \r\n fill(0,255,0, randomNumber(100,250));\r\n \r\n}\r\n\r\nfunction displayScore() {\r\n textSize(20);\r\n text(\"Score:\", 10, 10, 50, 20);\r\n text(score, 80, 10, 30, 20);\r\n}\r\n\r\nfunction displayLives() {\r\n textSize(20);\r\n text(\"Lives:\", 320, 10, 50, 20);\r\n text(lives, 380, 10, 30, 20);\r\n}\r\n", "markdown_instructions": "# Bunny Jumper\r\n\r\nHere's another example of a jumper. In this one, the items get faster when they fall, and bounce off the platforms.\r\n\r\nChoose one or more of the following changes and add them to your game.\r\n* Make your player's animation change direction when the player changes direction.\r\n* Add another background and make it appear when the score gets even higher.\r\n* Make your items interact with the platforms in some way.\r\n\r\n", diff --git a/dashboard/config/scripts/levels/CSD U3 platform scoreboard.level b/dashboard/config/scripts/levels/CSD U3 platform scoreboard.level index 2e311f99f5678..8e05798a4e5ac 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform scoreboard.level +++ b/dashboard/config/scripts/levels/CSD U3 platform scoreboard.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 platform template.level b/dashboard/config/scripts/levels/CSD U3 platform template.level index 6ccc19a4ea571..29b42985d8ffc 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform template.level +++ b/dashboard/config/scripts/levels/CSD U3 platform template.level @@ -28,7 +28,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 platform variable1.level b/dashboard/config/scripts/levels/CSD U3 platform variable1.level index 6265776726762..d9f74b22a3113 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform variable1.level +++ b/dashboard/config/scripts/levels/CSD U3 platform variable1.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 platform variables.level b/dashboard/config/scripts/levels/CSD U3 platform variables.level index 03f2281d7ac96..85482f7e49284 100644 --- a/dashboard/config/scripts/levels/CSD U3 platform variables.level +++ b/dashboard/config/scripts/levels/CSD U3 platform variables.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "hide_animation_mode": "false", "show_d_pad": "false", "pause_animations_by_default": "false", diff --git a/dashboard/config/scripts/levels/CSD U3 rect.level b/dashboard/config/scripts/levels/CSD U3 rect.level index 082c81233276e..7d9875cdf61ab 100644 --- a/dashboard/config/scripts/levels/CSD U3 rect.level +++ b/dashboard/config/scripts/levels/CSD U3 rect.level @@ -51,7 +51,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "callout_json": "[ \r\n {\r\n \"localization_key\": \"CSD_U3_rect_c1\",\r\n \"callout_text\": \"Here is the code\",\r\n \"element_id\": \"\",\r\n \"on\": \"block_trigger\",\r\n \"qtip_config\": {\r\n \"codeStudio\": {\r\n \"canReappear\": true,\r\n \"dropletPaletteCategory\": \"\",\r\n \"codeString\": \"rect\"\r\n },\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"top center\",\r\n \"at\": \"bottom right\",\r\n \"adjust\": {\r\n \"x\": 50,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"localization_key\": \"CSD_U3_rect_c2\",\r\n \"callout_text\": \"Here is the \\\"Run\\\" button.\",\r\n \"element_id\": \"#runButton\",\r\n \"on\": \"run_trigger\",\r\n \"qtip_config\": {\r\n \"codeStudio\": {\r\n \"canReappear\": true,\r\n \"dropletPaletteCategory\": \"\"\r\n },\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"left top\",\r\n \"at\": \"bottom right\",\r\n \"adjust\": {\r\n \"x\": 0,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n }\r\n]", "markdown_instructions": "# Explore Game Lab\r\n\r\nWelcome to Game Lab, where you can create interactive animations and games! \r\n\r\nYou've already practiced the basics of putting shapes on a grid. In Game Lab, you'll do the same with the display area on the left.\r\n\r\n# Do This\r\n\r\n* Look at the line of code in the workspace below these instructions ( [Show me where](#triggercallout=block_trigger) ) and discuss with your partner where you think the shape will be drawn on the grid.\r\n* Click to run the program and see what happens. ( [Show me where](#triggercallout=run_trigger) )\r\n* Change the numbers inside the block, then try running the program again.\r\n* Try to place the rectangle near the bottom right of the screen.", diff --git a/dashboard/config/scripts/levels/CSD U3 sequence.level b/dashboard/config/scripts/levels/CSD U3 sequence.level index 198bcfcb33579..93690ea69322a 100644 --- a/dashboard/config/scripts/levels/CSD U3 sequence.level +++ b/dashboard/config/scripts/levels/CSD U3 sequence.level @@ -52,7 +52,7 @@ "hide_view_data_button": "false", "show_debug_watch": "false", "expand_debugger": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "pause_animations_by_default": "false", "callout_json": "[ \r\n {\r\n \"localization_key\": \"CSD_U3_rect_c1\",\r\n \"callout_text\": \"Here is the code\",\r\n \"element_id\": \"\",\r\n \"on\": \"fill\",\r\n \"qtip_config\": {\r\n \"codeStudio\": {\r\n \"canReappear\": true,\r\n \"dropletPaletteCategory\": \"\",\r\n \"codeString\": \"fill\"\r\n },\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"top center\",\r\n \"at\": \"bottom right\",\r\n \"adjust\": {\r\n \"x\": 50,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"localization_key\": \"CSD_U3_rect_c2\",\r\n \"callout_text\": \"Drag this block into the code area.\",\r\n \"element_id\": \"#droplet_palette_block_rect\",\r\n \"on\": \"rect_block\",\r\n \"qtip_config\": {\r\n \"codeStudio\": {\r\n \"canReappear\": true,\r\n \"dropletPaletteCategory\": \"\"\r\n },\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"left center\",\r\n \"at\": \"right center\",\r\n \"adjust\": {\r\n \"x\": 0,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n }\r\n]", "markdown_instructions": "\r\n# Order Matters\r\n\r\nIn Game Lab, it matters what order your code is in. New shapes are drawn on top of the ones that came before, covering up the shapes that are drawn first. You can see the difference when you use more than one color in your code.\r\n\r\n# Do This\r\n\r\n* Look at the code that draws the two rectangles. The first is drawn red, and the second is drawn blue.\r\n* Change the red rectangle's color to green.\r\n* Change the order of the code so the green rectangle appears on top.", diff --git a/dashboard/config/scripts/levels/CSD U3- arrows template.level b/dashboard/config/scripts/levels/CSD U3- arrows template.level index a6a050b719475..17758d8115caa 100644 --- a/dashboard/config/scripts/levels/CSD U3- arrows template.level +++ b/dashboard/config/scripts/levels/CSD U3- arrows template.level @@ -31,7 +31,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "true", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_animations": "{\r\n \"orderedKeys\": [\r\n \"632b7a80-3526-48b4-8b27-333199f6d3cf\",\r\n \"0f775d6a-177e-4b8e-a152-df070aa5e3d2\",\r\n \"05abc816-2a69-4696-b6a7-f31a576a7d6c\"\r\n ],\r\n \"propsByKey\": {\r\n \"632b7a80-3526-48b4-8b27-333199f6d3cf\": {\r\n \"name\": \"bee\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/4TwrQUly6PDa9O2izubCkg/632b7a80-3526-48b4-8b27-333199f6d3cf.png?version=NSixfcN8r9yoB788st2wA1ZyhYX3gFD9\",\r\n \"frameSize\": {\r\n \"x\": 102,\r\n \"y\": 86\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 4,\r\n \"version\": \"NSixfcN8r9yoB788st2wA1ZyhYX3gFD9\"\r\n },\r\n \"0f775d6a-177e-4b8e-a152-df070aa5e3d2\": {\r\n \"name\": \"fly\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/4TwrQUly6PDa9O2izubCkg/0f775d6a-177e-4b8e-a152-df070aa5e3d2.png?version=zIRxxvEvltq9SAcgd8_R0gCfzNpV5_2g\",\r\n \"frameSize\": {\r\n \"x\": 104,\r\n \"y\": 82\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 4,\r\n \"version\": \"zIRxxvEvltq9SAcgd8_R0gCfzNpV5_2g\"\r\n },\r\n \"05abc816-2a69-4696-b6a7-f31a576a7d6c\": {\r\n \"name\": \"ladybug\",\r\n \"sourceUrl\": \"https://levelbuilder-studio.code.org/v3/animations/4TwrQUly6PDa9O2izubCkg/05abc816-2a69-4696-b6a7-f31a576a7d6c.png?version=ECdXjgdonalwQMtiItPfCSm9ePZwI7gp\",\r\n \"frameSize\": {\r\n \"x\": 106,\r\n \"y\": 62\r\n },\r\n \"frameCount\": 1,\r\n \"looping\": true,\r\n \"frameDelay\": 4,\r\n \"version\": \"ECdXjgdonalwQMtiItPfCSm9ePZwI7gp\"\r\n }\r\n }\r\n}", "instructions_important": "false", "hide_animation_mode": "false", diff --git a/dashboard/config/scripts/levels/PS clone CSD U3 Variables Predict Where XY.level b/dashboard/config/scripts/levels/PS clone CSD U3 Variables Predict Where XY.level index ac4ab3d188bf8..14f3b78cc3495 100644 --- a/dashboard/config/scripts/levels/PS clone CSD U3 Variables Predict Where XY.level +++ b/dashboard/config/scripts/levels/PS clone CSD U3 Variables Predict Where XY.level @@ -35,7 +35,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_animation_mode": "true", "start_in_animation_tab": "false", diff --git a/dashboard/config/scripts/levels/PS copy - CSD U3 Variables change circle size.level b/dashboard/config/scripts/levels/PS copy - CSD U3 Variables change circle size.level index a87fead7045fd..70df62853674d 100644 --- a/dashboard/config/scripts/levels/PS copy - CSD U3 Variables change circle size.level +++ b/dashboard/config/scripts/levels/PS copy - CSD U3 Variables change circle size.level @@ -39,7 +39,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_animation_mode": "true", "start_in_animation_tab": "false", diff --git a/dashboard/config/scripts/levels/PS copy CSD U3 Variables Predict Where XY.level b/dashboard/config/scripts/levels/PS copy CSD U3 Variables Predict Where XY.level index aec803cc4da2e..317f45e2efe44 100644 --- a/dashboard/config/scripts/levels/PS copy CSD U3 Variables Predict Where XY.level +++ b/dashboard/config/scripts/levels/PS copy CSD U3 Variables Predict Where XY.level @@ -35,7 +35,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions_important": "false", "hide_animation_mode": "true", "start_in_animation_tab": "false", diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - Background.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - Background.level index bb94695377632..2d9f1ed9b0c74 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - Background.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - Background.level @@ -44,7 +44,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - Color.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - Color.level index 66485ef62a911..8e71882b87471 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - Color.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - Color.level @@ -33,7 +33,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# RGB Color\r\n\r\nJust like in HTML and CSS we can use RGB values to determine the color.\r\n\r\nIn game lab we do this with the color block\r\n\r\n\r\n# Do This\r\n\r\n* Make each rectangle a different color using the rgb color functions", "start_blocks": "rect(0, 0, 400, 400);\r\nrect(100, 100, 300, 300);\r\nrect(200, 200, 200, 200);\r\nrect(300, 300, 100, 100);", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - Comments.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - Comments.level index c4a50bcd79ac9..4f6032fb8318c 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - Comments.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - Comments.level @@ -42,7 +42,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "project_template_level_name": "U3 - Simple Drawing - Rings Template", "instructions": "Do this", "markdown_instructions": "# Comments and White Space\r\n\r\nIn HTML and CSS you learned about commenting and white space as important practices. You can comment in Game Lab using `//` before our comment. For example . You have already seen examples of this in some of the past levels. The comment block can be found in the most tabs. However it may be easier to switch to text mode and type in comments yourself. If you haven't tried it yet click and try using Game Lab in text mode. It is actually impossible to add white space without switching to text mode, so in order to group your code using white space, you will have to switch to text mode. \r\n\r\n# Do This\r\nYou are going to practice using comments and white space in your rainbow program. \r\n\r\n* Separate each band of the rainbow and the grass into its own block of code\r\n* Put a comment before the block to tell which color band it is\r\n\r\nFor example your first couple lines of code should look like this:\r\n\r\n", diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - Ellipse and No Fill.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - Ellipse and No Fill.level index a4d4a95443bd8..309b204dd8764 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - Ellipse and No Fill.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - Ellipse and No Fill.level @@ -34,7 +34,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "project_template_level_name": "U3 - Simple Drawing - Rings Template", "instructions": "Do this", "markdown_instructions": "# Project Levels\r\n\r\nAlright, let's start drawing some pictures! You are going to work on drawing a rainbow. You are going to do this in steps broken out over a series of levels. Don't worry, though; your code will pass from one level to the next as you make updates. As a result, you can work on one project over a bunch of levels. In the future, you will call this a set of **Project Levels**. Whenever something is part of a set of project levels you will see this warning: \r\n\r\n\r\n\r\n# Draw Rainbow\r\n \r\n\r\nIn order to draw a rainbow you are going to use ellipses. You are probably wondering how you can draw a rainbow with circles. You are going to use a sneaky trick! You can hide half of the circle under rectangles so it looks like they don't exist. Check out the images to the right.\r\n\r\n# Do This\r\nThe starter code contains 3 of the ellipses for the rainbow. Your final result should look like the drawing above on the right. You will need to:\r\n\r\n* Add 4 more ellipses all with the same x and y position as the first three\r\n* Size the ellipses appropriately\r\n\t* The smallest ellipse has a width of 100 and a height of 100\r\n * Each ellipse's width and height are 50 bigger than the one inside of it\r\n* Add a rectangle for grass", diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - Fill.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - Fill.level index aff627ca3f428..ee662695ffd2e 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - Fill.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - Fill.level @@ -33,7 +33,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Fill\r\n\r\nNow, let's add some color to your rectangles! You can do that with the `fill` block. Setting the `fill` is like picking the color of pen you are going to draw with, and using only that color of pen until you choose a different one.\r\n\r\n* When you set `fill`, everything that is drawn after that point will have that fill color. \r\n* You need to set `fill` **before** the shape you want it to apply to. \r\n\r\nThe color of the pen is specified by a lowercase word inside `\" \"` and is the name of the color. You can use any color name you have used in CSS. For example `fill(\"blue\")` will set the fill color to blue. A full list of names can be found at W3 Schools - Colors. \r\n\r\n# Do This\r\n\r\nIf you run the program, you will notice that all the rectangles are set to red. Make each rectangle a different color:\r\n\r\n* Add 3 more fill statements - one before each rectangle\r\n* Change the fill colors so that each rectangle is a different color", "start_blocks": "fill(\"red\");\r\nrect(0, 0, 400, 400);\r\n// Add code between these lines to change the color of the rectangle\r\nrect(50, 50, 300, 300);\r\n// Add code between these lines to change the color of the rectangle\r\nrect(100, 100, 200, 200);\r\n// Add code between these lines to change the color of the rectangle\r\nrect(150, 150, 100, 100);", "callout_json": "[\r\n {\r\n \"localization_key\": \"\",\r\n \"element_id\": \"#droplet_palette_block_fill\",\r\n \"callout_text\": \"Use this block to set the color of shapes\",\r\n \"qtip_config\": {\r\n \t\"position\": {\r\n \"my\": \"top right\",\r\n \"at\": \"center center\",\r\n \"adjust\": {\r\n \"x\": 0,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n }\r\n]", diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - Many Rects.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - Many Rects.level index 51599e09d23cf..f1ceac3135814 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - Many Rects.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - Many Rects.level @@ -33,7 +33,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Many Rects\r\n\r\nWe can have more than one rect on the screen at a time\r\n\r\ncurrently there are 4 rectangles on the screen but its hard to tell\r\n\r\n\r\n\r\n# Do This\r\n\r\n* Make each rectangle a different color\r\n* Make the rects each take up one corner of the screen like such\r\n\r\n", "start_blocks": "rect(0, 40, 200, 300);\r\nrect(50, 10, 100, 50);\r\nrect(200, 100, 350, 220);\r\nrect(75, 200, 130, 130);", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - No Fill.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - No Fill.level index f6ab67f53602a..8a3aae7ae7271 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - No Fill.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - No Fill.level @@ -45,7 +45,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "project_template_level_name": "U3 - Simple Drawing - Rings Template", "instructions": "Do this", "markdown_instructions": "# Stroke Weight, No Fill and No Stroke\r\n\r\nAlright, now that you have made the outlines the correct colors, let's remove the gray fill. You can remove the fill with the command . This is similar to fill in that it has to go before the things you want to not have fill. \r\n\r\nAnother new block you are going to leverage is . This allows you to make the outline you create thicker. The value you input is the thickness.\r\n\r\nLastly, you can use to remove the stroke. You are going to want this for the grass as you just want a green rectangle with no outline. \r\n\r\n# Do This\r\n\r\n\r\n\r\nThe final product is shown to the right. In order to get there:\r\n\r\n* Add `noFill` as the first line in the program so that the gray middle of all the shapes disappears\r\n* Make the `strokeWeight` large enough that the bands all touch (25)\r\n* Notice that the fill disappeared for the grass. Add `fill` for grass\r\n* Remove the border on the grass by using `noStroke`\r\n", diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - Order of Blocks.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - Order of Blocks.level index 1954baf4d6f03..eb6edfe62a7e2 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - Order of Blocks.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - Order of Blocks.level @@ -32,7 +32,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Order of Code Matters\r\n\r\nThe order of the blocks of code matters. Computer code is read from top to bottom, in order. The computer will run the step on the first line, then the second line, and so on. This means that when you want something at the **back of your picture, it should be at the top of the program** and when you want something at the **front of your picture, it should be at the bottom of the program.**\r\n\r\n# Do This\r\n\r\nThere is another bug in the program. The program is supposed to look like the picture on the right, but when you run it you won't be able to see all the squares. Can you fix it? \r\n* **DON'T change the values for the rectangles.**\r\n* **Change the order of the blocks** so that the image looks like the one on the right. ", "start_blocks": "rect(100, 100, 200, 200);\r\nrect(50, 50, 300, 300);\r\nrect(0, 0, 400, 400);\r\nrect(150, 150, 100, 100);", "callout_json": "[\r\n{\r\n \"localization_key\": \"\",\r\n \"element_id\": \".droplet-gutter-line:nth-of-type(1)\",\r\n \"callout_text\": \"Reorder the blocks\",\r\n \"qtip_config\": {\r\n \t\"position\": {\r\n \"my\": \"top right\",\r\n \"at\": \"center center\",\r\n \"adjust\": {\r\n \"x\": 0,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n }\r\n]", diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - Oval.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - Oval.level index 7b765883097d0..32a1b73ff49b6 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - Oval.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - Oval.level @@ -34,7 +34,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Oval\r\n\r\nEllipse is just a fancy name for oval. You can use the `ellipse` block to draw an oval. The values for ellipse are very similar to rectangle but have one major difference. Can you figure out the difference?\r\n\r\n# Do This\r\n\r\n* Add a `rect` command\r\n* Add an `ellipse` command\r\n* Give `ellipse` the same input values you give `rect`\r\n* What do you think might happen?\r\n* What do you notice?", "callout_json": "[\r\n {\r\n \"localization_key\": \"\",\r\n \"element_id\": \"#droplet_palette_block_ellipse\",\r\n \"callout_text\": \"Use this block to draw an oval\",\r\n \"qtip_config\": {\r\n \t\"position\": {\r\n \"my\": \"top right\",\r\n \"at\": \"center center\",\r\n \"adjust\": {\r\n \"x\": 0,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n }\r\n]", "instructions": "Do This", diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - Personal Drawing Template.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - Personal Drawing Template.level index 6285b25e94a69..5bfda3d6420c2 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - Personal Drawing Template.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - Personal Drawing Template.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_d_pad": "false", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - Personal Drawing.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - Personal Drawing.level index 494eac07b079a..bdad237da2947 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - Personal Drawing.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - Personal Drawing.level @@ -56,7 +56,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "DO This", "markdown_instructions": "# Your Own Drawing\r\n\r\nIt is your turn to create your own drawing. You should have drawn out your plan on paper first.\r\n\r\n# Do This\r\nAs a reminder make sure you hit the objectives:\r\n\r\n* Creates an identifiable and named object or design (i.e. no random splatters of shapes)\r\n* Uses at least 10 shapes or text items (rect, ellipse, regularPolygon, text)\r\n* Uses at least 4 different color fills\r\n* Uses at least 2 different color outlines\r\n* Contains at least 3 different logical blocks of code with comments\r\n", "start_blocks": "// Create your drawing here", diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - Rectangle Width and Height.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - Rectangle Width and Height.level index 1552f7b064761..68a0da0424f19 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - Rectangle Width and Height.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - Rectangle Width and Height.level @@ -45,7 +45,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Drawing Rules\r\n\r\nSo, what did you discover on the last level?\r\n\r\n* What do each of the four openings control?\r\n\r\n\t* First Opening - controls the **location of the rectangle from left to right** - call this the **x position**\r\n * Second Opening - controls the **location of the rectangle from top to bottom** - call this the **y position**\r\n * Third Opening - controls the **width** of the rectangle\r\n * Fourth Opening - controls the **height** of the rectangle\r\n\r\n* What is the size of the drawing area?\r\n\r\n\t* Width: 400\r\n * Height: 400\r\n\r\n* Where is (0,0) or x = 0 and y = 0?\r\n\r\n\t* The **upper left corner of the grid!**\r\n\r\n# Do This\r\n\r\nThere is code provided for a rectangle that draws in the upper left corner when you run the program. Using your new knowledge of the workspace and the inputs for a rectangle:\r\n\r\n* **Change the width and height of the rectangle so that it fills the whole drawing area**\r\n* **HINT:** Remember that the rectangle block is `rect(x, y, width, height)`, in that order", "callout_json": "[\r\n {\r\n \"localization_key\": \"\",\r\n \"callout_text\": \"Don't forget to click Run to test your program\",\r\n \"element_id\": \"#runButton\",\r\n \"on\": \"\",\r\n \"qtip_config\": {\r\n \"codeStudio\": {\r\n \"canReappear\": false,\r\n \"dropletPaletteCategory\": \"\"\r\n },\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"bottom left\",\r\n \"at\": \"top right\",\r\n \"adjust\": {\r\n \"x\": 0,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n }\r\n]", "instructions": "Do This", diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - Rectangle.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - Rectangle.level index e9c4e2937c80a..3110bca1a23d7 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - Rectangle.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - Rectangle.level @@ -45,7 +45,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Rectangles\r\n\r\nWelcome to Game Lab. Game Lab allows you to create interactive games and animations! You are going to start with drawing shapes and build up to games over time. In class you already practiced the basics of drawing shapes. You are just going to translate that skill to the computer. Check out the game area on the left. This is where you will see the output of your program.\r\n\r\nThe first shape you are going to use is the rectangle. The block for a rectangle is `rect()`. As you can see, there are four openings in the rect block. These values control some aspect of the way the shape is drawn.\r\n\r\n# Do This\r\n\r\n* Add a `rect()` command to the workspace. \r\n* Click to run the program and see what happens. \r\n* Change the numbers in the four different openings, then try running the program again. \r\n* Repeat that process until you can answer:\r\n\t* What do each of the four openings control?\r\n * What is the size of the drawing area?", "callout_json": "[\r\n {\r\n \"localization_key\": \"\",\r\n \"element_id\": \"#droplet_palette_block_rect\",\r\n \"callout_text\": \"Use this block to draw a rectangle\",\r\n \"qtip_config\": {\r\n \t\"position\": {\r\n \"my\": \"top right\",\r\n \"at\": \"bottom left\",\r\n \"adjust\": {\r\n \"x\": 0,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"localization_key\": \"\",\r\n \"element_id\": \".droplet-gutter-line:nth-of-type(1)\",\r\n \"callout_text\": \"Add your blocks here to write your program\",\r\n \"qtip_config\": {\r\n \t\"position\": {\r\n \"my\": \"bottom left\",\r\n \"at\": \"center center\",\r\n \"adjust\": {\r\n \"x\": 0,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"localization_key\": \"\",\r\n \"element_id\": \"#runButton\",\r\n \"callout_text\": \"Click this to run your program\",\r\n \"qtip_config\": {\r\n \t\"position\": {\r\n \"my\": \"bottom left\",\r\n \"at\": \"top right\",\r\n \"adjust\": {\r\n \"x\": 0,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n }\r\n]", "instructions": "Do This", diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - Rings Template.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - Rings Template.level index ed1d238b1e773..ead3833102242 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - Rings Template.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - Rings Template.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "start_blocks": "ellipse(200, 300, 200, 200);\r\nellipse(200, 300, 150, 150);\r\nellipse(200, 300, 100, 100);", "show_d_pad": "false", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - Road Ellipse.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - Road Ellipse.level index c49dc78d88090..839ef3f6be04a 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - Road Ellipse.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - Road Ellipse.level @@ -43,7 +43,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Do This", "markdown_instructions": "# Clouds and Sun\r\n\r\nNext, you are going to add the clouds and sun to our picture. Here is an example of what your work could look like at the end of the level, but use some creativity as you create your sun and clouds.\r\n\r\n\r\n\r\n# Do This\r\n* Add ellipses for clouds and the sun.\r\n* Make sure there is no outline on the clouds and sun\r\n* Set the colors of the clouds and sun. ", "show_d_pad": "false", diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - Road No Stroke.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - Road No Stroke.level index 6007c524e0741..7861bacf46bcb 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - Road No Stroke.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - Road No Stroke.level @@ -181,7 +181,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - Road Rects and Color.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - Road Rects and Color.level index 7fab62013cb49..0156831baff1d 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - Road Rects and Color.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - Road Rects and Color.level @@ -43,7 +43,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Do This", "markdown_instructions": "\r\n\r\n# Road Drawing\r\n\r\n\r\n\r\nLet's try out another example! This is going to be another set of project levels. The final product will look like the image on the right, but we'll start by setting up the background, grass, and road.\r\n\r\n# Do This\r\n\r\n\r\n\r\nThere are starter comments to help you out - don't forget to do this as you go!\r\n* Add rectangles for the background, grass and road\r\n* Change the colors to appropriate colors for each item used: \r\n* Remove the black outline\r\n\r\nDon't worry about finishing the whole picture right now. You'll do that in the next few levels.", "start_blocks": "// Background\r\n\r\n// Grass\r\n\r\n// Road\r\n\r\n", diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - Road Template.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - Road Template.level index d84e008e7440c..7889c630f872a 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - Road Template.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - Road Template.level @@ -29,7 +29,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_d_pad": "false", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - Simple Shape Drawing.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - Simple Shape Drawing.level index 653f15d27c76f..b7f4f4f2e5a75 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - Simple Shape Drawing.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - Simple Shape Drawing.level @@ -34,7 +34,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Simple Drawing\r\n\r\n\r\n\r\nThis is a mess! Can you help debug this program? All the necessary lines of code are here, but they are not in the correct order to draw the picture on the right.\r\n\r\n# Do This\r\n\r\n* Re-order the code to produce the picture\r\n\r\n*Note: You don't need to add any new lines of code*\r\n\r\n", "instructions": "Do This", "show_d_pad": "false", diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - Stroke and Stroke Weight.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - Stroke and Stroke Weight.level index cfa4f68d6178a..f3496ef3341a2 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - Stroke and Stroke Weight.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - Stroke and Stroke Weight.level @@ -42,7 +42,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "project_template_level_name": "U3 - Simple Drawing - Rings Template", "instructions": "Do this", "markdown_instructions": "# Stroke\r\n\r\nLet's start adding color to the rainbow. You may have noticed that all the shapes have a middle color and an outline color. The middle is gray and the outline is black by default. **For the rainbow, you are going to change the OUTLINE color. This will allow you to get the arch shape without the middle fill.** \r\n\r\nYou can change the look of the outline using `stroke()` which sets the color of the outline. Stroke takes names of colors ('red', 'orange', etc) just like fill. However, you will want to be more specific about the colors of the rainbow.\r\n\r\n# Color\r\nYou can set colors using RGB values just like you did in HTML and CSS. We do this by using the `rgb()` block in place of the color name. For example `stroke(rgb(255,0,0))`. Like fill, you need to set stroke before drawing the object you want to have that stroke.\r\n\r\n# Do This\r\n\r\n\r\n* Use `stroke()` to make each ring of the rainbow the appropriate color. \r\n* The final picture should look like the one shown to the right. You will continue to improve it on the next level.\r\n\r\n| Color | RGB Values |\r\n|---|---|\r\n| red | (255,0,0)|\r\n| orange | (255,127,0) |\r\n| yellow | (255, 255, 0) |\r\n| green | (0,255,0) |\r\n| blue | (0, 0, 255) |\r\n| indigo | (75, 0, 130) |\r\n| violet | (139, 0, 255) | ", diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - Stroke.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - Stroke.level index 3b91644a2c3f1..792e2e890ec43 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - Stroke.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - Stroke.level @@ -180,7 +180,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "project_template_level_name": "U3 - Simple Drawing - Road Template", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - X and Y values.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - X and Y values.level index 2d6148f9df60b..53cc70fe83614 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - X and Y values.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - X and Y values.level @@ -32,7 +32,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Bugs\r\n\r\nNot every program you write in computer science works perfectly or even well the first time. The things that go wrong with a computer program are called **bugs**. The process of fixing those bugs is called **debugging**. Computer scientists do a lot of debugging, so it is a very valuable skill. Because of this, you are going to do many levels that help you practice debugging strategies.\r\n\r\n# Do This\r\n\r\n\r\n\r\nYou are going to debug a problem. In the code there is a rectangle block, but when you run the program the rectangle is nowhere to be found! Can you fix the problem?\r\n\r\n* Figure out why the rectangle is not showing. **HINT** What are the biggest x and y positions that will show on the canvas?\r\n* **Move the rectangle to the lower left corner of the drawing area** as in the example on the right.", "callout_json": "[\r\n {\r\n \"localization_key\": \"\",\r\n \"callout_text\": \"Change the x and y parameters of rect to move it\",\r\n \"element_id\": \".droplet-gutter-line:nth-of-type(1)\",\r\n \"on\": \"\",\r\n \"qtip_config\": {\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"top right\",\r\n \"at\": null,\r\n \"adjust\": {\r\n \"x\": 150,\r\n \"y\": 20\r\n }\r\n }\r\n }\r\n }\r\n]", "instructions": "Do This", diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - regular polygon.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - regular polygon.level index e5815d982ec0d..ed7deb867f3c1 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - regular polygon.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - regular polygon.level @@ -43,7 +43,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "project_template_level_name": "U3 - Simple Drawing - Road Template", "instructions": "Do this", "markdown_instructions": "# Regular Polygons\r\n\r\nYou are now going to add the stop sign.\r\n\r\n\r\n\r\nIn order to create a stop sign you are going to need a new block. The `regularPolygon()` block draws any shape with sides that are all the same length. Some examples are:\r\n\r\ntriangle (3 sides) square (4 sides) pentagon (5 sides) \r\n\r\nThe `regularPolygon` has 4 parameters x, y, number of sides, and the radius. x and y specify the center of the shape. The radius is the distance from the center to the end of each of the sides.\r\n\r\nTo make a stop sign you are going to need an octagon, which has 8 sides. \r\n\r\n# Do This\r\n\r\n* Add a pole for the stop sign\r\n* Add an octagon (8 sided shape) for the sign. Hint: The center of the octagon should be at the top of the pole.\r\n* Set the color of the objects.\r\n* Make the stroke white and make the outline thicker", diff --git a/dashboard/config/scripts/levels/U3 - Simple Drawing - text.level b/dashboard/config/scripts/levels/U3 - Simple Drawing - text.level index 794e5ccc72dff..4efc1e5c3ac1b 100644 --- a/dashboard/config/scripts/levels/U3 - Simple Drawing - text.level +++ b/dashboard/config/scripts/levels/U3 - Simple Drawing - text.level @@ -44,7 +44,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "project_template_level_name": "U3 - Simple Drawing - Road Template", "callout_json": "[\r\n {\r\n \"localization_key\": \"\",\r\n \"element_id\": \"#droplet_palette_block_text\",\r\n \"callout_text\": \"Use this block to add text on your drawing\",\r\n \"qtip_config\": {\r\n \t\"position\": {\r\n \"my\": \"top right\",\r\n \"at\": \"bottom left\",\r\n \"adjust\": {\r\n \"x\": 0,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n }\r\n ]", "instructions": "Do This", diff --git a/dashboard/config/scripts/levels/U3 - Sprites - Intro Sprites.level b/dashboard/config/scripts/levels/U3 - Sprites - Intro Sprites.level index 3ad8bc906cb78..4bcdd29547632 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites - Intro Sprites.level +++ b/dashboard/config/scripts/levels/U3 - Sprites - Intro Sprites.level @@ -40,7 +40,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Do This", "markdown_instructions": "# Sprites\r\n\r\nYou are going to start creating animations with **sprites**. A sprite is like a character in your animations. Your program will control how your sprite moves and appears on the screen.\r\n\r\n**Creating Sprites:** The first step to using a sprite is creating the sprite. In order to do that you'll need to give it a label, just like a variable. This block will create a new sprite for you and let you choose its label.\r\n\r\n![](https://images.code.org/92e06cddc5355dc37aa2c6a033793dd0-image-1466027030772.43.41 PM.png)\r\n\r\n**Drawing Sprites:** The next step to using a sprite is to draw it on the screen. Whenever you call the ![](https://images.code.org/82a18afda6463323529acaa3dc326d55-image-1466004008638.19.16 AM.png) command all the sprites in your animation will be drawn on the screen.\r\n\r\n# Do This\r\n\r\nThis program creates a sprite but it doesn't draw it on the screen\r\n\r\n* **Add a ![](https://images.code.org/82a18afda6463323529acaa3dc326d55-image-1466004008638.19.16 AM.png) command** after you've created a sprite so it will actually draw\r\n* **Run the code** to draw your first sprite on the screen. Right now sprites just look like gray rectangles but soon they'll do a lot more.", "show_d_pad": "false", diff --git a/dashboard/config/scripts/levels/U3 - Sprites -Draw Sprites.level b/dashboard/config/scripts/levels/U3 - Sprites -Draw Sprites.level index 631e78c3b2ce4..d9a0996e29767 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites -Draw Sprites.level +++ b/dashboard/config/scripts/levels/U3 - Sprites -Draw Sprites.level @@ -34,7 +34,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Draw Sprites\r\n\r\nThis program is supposed to draw two sprites but when the program is run they don't show up on screen. `createSprites` only creates the sprite but does not draw it on the game area. In order draw your sprite on the display you need another block that was in the draw loop on the last level.\r\n\r\nCan you fix it? \r\n\r\n# Do This\r\n\r\n* Run the program and see what happens\r\n* Take a look back at the last level to see what is missing\r\n* Fix the program so that both sprites show up", "show_d_pad": "false", "start_blocks": "var sprite1 = createSprite(100,200, 30, 30);\r\nvar sprite2 = createSprite(300,20, 10, 40);\r\n\r\nfunction draw(){\r\n \r\n}", diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Clone No Draw Sprites.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Clone No Draw Sprites.level index 62e4a8c9c2ae0..5610ab12e8622 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Clone No Draw Sprites.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Clone No Draw Sprites.level @@ -64,7 +64,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Random Shape Color\r\n\r\n** Video on Properties**\r\n\r\nThe built in variables for sprites are called properties. Properties can be updated with in the draw loop to create animations just like variables.\r\n\r\nOne thing you need to be careful of as you write programs with sprites is that you keep `drawSprites` as the last line inside the draw loop. You don't want to draw the sprties until after all the updates in the loop have happened.\r\n\r\n# Do This\r\nCreate a sprite that is set to a new random color every loop of the draw loop.\r\n\r\n* Create a new sprite and make sure it draws on the game area\r\n* Set the `shapeColor` of the sprite to a random color inside the draw loop\r\n* Run the program and test that it works", "show_d_pad": "false", "start_blocks": "function draw(){\r\n \r\n}", diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Create and Draw Sprite.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Create and Draw Sprite.level index b71713f651660..ed2aaa022c19c 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Create and Draw Sprite.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Create and Draw Sprite.level @@ -33,7 +33,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Do This", "markdown_instructions": "# Sprites\r\n\r\n# Do This\r\n* Create spirte\r\n* Change the name of your sprite\r\n* call drawsprites in draw loop", "show_d_pad": "false", diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Debug DrawSprites.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Debug DrawSprites.level index 815935f2cdae4..f62c004b3c5c4 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Debug DrawSprites.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Debug DrawSprites.level @@ -37,7 +37,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_d_pad": "false", "markdown_instructions": "# Debug\r\n\r\nThis program is supposed to create a sprite that changes to a random color and moves randomly around the screen. It's not working. Can you figure out why its not working?\r\n\r\nHint: There are two bugs in this program. Sometimes when you fix one problem it may look like you made the initial problem worse. Don't worry. Remember the things you have learned so far. How would you write the code for this level?\r\n\r\n# Do This\r\n\r\n* Run the program to see what is happening\r\n* Debug the program. ", "start_blocks": "var sprite = createSprite(randomNumber(0, 400), randomNumber(0, 400));\r\nframeRate(5);\r\n\r\nfunction draw() {\r\n sprite.x = randomNumber(0,400);\r\n drawSprites();\r\n sprite.y = randomNumber(0,400);\r\n sprite.shapeColor = color(randomNumber(0,255), randomNumber(0,255),randomNumber(0,255));\r\n}", diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Debug Name Sprite.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Debug Name Sprite.level index af2361efc5b1b..519e86c0279a7 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Debug Name Sprite.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Debug Name Sprite.level @@ -66,7 +66,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_d_pad": "false", "markdown_instructions": "# Debug\r\n\r\nThis program is supposed to create a sprite that changes to a random color, width and height. It's not working. Can you figure out why its not working?\r\n\r\n# Do This\r\n\r\n* Run the program to see what is happening\r\n* Debug the program. Hint: You do not need to add any new commands to make this work.", "start_blocks": "var sprite = createSprite(randomNumber(0, 400), randomNumber(0, 400));\r\nframeRate(5);\r\n\r\nfunction draw() {\r\n Sprite.width = randomNumber(0,400);\r\n thing.height = randomNumber(0,400);\r\n sprite.shapeColor = color(randomNumber(0,255), randomNumber(0,255),randomNumber(0,255));\r\n background('white');\r\n drawSprites();\r\n}", diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Free Play.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Free Play.level index 2a8bf4ee57ffb..269ebd5aece04 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Free Play.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Free Play.level @@ -61,7 +61,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_d_pad": "false", "markdown_instructions": "# Make Something\r\n\r\nYou've now learned a bunch sprites, properties, and objects. What kind of animation can you create with what you have learned?\r\n\r\nSprite Properties\r\n\r\n* x\r\n* y\r\n* width\r\n* height\r\n* shapeColor\r\n\r\n# Do This\r\n\r\nUse the properties you have learned in this lesson to create an animation.\r\n\r\nStuck on ideas? Try one of these.\r\n\r\n* Create a sprite in the middle of the screen that grows and rotates", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Growing Square.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Growing Square.level index b8a775da96ab0..937cb20f76870 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Growing Square.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Growing Square.level @@ -38,7 +38,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Mod.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Mod.level index b91a60e7ca251..c86bb2051d325 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Mod.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Mod.level @@ -35,7 +35,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Mouse Width and Height.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Mouse Width and Height.level index dc8a373f17c91..d261cdde518c3 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Mouse Width and Height.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Mouse Width and Height.level @@ -44,7 +44,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Do this", "show_d_pad": "false", "markdown_instructions": "# Random Around Point", diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Mouse X and Y.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Mouse X and Y.level index 9d5860134a68b..3c1ac38f27567 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Mouse X and Y.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Mouse X and Y.level @@ -76,7 +76,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Do this", "show_d_pad": "false", "markdown_instructions": "\r\n\r\n# Mouse X and Y\r\n\r\nSprites are actually part of a larger type of item that you will use frequently in computer science. This type of item is called an **object**. An object is **a location in memory with a name and properties**. It **associates a bunch of smaller pieces of information together**. \r\n\r\nAnother type of object is the **Game object**. Each game only has one Game object which is set up with initial properties for you and it is called Game.\r\n\r\nOne of the coolest properties that the Game has are the x and y location of the mouse! **You can get the x and y location of the mouse using `World.mouseX` and `World.mouseY`.** This follows the pattern you learned before. `Game` is the name of the object. `mouseX` and `mouseY` are the names of the properties.\r\n\r\n# Do This\r\n\r\nYou are going to make a bee sprite follow the mouse around the game area.\r\n\r\n* The bee image is already loaded in the animation tab for you.\r\n* Create a bee sprite that draws in the center of the window.\r\n* Inside the draw loop update the position of the sprite to the position of the mouse:\r\n\t* Set the x position of the sprite to the value of `World.mouseX`.\r\n * Set the y position of the sprite to the value of `World.mouseY`.\r\n* Run the program to test that it works.\r\n", diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Move Across.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Move Across.level index 1ec14ffa03c80..fb1a7870dba08 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Move Across.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Move Across.level @@ -40,7 +40,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_d_pad": "false", "markdown_instructions": "# Moving Animation\r\n\r\nYou are going to practice using the x and y properties of a sprite. Don't forget that they designate the center of the rectangle. This may seems strange right now while sprites are just rectangles but in the future sprites will be able to be any image you want. When you use an image with weird edges its a little less clear where the upper left corner is. In addition, for things such as rotation its much easier to have the x and y at the center because thats the point around which is rotates.\r\n\r\n# Do This\r\n\r\nCreate two sprites. One that moves from left to right and one that moves from top to bottom. \r\n\r\n* Create a sprite that draw on the screen\r\n* Increment the x property of one to get movement from left to right\r\n* Increment the y property of the other to get the movement from top to bottom", "start_blocks": "function draw(){\r\n \r\n}", diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Rand Around Mouse.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Rand Around Mouse.level index aaefbf9518833..57930ce78cfb5 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Rand Around Mouse.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Rand Around Mouse.level @@ -76,7 +76,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Do this", "show_d_pad": "false", "markdown_instructions": "# Random Around Point\r\n\r\n\r\n\r\nNow that you can make the bee follow the mouse lets make a bunch of bees fly near the mouse like shown in the visual on the right. In order to do this you will need to **add a random amount between -50 and 50 to the `mouseX` or `mouseY`.** \r\n\r\n# Do This\r\nYou already have one bee sprite that follows the mouse.\r\n\r\n* **Add 3 more bees** that follow the mouse\r\n* Update the x and y location to be randomly close to the mouse\r\n\t* Add a random number between -50 and 50 to the `mouseX` and `mouseY` \r\n* Use the `frameRate` block to find the best frame rate\r\n", diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Rand Shape Color.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Rand Shape Color.level index cec2e591cab1c..30852143ee4f4 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Rand Shape Color.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Rand Shape Color.level @@ -62,7 +62,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Do This", "markdown_instructions": "# Properties\r\n\r\nIn past levels you created rectangles and then made a bunch of variables to keep track of different qualities about that rectangles such as its position and color. Sprites take away the need to make lots of separate variables because those qualities can be controlled by built in variables. The first built in variable we are going to try is `shapeColor`. In order to access the built in variable you need to type something like `sprite.shapeColor` where sprite is the name of the sprite you are setting the color of.\r\n\r\n# Do This\r\n\r\nThe shape color of the first sprite is set for you. Can you set the color of the second sprite?\r\n\r\n* Add a command to set the `shapeColor` of the second sprite\r\n* Run the program and test it out.", "show_d_pad": "false", diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Rotation Direction.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Rotation Direction.level index cd80edaa72141..70710c2095654 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Rotation Direction.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Rotation Direction.level @@ -74,7 +74,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_d_pad": "false", "markdown_instructions": "\r\n# Rotation Direction\r\n\r\nWhen you use the counter pattern for the `rotation` property with addition, the object will always rotate clockwise. Sometimes however you will want your sprite to rotate the other direction. To do this you can just use subtraction!\r\n\r\n# Do This\r\n\r\nThere are three gears set up for you. You need to make the gears all look like they are rotating in sync with each other. \r\n\r\n* Make the gears rotate so they look like they are working as one system.\r\n* **Hint: They won't all rotate the same direction**.", "start_blocks": "var blueGear = createSprite(100, 220);\r\nblueGear.setAnimation(\"blue_gear\");\r\n\r\nvar greenGear = createSprite(183, 298);\r\ngreenGear.setAnimation(\"green_gear\");\r\n\r\nvar redGear = createSprite(185, 145);\r\nredGear.setAnimation(\"red_gear\");\r\n\r\nfunction draw() {\r\n background(\"white\");\r\n drawSprites();\r\n}", diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Shape Color.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Shape Color.level index a7aa27ef0d78b..aa042be9a0480 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Shape Color.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Shape Color.level @@ -43,7 +43,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Do This", "markdown_instructions": "# Predict\r\n\r\nWhat do you think this code will do?\r\n", "show_d_pad": "false", diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Sprite Rotation Command.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Sprite Rotation Command.level index 0a8d8cf9c9b31..42340bb0761fa 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Sprite Rotation Command.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Sprite Rotation Command.level @@ -73,7 +73,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_d_pad": "false", "markdown_instructions": "# Rotation\r\n\r\nOne of the cool things about properties are there are new things you can control about a sprite that you could not about a shape! \r\n\r\nOne of those things you can control about a sprite is its rotation. The `rotation` property sets the angle in degrees that the sprite should be turned to. With this you can angle a sprite to a certain orientation.\r\n\r\n# Do This\r\nRotate the gears so they sockets don't overlap.\r\n\r\n* Add a command for top and bottom gears to set the rotation property of the sprite\r\n* Play with the value of the rotation until you get it to look like the picutre on the right.", "start_blocks": "function draw(){\r\n \r\n}", diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Sprite Rotation.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Sprite Rotation.level index 6cac96749e319..17870afb066e3 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Sprite Rotation.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Sprite Rotation.level @@ -74,7 +74,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_d_pad": "false", "markdown_instructions": "\"wheel\r\n\r\n# Rotation\r\n\r\nYou can control sprites in ways you never could with just shapes.\r\n\r\nOne of those things you can control about a sprite is its rotation. The **`rotation` property sets the angle in degrees that the sprite should be turned to**. With this you can angle a sprite to a certain orientation or make it spin!\r\n\r\n# Do This\r\nYou are going to start creating a spinner wheel similar to one you might find at a carnival.\r\n\r\n* Create a **new sprite**\r\n* **Set the image** of the sprite to the provided wheel.png\r\n* Use the **`rotation` property as a counter** by 1 to produce a spinning effect\r\n* Test it out\r\n* Play with the increment amount to find a speed you like\r\n\r\n# Till The Animation Tab Works\r\n\r\n* Wheel", "project_template_level_name": "CSD U3 - wheel template", diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Sprite Width and Height.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Sprite Width and Height.level index c850c0cb19a3a..5d7cae73f2412 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Sprite Width and Height.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Sprite Width and Height.level @@ -41,7 +41,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_d_pad": "false", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Sprite Y.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Sprite Y.level index aab1d1d2af238..3b508c64ba175 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Sprite Y.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Sprite Y.level @@ -36,7 +36,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Width and Height Rand.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Width and Height Rand.level index a0171225114f5..86a91c61c536c 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Width and Height Rand.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Width and Height Rand.level @@ -66,7 +66,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_d_pad": "false", "markdown_instructions": "# Width and Height\r\n\r\nSprites have other properties. There are properties for width and height of the sprite. The property names are `width` and `height`. So to access the width of a sprite named `cat` you would say `cat.width`.\r\n\r\n# Do This\r\n\r\nThe provided code draws a sprite that changes colors. Can you change the initial size of the sprite?\r\n\r\n* Set the width and height of the sprite before the draw loop using properties", "start_blocks": "var square = createSprite(200,200);\r\n\r\nfunction draw() {\r\n \tsquare.shapeColor = color(randomNumber(0,255),randomNumber(0,255),randomNumber(0,255));\r\n\tdrawSprites();\r\n}", diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Wrap Many Squares.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Wrap Many Squares.level index 4a2662df8edf1..6a2ea4ce4f139 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Wrap Many Squares.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Wrap Many Squares.level @@ -38,7 +38,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "instructions": "Do This", "markdown_instructions": "# Stuff", "show_d_pad": "false", diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Wrap Moving Left.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Wrap Moving Left.level index d9fd36dce2406..7a20c4ac32ebf 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - Wrap Moving Left.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - Wrap Moving Left.level @@ -35,7 +35,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - X and Y Prop.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - X and Y Prop.level index f1db0f5f2f51f..37013689e6039 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - X and Y Prop.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - X and Y Prop.level @@ -38,7 +38,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_d_pad": "false", "instructions": "Do This", "markdown_instructions": "# Predict\r\n\r\nWhat do you think this program will do when we run it?", diff --git a/dashboard/config/scripts/levels/U3 - Sprites and Mod - two sprites.level b/dashboard/config/scripts/levels/U3 - Sprites and Mod - two sprites.level index 550cf69bcc564..ad1ee6ea79d53 100644 --- a/dashboard/config/scripts/levels/U3 - Sprites and Mod - two sprites.level +++ b/dashboard/config/scripts/levels/U3 - Sprites and Mod - two sprites.level @@ -37,7 +37,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_d_pad": "false", "instructions": "Do This", "markdown_instructions": "# Two Sprites\r\n\r\ntwo rects - make one move on the left side of the screen and one on the right side of the screen\r\n\r\n", diff --git a/dashboard/config/scripts/levels/U3 Variables consolelog.level b/dashboard/config/scripts/levels/U3 Variables consolelog.level index f1206414801e0..c99471dfa2100 100644 --- a/dashboard/config/scripts/levels/U3 Variables consolelog.level +++ b/dashboard/config/scripts/levels/U3 Variables consolelog.level @@ -41,7 +41,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/U3 Variables flower example.level b/dashboard/config/scripts/levels/U3 Variables flower example.level index dd23b48c872c3..28e00242a2c91 100644 --- a/dashboard/config/scripts/levels/U3 Variables flower example.level +++ b/dashboard/config/scripts/levels/U3 Variables flower example.level @@ -57,7 +57,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[\r\n {\r\n \"localization_key\": \"\",\r\n \"callout_text\": \"Change the value assigned to petalSize and rerun the program\",\r\n \"element_id\": \".droplet-gutter-line:nth-of-type(1)\",\r\n \"on\": \"\",\r\n \"qtip_config\": {\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"top right\",\r\n \"at\": null,\r\n \"adjust\": {\r\n \"x\": 170,\r\n \"y\": 20\r\n }\r\n }\r\n }\r\n }\r\n]", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/U3 Variables gray square.level b/dashboard/config/scripts/levels/U3 Variables gray square.level index 08d8606a9b942..0723e862d38e5 100644 --- a/dashboard/config/scripts/levels/U3 Variables gray square.level +++ b/dashboard/config/scripts/levels/U3 Variables gray square.level @@ -57,7 +57,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[\r\n {\r\n \"localization_key\": \"\",\r\n \"callout_text\": \"Change the value assigned to size and rerun the program\",\r\n \"element_id\": \".droplet-gutter-line:nth-of-type(2)\",\r\n \"on\": \"\",\r\n \"qtip_config\": {\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"top right\",\r\n \"at\": null,\r\n \"adjust\": {\r\n \"x\": 130,\r\n \"y\": 20\r\n }\r\n }\r\n }\r\n }\r\n]", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/U3 Variables make a square.level b/dashboard/config/scripts/levels/U3 Variables make a square.level index 4e1ee8d01b5cb..455e5a0ace0b8 100644 --- a/dashboard/config/scripts/levels/U3 Variables make a square.level +++ b/dashboard/config/scripts/levels/U3 Variables make a square.level @@ -57,7 +57,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "callout_json": "[\r\n {\r\n \"localization_key\": \"\",\r\n \"callout_text\": \"Change the value assigned to size and rerun the program\",\r\n \"element_id\": \".droplet-gutter-line:nth-of-type(2)\",\r\n \"on\": \"\",\r\n \"qtip_config\": {\r\n \"style\": {\r\n \"classes\": \"\"\r\n },\r\n \"position\": {\r\n \"my\": \"top right\",\r\n \"at\": null,\r\n \"adjust\": {\r\n \"x\": 130,\r\n \"y\": 20\r\n }\r\n }\r\n }\r\n }\r\n]", "project_template_level_name": "CSD U3 Variables TEMPLATE square", "show_debug_watch": "true", diff --git a/dashboard/config/scripts/levels/U3 Variables misconceptions try it.level b/dashboard/config/scripts/levels/U3 Variables misconceptions try it.level index 5bc94935ec07f..09cca510e88e3 100644 --- a/dashboard/config/scripts/levels/U3 Variables misconceptions try it.level +++ b/dashboard/config/scripts/levels/U3 Variables misconceptions try it.level @@ -60,7 +60,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_d_pad": "false", "instructions_important": "false", "hide_animation_mode": "true", diff --git a/dashboard/config/scripts/levels/U3 Variables randomize your square.level b/dashboard/config/scripts/levels/U3 Variables randomize your square.level index b7750a89e2d5b..f263615ce82d7 100644 --- a/dashboard/config/scripts/levels/U3 Variables randomize your square.level +++ b/dashboard/config/scripts/levels/U3 Variables randomize your square.level @@ -57,7 +57,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_debug_watch": "true", "contained_level_names": null }, diff --git a/dashboard/config/scripts/levels/U3 Variables write.level b/dashboard/config/scripts/levels/U3 Variables write.level index ecba9266b4152..7596a1ab73a1e 100644 --- a/dashboard/config/scripts/levels/U3 Variables write.level +++ b/dashboard/config/scripts/levels/U3 Variables write.level @@ -47,7 +47,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "show_d_pad": "false", "show_debug_watch": "true", "contained_level_names": null diff --git a/dashboard/config/scripts/levels/allthethings_U3 - Simple Drawing - Rectangle Width and Height.level b/dashboard/config/scripts/levels/allthethings_U3 - Simple Drawing - Rectangle Width and Height.level index a6bec322016a1..ead9d913a6e41 100644 --- a/dashboard/config/scripts/levels/allthethings_U3 - Simple Drawing - Rectangle Width and Height.level +++ b/dashboard/config/scripts/levels/allthethings_U3 - Simple Drawing - Rectangle Width and Height.level @@ -45,7 +45,7 @@ "text_mode_at_start": "false", "submittable": "false", "hide_view_data_button": "false", - "debugger_disabled": "false", + "debugger_disabled": "true", "markdown_instructions": "# Drawing Rules\r\n\r\nSo what did you discover on the last level?\r\n\r\n* What do each of the 4 openings control?\r\n\r\n\t* First Opening - controls the **location of the rectangle from left to right** - we call this the **x position**\r\n * Second Opening - controls the **location of the rectangle from top to bottom** - we call this the **y position**\r\n * Third Opening - controls the **width** of the rectangle\r\n * Fourth Opening - controls the **height** of the rectangle\r\n\r\n* What is the size of the drawing area?\r\n\r\n\t* Width - 400\r\n * Height - 400\r\n\r\n* So where is (0,0) or x = 0 and y = 0?\r\n\r\n\t* The **upper left corner of the grid!**\r\n\r\n# Do This\r\n\r\nWe have provided you with code for a rectangle that draws in the upper left corner when you run the program. Using your new knowledge of the workspace and the inputs for a rectangle:\r\n\r\n* **Change the width and height of the rectangle so that it fills the whole drawing area**\r\n* **HINT:** Remember that the rectangle block is `rect(x, y, width, height)` in that order", "callout_json": "[\r\n {\r\n \"localization_key\": \"\",\r\n \"element_id\": \"#runButton\",\r\n \"callout_text\": \"Don't forget to click run to test your program\",\r\n \"qtip_config\": {\r\n \t\"position\": {\r\n \"my\": \"bottom left\",\r\n \"at\": \"top right\",\r\n \"adjust\": {\r\n \"x\": 0,\r\n \"y\": 0\r\n }\r\n }\r\n }\r\n }\r\n]", "instructions": "Do This", From ad3ff05bd3d3d440465c2c0d405a713e31512072 Mon Sep 17 00:00:00 2001 From: Chris Pirich Date: Fri, 26 Jan 2018 08:11:04 -0800 Subject: [PATCH 2/5] honor config.level.debuggerDisabled --- apps/src/gamelab/GameLab.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/apps/src/gamelab/GameLab.js b/apps/src/gamelab/GameLab.js index 1cc6dce13f5d2..94e99651e7dd2 100644 --- a/apps/src/gamelab/GameLab.js +++ b/apps/src/gamelab/GameLab.js @@ -230,9 +230,7 @@ GameLab.prototype.init = function (config) { // able to turn them on. config.noInstructionsWhenCollapsed = true; - // NOTE: We will go back to using !config.level.debuggerDisabled soon, - // but are testing with project levels only for now - var breakpointsEnabled = config.level.isProjectLevel; + var breakpointsEnabled = !config.level.debuggerDisabled; config.enableShowCode = true; config.enableShowLinesCount = false; @@ -278,9 +276,7 @@ GameLab.prototype.init = function (config) { var showFinishButton = !this.level.isProjectLevel; var finishButtonFirstLine = _.isEmpty(this.level.softButtons); - // NOTE: We will go back to using !config.level.debuggerDisabled soon, - // but are testing with project levels only for now - var showDebugButtons = (!config.hideSource && config.level.isProjectLevel); + var showDebugButtons = (!config.hideSource && !config.level.debuggerDisabled); var showDebugConsole = !config.hideSource; if (showDebugButtons || showDebugConsole) { From 541e573b0773d744b3b10f73df6fad3a12bc44c9 Mon Sep 17 00:00:00 2001 From: Chris Pirich Date: Fri, 26 Jan 2018 08:12:17 -0800 Subject: [PATCH 3/5] jsdebugger: fix debugger highlighting stuck after resume --- apps/src/lib/tools/jsinterpreter/JSInterpreter.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/apps/src/lib/tools/jsinterpreter/JSInterpreter.js b/apps/src/lib/tools/jsinterpreter/JSInterpreter.js index 3efb35d0e7eec..6ff28370ee07c 100644 --- a/apps/src/lib/tools/jsinterpreter/JSInterpreter.js +++ b/apps/src/lib/tools/jsinterpreter/JSInterpreter.js @@ -645,10 +645,14 @@ export default class JSInterpreter { return; } } - if (reachedBreak && atMaxSpeed) { - // If we were running atMaxSpeed and just reached a breakpoint, the - // code may not be selected in the editor, so do it now: - this.selectCurrentCode(); + if (atMaxSpeed) { + if (reachedBreak) { + // If we were running atMaxSpeed and just reached a breakpoint, the + // code may not be selected in the editor, so do it now: + this.selectCurrentCode(); + } else { + codegen.clearDropletAceHighlighting(this.studioApp.editor); + } } this.isExecuting = false; } From 101328c6e56e56a932d554cc24f6acaf7c623f02 Mon Sep 17 00:00:00 2001 From: Chris Pirich Date: Fri, 26 Jan 2018 17:18:59 -0800 Subject: [PATCH 4/5] text fix for when we have no editor --- apps/src/lib/tools/jsinterpreter/JSInterpreter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/src/lib/tools/jsinterpreter/JSInterpreter.js b/apps/src/lib/tools/jsinterpreter/JSInterpreter.js index 6ff28370ee07c..31a4a7d8504f5 100644 --- a/apps/src/lib/tools/jsinterpreter/JSInterpreter.js +++ b/apps/src/lib/tools/jsinterpreter/JSInterpreter.js @@ -650,7 +650,7 @@ export default class JSInterpreter { // If we were running atMaxSpeed and just reached a breakpoint, the // code may not be selected in the editor, so do it now: this.selectCurrentCode(); - } else { + } else if (this.studioApp.editor) { codegen.clearDropletAceHighlighting(this.studioApp.editor); } } From 11f93efa1c5de1bb6006eace0cd25c4a456a0a5b Mon Sep 17 00:00:00 2001 From: Chris Pirich Date: Mon, 29 Jan 2018 10:11:12 -0800 Subject: [PATCH 5/5] add highlighting tests verifying addMarker and removeMarker calls --- .../tools/jsinterpreter/JSInterpreterTest.js | 145 +++++++++++++++++- 1 file changed, 143 insertions(+), 2 deletions(-) diff --git a/apps/test/unit/lib/tools/jsinterpreter/JSInterpreterTest.js b/apps/test/unit/lib/tools/jsinterpreter/JSInterpreterTest.js index 52cfda4c60751..45ec32595d417 100644 --- a/apps/test/unit/lib/tools/jsinterpreter/JSInterpreterTest.js +++ b/apps/test/unit/lib/tools/jsinterpreter/JSInterpreterTest.js @@ -273,17 +273,31 @@ myCallback("this message is coming from inside the interpreter"); }); let aceEditor; + let Range = function (startRow, startColumn, endRow, endColumn) { + this.start = { + row: startRow, + column: startColumn + }; + + this.end = { + row: endRow, + column: endColumn + }; + }; + function setupFakeAce() { let oldAce; + let markerId = 1; beforeEach(() => { oldAce = window.ace; window.ace = { - require: sinon.stub().returns({Range: sinon.stub()}), + require: sinon.stub().returns({Range}), }; const breakpoints = []; const aceSession = { - addMarker: sinon.spy(), + addMarker: sinon.spy(() => markerId++), getBreakpoints: sinon.stub().returns(breakpoints), + removeMarker: sinon.spy(), }; aceEditor = { isRowFullyVisible: () => true, @@ -380,6 +394,18 @@ myCallback("this message is coming from inside the interpreter"); it("will stop executing at the breakpoint", () => { expect(getCurrentLine()).to.equal(1); }); + it("will highlight the line after the breakpoint", () => { + expect(aceEditor.getSession().addMarker.lastCall.args[0]).to.deep.equal({ + start: { + row: 2, + column: 10, + }, + end: { + row: 2, + column: 26, + }, + }); + }); it("will notify the onPause observer", () => { expect(onPauseObserver).to.have.been.called; }); @@ -393,6 +419,18 @@ myCallback("this message is coming from inside the interpreter"); it("will stop at the next breakpoint", () => { expect(getCurrentLine()).to.equal(3); }); + it("will highlight the line after the breakpoint", () => { + expect(aceEditor.getSession().addMarker.lastCall.args[0]).to.deep.equal({ + start: { + row: 4, + column: 10, + }, + end: { + row: 4, + column: 26, + }, + }); + }); describe("and executed again after all breakpoints have been reached", () => { beforeEach(() => { jsInterpreter.executeInterpreter(false); @@ -400,6 +438,9 @@ myCallback("this message is coming from inside the interpreter"); it("will execute the rest of the code", () => { expect(getCurrentLine()).to.equal(5); }); + it("will remove the highlight marker for the most recent highlight", () => { + expect(aceEditor.getSession().removeMarker.lastCall.args[0]).to.equal(aceEditor.getSession().addMarker.lastCall.returnValue); + }); }); }); }); @@ -422,6 +463,18 @@ myCallback("this message is coming from inside the interpreter"); it("will execute the line that the breakpoint is on and move to the next one", () => { expect(getCurrentLine()).to.equal(2); }); + it("will highlight the line after the step over", () => { + expect(aceEditor.getSession().addMarker.lastCall.args[0]).to.deep.equal({ + start: { + row: 3, + column: 10, + }, + end: { + row: 3, + column: 26, + }, + }); + }); }); describe("When executed with handleStepOut having been called", () => { @@ -449,6 +502,18 @@ myCallback("this message is coming from inside the interpreter"); )).to.be.false; expect(getCurrentLine()).to.equal(3); }); + it("will highlight the line after the function call", () => { + expect(aceEditor.getSession().addMarker.lastCall.args[0]).to.deep.equal({ + start: { + row: 7, + column: 10, + }, + end: { + row: 7, + column: 26, + }, + }); + }); }); describe("When executed with handleStepOut having been called inside a deeply nested function call", () => { @@ -485,6 +550,18 @@ myCallback("this message is coming from inside the interpreter"); 'middleFunctionScope' )).to.be.true; }); + it("will highlight the line after the inner function call", () => { + expect(aceEditor.getSession().addMarker.lastCall.args[0]).to.deep.equal({ + start: { + row: 8, + column: 12, + }, + end: { + row: 8, + column: 28, + }, + }); + }); describe("and we step out again", () => { beforeEach(() => { @@ -494,6 +571,18 @@ myCallback("this message is coming from inside the interpreter"); it("will step out again", () => { expect(getCurrentLine()).to.equal(8); }); + it("will highlight the line after the inner function call", () => { + expect(aceEditor.getSession().addMarker.lastCall.args[0]).to.deep.equal({ + start: { + row: 12, + column: 10, + }, + end: { + row: 12, + column: 27, + }, + }); + }); }); }); @@ -530,6 +619,18 @@ myCallback("this message is coming from inside the interpreter"); jsInterpreter.executeInterpreter(false); expect(getCurrentLine()).to.equal(4); }); + it("will highlight the line at the inner breakpoint", () => { + expect(aceEditor.getSession().addMarker.lastCall.args[0]).to.deep.equal({ + start: { + row: 4, + column: 12, + }, + end: { + row: 4, + column: 28, + }, + }); + }); }); describe("When executed after handleStepIn() is called", () => { @@ -551,6 +652,18 @@ myCallback("this message is coming from inside the interpreter"); it("will not execute the line it steps onto", () => { expect(getCurrentLine()).to.be.undefined; }); + it("will highlight the first line", () => { + expect(aceEditor.getSession().addMarker.lastCall.args[0]).to.deep.equal({ + start: { + row: 1, + column: 10, + }, + end: { + row: 1, + column: 30, + }, + }); + }); describe("And after handleStepOver is subsequently called", () => { beforeEach(() => { @@ -560,6 +673,18 @@ myCallback("this message is coming from inside the interpreter"); it("will execute the line it is currently on", () => { expect(getCurrentLine()).to.equal(1); }); + it("will highlight the line after the step over", () => { + expect(aceEditor.getSession().addMarker.lastCall.args[0]).to.deep.equal({ + start: { + row: 2, + column: 10, + }, + end: { + row: 2, + column: 26, + }, + }); + }); it("will keep the interpreter in the paused state", () => { expect(jsInterpreter.paused).to.be.true; }); @@ -572,6 +697,9 @@ myCallback("this message is coming from inside the interpreter"); it("will execute the rest of the code", () => { expect(getCurrentLine()).to.equal(3); }); + it("will remove the highlight marker for the most recent highlight", () => { + expect(aceEditor.getSession().removeMarker.lastCall.args[0]).to.equal(aceEditor.getSession().addMarker.lastCall.returnValue); + }); it("will make the interpreter no longer paused", () => { expect(jsInterpreter.paused).to.be.false; }); @@ -594,6 +722,19 @@ myCallback("this message is coming from inside the interpreter"); expect(jsInterpreter.handleError).to.have.been.called; expect(jsInterpreter.handleError).to.have.been.calledWith(2); }); + it("will highlight as an error the first character of the program since the exception wasn't handled", () => { + expect(aceEditor.getSession().addMarker.lastCall.args[0]).to.deep.equal({ + start: { + row: 0, + column: 0, + }, + end: { + row: 1, + column: 0, + }, + }); + expect(aceEditor.getSession().addMarker.lastCall.args[1]).to.equal('ace_error'); + }); }); describe("with hideSource=true", () => { beforeEach(() => {