Home > Software Tutorial > Computer Software > How to make numbers in scratch. How to display numbers 4 times 4 in scratch?

How to make numbers in scratch. How to display numbers 4 times 4 in scratch?

WBOY
Release: 2024-05-06 15:25:47
forward
981 people have browsed it

How to make the "Digital Lianliankan" game? The Scratch platform provides convenient tools that make it easy for programming beginners to get started. This tutorial will take you step by step to create a 4x4 digital connect game, from building the game interface to setting up matching rules, and teach you step by step how to master Scratch programming skills. Read on to unlock the secrets to making digital connect games!

First we need to create a character. At this time, we can choose to customize a character. If we draw one ourselves, it will be easier to get the desired effect.

scratch怎么制作数字连连看 scratch数字4乘4显示的技巧

Draw a rectangular frame on the canvas and fill our rectangular frame with a color you like so that its outline can be seen when the numbers are displayed.

scratch怎么制作数字连连看 scratch数字4乘4显示的技巧

We add a text box in the rectangular box, change the color and size of the number so that it is centered in the rectangular box, and then double-click the number to change the content.

scratch怎么制作数字连连看 scratch数字4乘4显示的技巧

After completing a shape, copy the shape, change the number display, and copy all the shapes we need. Then we set up the program to make him clone himself.

scratch怎么制作数字连连看 scratch数字4乘4显示的技巧

When cloning yourself, change the displayed position. The first four need to change the x coordinate and increase evenly. Then the x coordinate returns to the origin and the y coordinate is changed. Cycle through again.

scratch怎么制作数字连连看 scratch数字4乘4显示的技巧

By changing the number of repetitions, we can get different matrices. We can make them any size we want, and then we can set variables to let them change the internal parameters and display Different shapes.

The above is the detailed content of How to make numbers in scratch. How to display numbers 4 times 4 in scratch?. For more information, please follow other related articles on the PHP Chinese website!

source:zol.com.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template