Winter Embedded

During Hour of Code week 2019, I was able to teach all four second-grade classes an introductory Scratch lesson. They were really into it and we had a great time. By the end of the week, they had created 61 new Scratch projects for sharing (in this studio). I had them create a Winter themed, interactive project similar to the one in my We Love Winter post.  The goal was to have 4 Sprites do something when you click on them and one Sprite that introduces the project and gives directions.

Screen Shot 2019-12-30 at 10.01.05 PM.png

The next week they reflected on their projects and got a chance to play each other’s interactive projects, and we added them into the digital portfolios.  For this lesson, I had them find their own game in our studio, play it and then write their reflection.  Once their reflection was done, I gave them an Hour of Code certificate and then let them play their peers’ games for the rest of the period.

I really enjoyed reading their reflections before we added them to their digital portfolios.

Screen Shot 2019-12-30 at 9.35.54 PMScreen Shot 2019-12-30 at 9.34.56 PM

Even the adults enjoyed working with the students on this project.

Although we are still using the Scratch 2.0 offline app in my computer lab, the projects all converted well to Scratch 3.0 online to share.  Once online, I found that that the Copy link button on the website offers HTML code for an easy way to embed the student projects into their Google sites based digital portfolios!  Embedding their project is even slicker than linking the address.

Screen Shot 2019-12-30 at 9.54.59 PM


Mazes, the Dark Side

At the last Creative Coders Code Club, I asked my middle schoolers what they wanted to learn or work on next time. One student said a platformer and another was interested in a MAP (multi-artist-project).  While I’m still investigating how to facilitate a MAP with my group, I thought the easiest form of a platformer game would be to learn to code a maze. Mazes can be simple “navigate to the goal and don’t hit the walls”, or complex with levels, bad guys, goals, timers, scoring, (like platformers).

I found a couple of starter projects for mazes.  I liked the one from the Scratch Team (classic example) and from CSFirst.  I looked through and found a couple of other examples of mazes to include as examples.  I also came across a PacMan starter project from MEStech.  PacMan is a nice example of a classic platformer that’s like a maze. And who wouldn’t want to create their own PacMan game?

I’ve always wanted to make a 3d maze but am not interested in learning 3d rendering and the other way I was thinking to make it required too much planning. My spouse gave me the prompt to make a dark maze where you can’t see the whole path. So I spent a while creating a Sprite to look like darkness around a lighted lantern.

I knew I could use a gradient fill from black to alpha 0, but I had trouble creating the size of the lantern light that wouldn’t reveal too much of the path.  My third try worked well but I’ve decided that I am not a fan of the Scratch 3.0 vector tools.

Screen Shot 2019-12-02 at 9.53.37 PM

Just the right size of light in the darkness.

I had to change the implementation of wall detection.  I couldn’t use “when touching blue” because my Sprite is supersized. So I changed it to “when orange is touching blue”Screen Shot 2019-12-02 at 10.02.33 PM

I still had areas of the map that were visible beyond the edge of my Sprite.  I thought I could increase the size of the Sprite to 200% to cover it but the maximum I could set the Sprite to was 135%.  Instead, I created two blackout Sprites the appear or hide depending on which quadrant I was in.  I’m pleased with the results although it needs a better map and more levels, etc.  It’s basically still a starter maze…

Today was our club meeting but it was also a snowy day.  School wasn’t canceled locally so we held the club but we only had three members attend.  One adapted my blackout maze idea with his own map and bad guy.

Another created his own impossible maze

And the third tried to do both PacMan and a maze and was frustrated with what he could accomplish.  It was his first time and he spent time just playing with Scratch options (which I totally support – you got to know what is possible before you can create).

Sometimes I feel 75 minutes once a month is not adequate time or frequency to facilitate the opportunity to play with Scratch, be creative and produce something to share with the group. It makes it tricky to plan lessons that fit a wide range of skills and inspire middle school students.