Design Platformer Game in Scratch 3.0 – Algorithm Behind the Sample Code – Part 1

If you are a fan of Scratch 3.0, you must have played some of its platformer games. Platformer games (often simplified as platformer, or jump 'n' run) is a video game genre and subgenre of action games. Platformers are characterized by their heavy use of jumping and climbing to navigate the environment and reach their goal. Basically there are two types of platformer game in …

Continue reading Design Platformer Game in Scratch 3.0 – Algorithm Behind the Sample Code – Part 1

Learn Scratch by Reading and Analyzing Others’ Project – Tower Defense

If you read my recent posts, you will notice that I have analyzed several shooting games. A typical scenario of a shooting game is that you need to deploy multiple weapons from weapon library and those weapons will shoot out bullets. There are more than one ways to design weapon dragging and bullet shooting behaviors. …

Continue reading Learn Scratch by Reading and Analyzing Others’ Project – Tower Defense

Play LEGO Spike Prime – Upgrade the program of “Brain Game” Model

In previous post, I analyzed how to expand the skills of a demo model "Rain or Shine?". In this post, I would like to analyze another model called "Brain Game". You could find its step-by-step instruction from LEGO Spike Prime App: Unit Plans -> Life Hacks -> Brain Game. In the original program, the device …

Continue reading Play LEGO Spike Prime – Upgrade the program of “Brain Game” Model

Play LEGO Spike Prime – An Enhanced Version of Rain and Shine Model and Code Analysis

In today's post, I would like to introduce a demo project contained in LEGO Spike Prime App. The project is located within Unit Plans -> Life Hacks -> Rain or Shine. You could find the step-by-step building instruction of the model there. I will focus on introducing the enhanced code and how to utilize LEGO …

Continue reading Play LEGO Spike Prime – An Enhanced Version of Rain and Shine Model and Code Analysis

LEGO MindStorms EV3 – Use File Access Block to Store Data

In LEGO MindStorms EV3-G software, we could use File Access block to store text or number and read out them when necessary. However, what is the difference between File Access block and Varaible block? Are there any constraints fo it? In this post, I would like to explain a bit more about File Access block. …

Continue reading LEGO MindStorms EV3 – Use File Access Block to Store Data

Learn Scratch by Reading and Analyzing Others’ Project – Airplane Shooting Game Part 3

This is the last part of airplane shooting game. In the previous posts, I have explained the core sprites. In this post, I will introduce two auxilliary spirtes which are supposed to enhance the visual effects of the game. Powerups Sprite This sprite has two functions - as a health booster or a protective shield. …

Continue reading Learn Scratch by Reading and Analyzing Others’ Project – Airplane Shooting Game Part 3

Learn Scratch 3.0 – Two Ways to Create Sprite Card

When we play Scratch game, sometimes we need to choose a game weapon from a library. In this post, I will use one example to demonstrate this functionality. In the following demo project Plant and Zombie, after the user clicks the Peashooter Card, he/she could drag Peashooter and put it to a random position on …

Continue reading Learn Scratch 3.0 – Two Ways to Create Sprite Card

Learn Scratch 3.0 – Two Ways to Create Multiple Bullet Clones

When we began to learn Scratch 3.0, we usually created sprite clones at random position. However, when we improve programming skills of Scratch 3.0, we may encouter the scenarios when a sprite clone is related to another sprite's clone. For example, in the airplane shooting game, the planes could shoot out bullets while flying. In …

Continue reading Learn Scratch 3.0 – Two Ways to Create Multiple Bullet Clones

Learn Scratch by Reading and Analyzing Others’ Project – Airplane Shooting Game Part 1

In my previous posts, I focus more on analyzing puzzle games, such as Grids, Sliding Puzzle Game, Tetris etc. It does not mean that I am not interested in the platform games or fighting games. They are always among the most popular games on Scratch official website. However, since the well-designed platform game and fighting …

Continue reading Learn Scratch by Reading and Analyzing Others’ Project – Airplane Shooting Game Part 1

Learning Scratch by Reading and Analyzing Others’ Project – Fill a Puzzle Game

In my previous post, I once analyzed an interesting game - Grids the Puzzle Game. The author uses lists to store the data, update data and check data, which is a good example of list usage. In this post, I will explain another way to implement the same functionality and then compare the difference of …

Continue reading Learning Scratch by Reading and Analyzing Others’ Project – Fill a Puzzle Game