Packt has published Chapter 8, Chatting with a Fortune Teller as a sample chapter.
In the Breakout game we created in the previous chapters, we learned how easy it is to create projects that keep track of the changing values by using variables. However, variables have a limitation in they store only one value at a time. In this chapter, we’re going to create a random fortune-spewing teller,which will require the sprites to have access to a list of multiple values at one time.
Welcome to lists. In Scratch, a list feature allows us to associate one list with multiple items or values in almost the same way we create a list before going to the grocery store. We can think of the items in the list as variables. Each list item can be changed, removed, or added to.
Got a server maintenance message when I visited the Scratch 2.0 website, and I had two immediate reactions. First, Scratch 2.0 is dependent on a working internet connection, and there are many points of failure for the internet.
Second, the maintenance message instructs you to download Scratch 1.4! I’m wondering why the link doesn’t point to the Scratch 2.0 offline editor.
Now the internet and websites go up and down like a yo-yo. It’s a fact of life. Are you protected? Do you have an offline version of Scratch installed on your computer? You should.
Sometimes life interferes with the greatest plans.
I was hoping to be wrap up the entire Scratch 2.0 book update by the end of 2013. However, personal life and business collided with my writing project and unfortunately, for the first time ever, I had to suspend a writing project for several weeks.
That not only preserved some personal sanity, but it was a decision that will ensure a quality, substantive book rewrite. My Scratch 2.0 book deserves deliberate attention, not a mad rush to flood the market with yet another Scratch book. I’m back on track, writing feverishly into the new year with a renewed focus.