Convert Scratch 3.0 Game to Python Game – Part 1

In the previous post, I introduced a simple game: Catch Butterfly. It uses Python Pygame framework to create a 2D interactive game. You might have noticed that using Pygame seems not an easy task. However, if you get familiar with Pygame structure and functions, even more complicated game is not a problem. In this post, …

Continue reading Convert Scratch 3.0 Game to Python Game – Part 1

Use Python Pygame to Create Game

Students who learned Python for the first time might notice the difference between Scratch and Python. They could write with Python’s built-in functions and deal with the interaction with end user only through the print() and input() functions. Sometimes, it is a bit boring since no any graphical interface is included. Some might ask if …

Continue reading Use Python Pygame to Create Game

Learn Scratch 3.0 by Analyzing Project – Melting Line Puzzle Game Part 2

In the last post, I analyzed those UI related sprite of the Melting Line puzzle game. In this post, I would like to introduce the list structure and how to judge pass/fail condition of the game. All of these functions are implemented by Algorithm Sprite. Algorithm Sprite "when I receive start a level" Code Segment …

Continue reading Learn Scratch 3.0 by Analyzing Project – Melting Line Puzzle Game Part 2

Learn Scratch 3.0 by Analyzing Project – Melting Line Puzzle Game Part 1

In the previous posts, I analyzed many puzzle projects, such as Gliding Puzzle, Game 2048, Tetris, etc. There is much difference between puzzle game and other popular Scratch games. Puzzle games usually have static background and focus less on sprite's costume and actions. Therefore, some players might feel that puzzle games are not so shiny. …

Continue reading Learn Scratch 3.0 by Analyzing Project – Melting Line Puzzle Game Part 1

Scratch 3.0 – Several Tools to Enhance the Visual Effect of Your Game

If you are a new Scratcher, you might wonder how to use your own pictures to create unique visual effect. After all, it is a bit boring and mundane if we only use the images from the libraries. In this post, I would like to introduce a few tools which are pretty common to help …

Continue reading Scratch 3.0 – Several Tools to Enhance the Visual Effect of Your Game

The Video Sensing Could not Work in Scratch 3.0? – Allow Scratch to Visit Webcam First

If you are using Video Sensing to make interactive game in Scratch 3.0, you might meet the issue that the camera seems not being able to be turned on. Recently, I met this issue. I searched Scratch discussion forum and noticed someone had reported the same problem but no answer was given in the post, …

Continue reading The Video Sensing Could not Work in Scratch 3.0? – Allow Scratch to Visit Webcam First

LEGO Spike Prime – Explanation of Accelerometer Data and Line Graph Analysis

In the App of LEGO Spike Prime, there is an advanced unit category which creates different devices, logs and analyzes gyroscope or accelerometer data. In today's post, I will use the same model of "Build a Smart Kettlebell" project and introduce how to read and analyze the recorded accelerometer data. I will also update the …

Continue reading LEGO Spike Prime – Explanation of Accelerometer Data and Line Graph Analysis

Use Scratch 3.0 to Make Scrolling Platformer Game – Part 4, Convert to Static Platformer Game

In my previous posts, I explained some key issues when developing a scrolling platformer game by following YouTube tutorial video clips. So how about designing a static platformer game? Static and scrolling platformer game have different characteristics, however, if you have developed a scrolling platformer game, it is pretty easy to convert the code of …

Continue reading Use Scratch 3.0 to Make Scrolling Platformer Game – Part 4, Convert to Static Platformer Game

Use Scratch 3.0 to Make Scrolling Platformer Game – Part 3 – Add Costumes to Your Player

In my previous posts, I summarized some key points when following Griffpatch's online tutorial to design a scrolling platformer game. However, the Player in video clips is still of a rectangle shape, without any costume change. In many games, Player is a figure which has different poses of running, jumping or falling. How to add …

Continue reading Use Scratch 3.0 to Make Scrolling Platformer Game – Part 3 – Add Costumes to Your Player

Use Scratch 3.0 to Make Scrolling Platformer Game – Key Point Summary Part 2

In the previous post, I explained some confusing points in Griffpatch's Scrolling Platformer Tutorial Part 1 to Part 5. I will continue explaining some key points in video clips of Part 6 to 10 in this post. If you have watched the video clips of Part 1 to Part 5, you might have understood the …

Continue reading Use Scratch 3.0 to Make Scrolling Platformer Game – Key Point Summary Part 2