Learn Scratch by Reading and Analyzing Others’ Project – a GomoKu Game – Part 1

Have you ever played Gomoku game? Its rule is simple. There are two types of chess pieces, white and black for two players, respectively. When either of the player connects own five chess pieces in a line, he/she wins. The chess pieces could be arranged in horizontal, vertical or diagonal directions. In this post, I …

Continue reading Learn Scratch by Reading and Analyzing Others’ Project – a GomoKu Game – Part 1

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

In my previous post, I explained the sample code of a static platformer game. Now, let's challenge ourselves for a scrolling platformer game. For this type of game, platform and other objects would move, while the main Player sprite would remain at a fixed position on the stage, as shown in this sample project. https://videopress.com/v/0yLzPzHa?preloadContent=metadata

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

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

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

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