diff --git a/docs/projects.md b/docs/projects.md index f154b30bd0d..3809f0d9a2a 100644 --- a/docs/projects.md +++ b/docs/projects.md @@ -43,7 +43,7 @@ { "name": "Game Jam", "url": "/game-jam", - "imageUrl": "https://pxt.azureedge.net/api/04978-92601-05637-89537/thumb" + "imageUrl": "https://pxt.azureedge.net/api/39412-25824-36790-82290/thumb" }, { "name": "Advanced Livestream", diff --git a/docs/skillmap/educator-info/sc-map-info.md b/docs/skillmap/educator-info/sc-map-info.md index a0f203d973f..e8a9b3d742a 100644 --- a/docs/skillmap/educator-info/sc-map-info.md +++ b/docs/skillmap/educator-info/sc-map-info.md @@ -51,4 +51,89 @@ Specifically, they will experience the following topics: - Creation - Life Bar - Levels -- Text Display \ No newline at end of file +- Text Display + +### Session 1 + +During this session, students will dive into the Marvel Cinematic Universe in the form of Shang-Chi or Xialing. By the end of this session, students will help their main character develop from a simple sprite to an animated superhero who can run, jump, create blocks, and destroy blocks. + +```package +customts=github:anzhou5/customts +pxt-tilemaps=github:microsoft/pxt-tilemaps/ +arcade-premium-life=github:jwunderl/arcade-premium-life/ +pxt-characterAnimations=github:microsoft/arcade-character-animations/ +``` + +#### 1. Opening Scene +| Activity | Opening Scene (7 min) | +|---|---| +| ![Opening Scene thumbnail](/static/skillmap/sc/sc1.gif) | Set up your player and make them able to move and jump. | +| Blocks used | ``[mySprite = sprites.create(img`.`, SpriteKind.Player)]``
``[let sprites: Sprite=null; sprites.add_profile()]``
``[controller.moveSprite(mySprite, 100, 0)]``
``[let mySprite: Sprite=null; mySprite.ay = 500)]``
``[controller.up.onEvent()]``
``[let mySprite: Sprite=null; sprites.gravity_jump(mySprite)]`` | +| Solution option | [Opening Scene Project](https://makecode.com/_Lhg5WrHfdi6w) | + +#### 2. Know Your Surroundings +| Activity | Know Your Surroundings (6 min) | +|---|---| +| ![Know Your Surroundings thumbnail](/static/skillmap/sc/sc2.gif) | Add ways to lose, ways to win, and collectable points to your game. | +| Blocks used | ``[scene.onOverlapTile()]``
``[game.over(true)]``
``[tiles.setTileAt(location, assets.tile`transparency16`)]``
``[info.changeScoreBy(0)]`` | +| Solution option | [Know Your Surroundings Project](https://makecode.com/_2CxDbh65PhLK) | + +#### 3. Martial Arts Training +| Activity | Martial Arts Training (5 min) | +|---|---| +| ![Martial Arts Training thumbnail](/static/skillmap/sc/sc3.gif) | Give your player the ability to add blocks to the scene so you can get past obstacles. | +| Blocks used | ``[controller.A.onEvent()]``
``[tiles.setWallAt(tiles.locationInDirection(tiles.locationOfSprite(mySprite), CollisionDirection.Bottom), true)]``
``[tiles.setTileAt(tiles.locationInDirection(tiles.locationOfSprite(mySprite), CollisionDirection.Bottom))]`` | +| Solution option | [Martial Arts Training Project](https://makecode.com/_Motixg6bb5qu) | + +#### 4. Power Kick +| Activity | Power Kick (9 min) | +|---|---| +| ![Power Kick thumbnail](/static/skillmap/sc/sc4.gif) | Give your player the ability to destroy walls with an animated power kick. | +| Blocks used | ``[controller.B.onEvent()]``
``[let mySprite: Sprite=null; projectile = sprites.createProjectileFromSprite(img`.`, mySprite, 50, 50)]``
``[let projectile: Sprite=null; projectile.setFlag(SpriteFlag.GhostThroughWalls, true)]``
``[let projectile: Sprite=null; projectile.lifespan = 100]``
``[animation.runImageAnimation()]``
``[scene.onOverlapTile()]``
``[tiles.setWallAt(location, false)]``
``[tiles.setTileAt(location, assets.tile`transparency16`)]`` | +| Solution option | [Power Kick Project](https://makecode.com/_Eht4eM507Ecd) | + +#### 5. Animated Characters +| Activity | Animated Characters (4 min) | +|---|---| +| ![Animated Characters thumbnail](/static/skillmap/sc/sc5.gif) | Animate all of your main character's movement. | +| Blocks used | ``[animation.loopFrames2()]`` | +| Solution option | [Animated Characters Project](https://makecode.com/_Hah20XFTtdya) | + +### Session 2 + +During this session, students will take their games to the next level (literally). On top of level addition, these modules will walk students through adding in and battling pseudo-intelligent enemies. After students complete the core modules, they will unlock one final module that empowers them to modify their games using their own imaginations. + +#### 1. Here Comes Trouble +| Activity | Here Comes Trouble (7 min) | +|---|---| +| ![Here Comes Trouble thumbnail](/static/skillmap/sc/sc6.gif) | Add assassins from the Ten Rings organization. | +| Blocks used | ``[tiles.createSpritesOnTiles())]``
``[sprites.onCreated()]``
``[animation.loopFrames2()]``
``[let sprite: Sprite=null; let mySprite: Sprite=null; sprite.follow(mySprite, 0)]``
``[let sprite: Sprite=null; sprite.ay = 0]`` | +| Solution option | [Here Comes Trouble Project](https://makecode.com/_4WTHHjTCxd15) | + +#### 2. Packs a Punch +| Activity | Packs a Punch (9 min) | +|---|---| +| ![Packs a Punch thumbnail](/static/skillmap/sc/sc6a.gif) | Add enemy damage and the ability to defend yourself against them. | +| Blocks used | ``[sprites.onOverlap()]``
``[let otherSprite: Sprite=null; tiles.placeOnRandomTile(otherSprite, img`.`)]``
``[info.changeLifeBy(-1)]``
``[animation.runImageAnimation()]``
``[let sprite: Sprite=null; sprite.destroy()]`` | +| Solution option | [Packs a Punch Project](https://makecode.com/_URX9MWagKayH) | + +#### 3. Smarter Assassins +| Activity | Smarter Assassins (4 min) | +|---|---| +| ![Smarter Assassins thumbnail](/static/skillmap/sc/sc6b.gif) | Implement simple artificial intelligence to keep the enemy chasing you. | +| Blocks used | ``[animation.loopFrames2()]``
``[scene.onHitWall()]``
``[let sprites: Sprite=null; sprites.wall_jump(sprite)]`` | +| Solution option | [Smarter Assassins Project](https://makecode.com/_MHXEKafRKXx0) | + +#### 4. On Another Level +| Activity | On Another Level (5 min) | +|---|---| +| ![On Another Level thumbnail](/static/skillmap/sc/sc7.gif) | Add another level to your game. | +| Blocks used | ``[scene.onOverlapTile()]``
``[scene.setBackgroundImage(img`.`)]``
``[tiles.setTilemap(tilemap`level2`)]``
``[animation.runMovementAnimation()]``
``[game.level_num(0)]`` | +| Solution option | [On Another Level Project](https://makecode.com/_UwAAYqVVCMty) | + +#### 5. Bigger and Better +| Activity | Bigger and Better (15+ min) | +|---|---| +| ![Bigger and Better thumbnail](/static/skillmap/sc/sc8.gif) | Add your own flair to the game! | +| Blocks used | _None_ | +| Solution option | N/A |