First Experience of LEGO Spike Prime – Programming

Since its debut of April, 2020, LEGO Spike Prime has attracted much attention and many wonder if it will replace LEGO MindStorms sometime in future. In today's post, I would like to show our first experience of LEGO Spike Prime programming environment, and have a brief comparison with LEGO MindStorms EV3 programming. Drag-and-drop Coding Language …

Continue reading First Experience of LEGO Spike Prime – Programming

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 2

In the last post, I analyzed three cores sprites of the game - Player sprite, Bullet sprite and Enemies sprite. In this post, I will analyze another core sprite - Hosny, which represents the ultimate evil power. After that, I will go to analyze several auxiliary sprites. Hosny Sprite Hosny sprite represents the ultimate evil …

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

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