pxt-arcade 1.12.3 → 1.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/built/common-sim.d.ts +2 -2
  2. package/built/target.js +153 -146
  3. package/built/target.json +153 -146
  4. package/built/targetlight.json +5 -5
  5. package/docs/hardware/adding.md +46 -52
  6. package/docs/hero-banner.md +5 -5
  7. package/docs/hour-of-code-2022-es.html +0 -1
  8. package/docs/hour-of-code-2022.html +0 -4
  9. package/docs/kiosk.html +1 -1
  10. package/docs/static/hero-gallery/holiday.png +0 -0
  11. package/docs/static/kiosk/asset-manifest.json +6 -6
  12. package/docs/static/kiosk/static/css/main.b60591be.css +2 -0
  13. package/docs/static/kiosk/static/css/main.b60591be.css.map +1 -0
  14. package/docs/static/kiosk/static/js/{main.f11fd683.js → main.7c9f0b91.js} +3 -3
  15. package/docs/static/kiosk/static/js/{main.f11fd683.js.LICENSE.txt → main.7c9f0b91.js.LICENSE.txt} +0 -0
  16. package/docs/static/kiosk/static/js/main.7c9f0b91.js.map +1 -0
  17. package/docs/static/tutorials/aliens/reload.png +0 -0
  18. package/docs/static/tutorials/arrows/key.png +0 -0
  19. package/docs/static/tutorials/holiday/bgd.png +0 -0
  20. package/docs/static/tutorials/holiday/p1.png +0 -0
  21. package/docs/static/tutorials/holiday/p2.png +0 -0
  22. package/docs/test/courses/carnival.md +57 -0
  23. package/docs/test/courses/class-arcade.md +57 -0
  24. package/docs/test/skillmap/story/story1.md +8 -21
  25. package/docs/test/skillmap/story/story2.md +17 -28
  26. package/docs/test/skillmap/story/story3.md +51 -469
  27. package/docs/test/skillmap/story/story4.md +1 -2
  28. package/docs/test/tutorials/arrow.md +4 -4
  29. package/docs/test/tutorials/holiday.md +609 -0
  30. package/docs/test/tutorials/hundred.md +140 -157
  31. package/docs/test/tutorials/wakanda-forever.md +41 -1
  32. package/docs/tutorials/holiday.md +609 -0
  33. package/docs/tutorials/wakanda-forever.md +203 -146
  34. package/package.json +3 -3
  35. package/docs/static/kiosk/static/css/main.8897f977.css +0 -2
  36. package/docs/static/kiosk/static/css/main.8897f977.css.map +0 -1
  37. package/docs/static/kiosk/static/js/main.f11fd683.js.map +0 -1
@@ -538,6 +538,44 @@ info.onScore(20, function () {
538
538
  ```
539
539
 
540
540
 
541
+
542
+ ## {Step 21}
543
+
544
+ **Be a leader!**
545
+
546
+ Teach users how to play with well-placed instructions.
547
+
548
+ ---
549
+
550
+ - :circle: From the ``||game:Game||`` category, grab <br/>
551
+ ``||game(noclick):show long text "..." [full screen]||``<br/>
552
+ and snap it in at **the top** of the ``||loops(noclick):on start||`` container already in the workspace.
553
+
554
+ Now, when your game starts, users will see a message suggesting that they use the arrow keys to play.
555
+
556
+
557
+ ```blocks
558
+ namespace SpriteKind {
559
+ export const Guard = SpriteKind.create()
560
+ }
561
+
562
+ //@highlight
563
+ game.showLongText("When game begins, press the ARROW KEYS to move Shuri, Okoye and Riri. If Namor catches you, you will lose points! ", DialogLayout.Full)
564
+ scene.setBackgroundImage(assets.image`wakanda`)
565
+ let Shuri = sprites.create(assets.image`shuri`, SpriteKind.Player)
566
+ controller.moveSprite(Shuri)
567
+ Shuri.setStayInScreen(true)
568
+ let Namor = sprites.create(assets.image`namor`, SpriteKind.Enemy)
569
+ Namor.follow(Shuri, 30)
570
+ Namor.setPosition(148, 2)
571
+ let Riri = sprites.create(assets.image`riri`, SpriteKind.Guard)
572
+ controller.moveSprite(Riri, 34, -53)
573
+ let Okoye = sprites.create(assets.image`okoye`, SpriteKind.Guard)
574
+ controller.moveSprite(Okoye, -68, -58)
575
+ ```
576
+
577
+
578
+
541
579
  ## {Step 21}
542
580
 
543
581
  **🎉 Congratulations**
@@ -549,7 +587,9 @@ Now you have a game that helps Shuri, Riri, and Oyoke defeat Namor! Go ahead and
549
587
  Click **Done** when you're ready to publish your game and share with friends.
550
588
 
551
589
 
552
-
590
+ ```blockconfig.global
591
+ game.showLongText("When game begins, press the ARROW KEYS to move Shuri, Okoye and Riri. If Namor catches you, you will lose points! ", DialogLayout.Full)
592
+ ```
553
593
 
554
594
  ```package
555
595
  wakanda-palette=github:riknoll/wakanda-palette