background top icon
background center wave icon
background filled rhombus icon
background two lines icon
background stroke rhombus icon

Download "Как сделать на Scratch движущийся фон | Программирование для детей от 8 лет | Онлайн-школа для детей"

input logo icon
Video tags
|

Video tags

scratch
скретч
программирование для детей
программирование
скрэтч
scratch tutorial
видеоуроки
уроки
scratch games
scratch 3
scratch game
djing
уроки по scratch
создание игр
лабиринт
для начинающих
с нуля
видеоуроки по скретч
scratch 3.0
скретч 3.0
скрэтч 3.0
scratch в школе
scratch 3.0 уроки
информатика
уроки скретч
скретч игры
скретч программирование
scratch для детей
как сделать игру
скретч для детей
движущийся фон в Scratch
как двигать фон в игре
Subtitles
|

Subtitles

subtitles menu arrow
  • ruRussian
Download
00:00:02
teacher at the online
00:00:04
pixel programming school, today we will
00:00:07
learn how to create a meeting game with a
00:00:09
moving background effect, so let's go,
00:00:19
subscribe to the channel and like this
00:00:22
video, let's start by drawing the background,
00:00:26
our games for this, click on key
00:00:28
to select the background and go to the draw section, the
00:00:31
interface appears in front of us and the
00:00:33
logical stem that we saw when
00:00:35
drawing sprites today, as
00:00:38
a background we will draw the road, first
00:00:41
select the color of the grass and growing on the sides of
00:00:44
the roadway,
00:00:45
then select the rectangle tool and
00:00:49
plant it on both collapse fields so
00:00:51
that in the center there is space left for the
00:00:54
road itself so that our grass does not have a
00:00:56
black outline, turn off the stroke, then
00:00:59
move on to drawing the roadway, it
00:01:02
will be gray in color, to find the
00:01:05
gray color in the palette, turn
00:01:08
the saturation to minimum, after that all that remains is to
00:01:11
select the brightness and so choose color
00:01:14
we perform all the same actions as with the
00:01:17
grass, select the rectangle tool
00:01:20
and stretch the road by holding the mouse and
00:01:22
move it to the center. You will agree that
00:01:25
so far our background looks a little like the
00:01:27
road, let’s add details to
00:01:29
give it realism, for this,
00:01:32
select the line tool, set the
00:01:34
stroke color to yellow, and make the line thickness
00:01:37
for example 23 after that we will draw a
00:01:40
vertical strip in the center of our
00:01:42
asphalt so that the line turns out smooth,
00:01:45
hold down the shift key and move the mouse
00:01:47
down the screen put the drawn line
00:01:50
in the center of the roadway I think everyone has
00:01:53
already guessed that this will be a
00:01:54
dividing line in order to
00:01:57
make it dotted set the thickness
00:01:59
brushes at about 30 points and
00:02:03
use the eyedropper to select the color of the asphalt,
00:02:05
after that we draw a gap
00:02:08
between the yellow line by hand,
00:02:10
ready with the background, we are done since we
00:02:13
need to limit the playing space,
00:02:15
let's make roadsides beyond
00:02:18
which our character will not be able to
00:02:20
move, to do this, click
00:02:23
draw sprite select the
00:02:25
rectangle tool and start choosing the
00:02:27
color, usually
00:02:28
here you can fantasize as you
00:02:31
want, it can be absolutely
00:02:33
any color, I chose brown,
00:02:37
having chosen the color, stretch the rectangle
00:02:39
shape with long sticks and put long sticks on it to the right
00:02:42
of the road,
00:02:43
watch carefully so that you have
00:02:46
enough space left on the roadway
00:02:48
parts since it is the gray zones that will be the
00:02:50
playing area for our character,
00:02:53
then
00:02:55
let’s name our sprite, for example, the right
00:02:58
side of the road, right-click on the
00:03:01
sprite and click duplicate, we have
00:03:04
exactly the same working one,
00:03:06
move it to the left side of the road,
00:03:10
then change its name to the left side of the
00:03:13
road,
00:03:14
check that we have labeled the roadsides in
00:03:17
accordance with where they are, to do
00:03:20
this we click on the sprite and on the screen it is
00:03:22
highlighted in blue so everything is signed
00:03:25
correctly, great, we move on further now we
00:03:28
need to choose to direct the character since
00:03:30
we are looking at the road from above, our hero
00:03:32
should also be drawn from above,
00:03:34
I will repeat here you can
00:03:37
draw a character yourself or use a
00:03:39
ready-made image,
00:03:40
it all depends on your imagination I
00:03:43
liked the bat so I
00:03:45
choose it we need to reduce
00:03:48
the size for this we select all parts of the mouse
00:03:51
and compress it to the desired scale here
00:03:55
I realized that the
00:03:58
character is starting to merge healthy
00:04:01
so we need to change it a little the color of
00:04:03
the asphalt, to do this we go over the background
00:04:07
and make the roadway lighter, don’t
00:04:11
forget that we also have separately
00:04:13
drawn spaces on the yellow stripe, they
00:04:16
also need to change the color,
00:04:18
we will do this manually using an eyedropper,
00:04:23
it’s great, now nothing merges and
00:04:25
you can safely move on to
00:04:27
programming, let’s start with scripts
00:04:29
bat and so when the flag is pressed
00:04:33
go to x20 y minus 111 and this will force
00:04:38
the character to start the game from
00:04:40
one place each time far set the cycle
00:04:43
to repeat always turn in the
00:04:45
direction of 90 which will create the
00:04:48
illusion of ballet
00:04:50
then set the conditions for gisli then here we will
00:04:55
register the control of our mouse and so
00:04:59
if the left arrow key is pressed then
00:05:03
change x to minus 8 so our
00:05:07
sprite will move to the left
00:05:10
after its coordinates have changed
00:05:12
to minus 8 it needs to turn in the
00:05:15
direction of 75 as if getting ready
00:05:18
people the other side now we need to
00:05:21
register a movement to the right for this
00:05:24
we will copy our script and push it into the
00:05:26
loop,
00:05:27
change the conditions to if the right arrow key
00:05:30
is pressed change the value of the
00:05:33
x coordinate to 8 then rotate in the
00:05:37
direction 105 take another condition
00:05:40
if then and put it after the condition for
00:05:43
moving to the right
00:05:45
here I noticed an error, each condition
00:05:48
should follow each other like this how they are
00:05:50
equal, so we take out the second
00:05:53
condition from cycle 1 and put it after
00:05:57
remember at the beginning and said that we need
00:05:59
to limit the area and the bat can
00:06:01
move, so now we will
00:06:04
do this, we need to write such a
00:06:07
condition that when touching one of the sides
00:06:09
the bat will be like talkie get away from
00:06:11
them and fly another 100, well, if it touches
00:06:15
the right side of the road, then change x to minus 8,
00:06:20
if it touches the left side of the road, then
00:06:23
change x to 8, this will create the effect of
00:06:26
repulsion from the side of the road, let's check,
00:06:30
start the game and yes, everything works fine, it
00:06:33
really creates the feeling that our
00:06:36
character soars now it's time to make
00:06:39
obstacles that will need to be flown around
00:06:41
I took the simple path I chose clouds
00:06:44
and scratch stock images you can
00:06:46
choose something of your own or draw a
00:06:48
barrier yourself let's start
00:06:50
programming the clouds when the checkbox
00:06:52
is pressed an infinite loop repeat always
00:06:55
then take two loops if then otherwise
00:06:58
put one of them after otherwise 1 this
00:07:02
will allow us to create a larger number of
00:07:04
conditions we will start with a randomizer it will
00:07:08
give us a random value from 1 to
00:07:10
3 if this value is equal to three the
00:07:13
condition coming after will be fulfilled
00:07:15
then if it gives us one or two which is not
00:07:19
equal to three it will be fulfilled condition
00:07:21
coming after otherwise so if
00:07:25
a three is given then go to x equal to 0 and
00:07:29
perfect 170 this will be the central
00:07:32
position of the cloud if the result is a one or a
00:07:35
two then the value is fulfilled otherwise
00:07:37
here we install another randomizer
00:07:40
which gives the values ​​1 or 2 and if
00:07:43
the value is 2 then the cloud move to the
00:07:46
coordinate minus 107,140, ​​that is, to the left,
00:07:50
if the value is equal to one, that is,
00:07:52
not equal to 2 clouds act on command,
00:07:55
otherwise, therefore, it moves to
00:07:56
coordinates 75,190 then we take our
00:08:01
huge words and put their cycle on top,
00:08:04
then the cycle repeat always set the block to
00:08:07
repeat until not yet touches the edge
00:08:11
change y to minus 8 with the help of this
00:08:16
cloud by touching not behind the screen they will go
00:08:19
another short distance to visually
00:08:22
disappear completely let's test
00:08:24
how our clouds fly
00:08:27
personally they really fly from left to
00:08:29
right from the center
00:08:31
from everywhere in general here I noticed that
00:08:36
the cloud flying out in the center flies out
00:08:39
so much in the middle that ours is flying and I’m shooting to
00:08:41
fly around it in this let’s
00:08:43
change the x coordinate a little and write
00:08:46
instead of 0 10
00:08:47
so on the cloud can be tested and the flax
00:08:50
will fly in as a cloud perfectly we have
00:08:52
prescribed the movement of the mouse and the movement of the
00:08:55
cloud let’s now write the conditions
00:08:58
under which we cannot touch the clouds
00:09:01
for So we move on to the creaking of the bat and an
00:09:04
endless loop, add one more
00:09:06
condition if it touches the cloud, which is
00:09:09
our cloud, that we will put a
00:09:12
notification system in the form of a block to say the game is
00:09:15
over, for example 2 seconds after that,
00:09:19
stop, let's test it, it seems to me
00:09:23
that there is too much of a delay between
00:09:25
touching the cloud and stop the game
00:09:27
for this we change the time value to
00:09:30
one second, but now another thing is
00:09:33
we touch the cloud, we are informed about
00:09:36
this and a little later the game
00:09:38
stops in order to add
00:09:40
a little excitement to our game, let's make a
00:09:43
point counter, for example, how many clouds have
00:09:45
we successfully overcome, for this we go
00:09:48
to variables and choose to set the value of
00:09:50
the variable to 0, place this block in the script
00:09:54
for the bat after the blockade, when
00:09:56
the checkbox is on, I named the variable of the
00:09:59
arriving clouds in order to
00:10:02
change the values ​​of the variable,
00:10:03
go to the script for the cloud and
00:10:05
set to change the values ​​of the variable
00:10:08
after the condition, repeat for now, don’t be
00:10:12
careful, this block should be in the
00:10:14
general loop, always repeat, but
00:10:17
not repeat outside the loop yet, and
00:10:19
let's check it's perfect. The points
00:10:23
increase by the number of
00:10:24
clouds that arrived. After playing this game a little, I
00:10:27
decided that the obstacle was not
00:10:29
difficult enough, so I decided to duplicate
00:10:32
the script for the cloud, let's see what
00:10:35
happened, you see it has become a little more difficult
00:10:37
now clouds appear with greater
00:10:38
frequency,
00:10:43
but I don’t really like the fact that they
00:10:45
often come in pairs, we can slightly
00:10:48
change the script for the second cloud for
00:10:51
this after the block, when the checkbox is pressed,
00:10:53
put the block to hide,
00:10:56
then wait for the block for one second and after
00:10:59
that the block will appear
00:11:01
using this in the first second game, the
00:11:04
second array of clouds will be invisible and
00:11:07
they will not overlap each other,
00:11:09
which will create a feeling of scattered
00:11:11
clouds and the unpredictability of their appearance,
00:11:14
let’s check how everything works
00:11:15
perfectly, indeed now the difficulty has
00:11:18
really increased, it’s
00:11:19
not so easy to play this game, the
00:11:22
points increase with the number of
00:11:24
clouds passed and ours the bat
00:11:27
pushes off by opening the screen, I think that
00:11:30
we did everything perfectly, but that’s all
00:11:32
today, we learned how to create a
00:11:34
game with the effect of a moving background and
00:11:36
work with complex data conditions,
00:11:39
if then otherwise, if you are interested in
00:11:42
using the scratch platform and you would
00:11:44
like to come up with and implement it in life is
00:11:46
your personal project welcome to the
00:11:49
online school of programming pixel
00:11:51
all information is available via the links in the
00:11:53
description everyone bye see you in the next
00:11:57
form

Description:

Каждый из вас играл в игру, где надо было бегать и преодолевать препятствия! Сегодня мы с вами научимся создавать игру в Scratch с эффектом движущегося фона! Готовы? Поехали! 00:00 Вступление 00:24 Фон в Scratch 03:30 Спрайт для игры Scratch 06:42 Программа для игры Scratch 10:27 Усложнить игру Понравилось видео – ставьте лайк и подписывайтесь на канал: https://www.youtube.com/channel/UCenaLQKkLwAUmxmwzV8fJjg?sub_confirmation=1 Хотите регулярно изучать новые уроки по Скретч 3.0? Жмите на колокольчик, чтобы получать уведомления о новых видео! Нужен наставник? Записывайтесь на онлайн-уроки программирования в школе «Пиксель»: Наш сайт: https://clubpixel.ru/ Курс по программированию на Scratch: https://clubpixel.ru/scratch Инстаграм: https://www.facebook.com/unsupportedbrowser Вконтакте: https://vk.com/clubpixel_ru ТикТок: https://www.tiktok.com/@clubpixel.ru Телеграм: https://t.me/pixelstudy Подпишись на канал и напиши в комментариях о своих успехах в изучении Scratch! Возрастное ограничение видео 6+

Preparing download options

popular icon
Popular
hd icon
HD video
audio icon
Only sound
total icon
All
* — If the video is playing in a new tab, go to it, then right-click on the video and select "Save video as..."
** — Link intended for online playback in specialized players

Questions about downloading video

mobile menu iconHow can I download "Как сделать на Scratch движущийся фон | Программирование для детей от 8 лет | Онлайн-школа для детей" video?mobile menu icon

  • http://unidownloader.com/ website is the best way to download a video or a separate audio track if you want to do without installing programs and extensions.

  • The UDL Helper extension is a convenient button that is seamlessly integrated into YouTube, Instagram and OK.ru sites for fast content download.

  • UDL Client program (for Windows) is the most powerful solution that supports more than 900 websites, social networks and video hosting sites, as well as any video quality that is available in the source.

  • UDL Lite is a really convenient way to access a website from your mobile device. With its help, you can easily download videos directly to your smartphone.

mobile menu iconWhich format of "Как сделать на Scratch движущийся фон | Программирование для детей от 8 лет | Онлайн-школа для детей" video should I choose?mobile menu icon

  • The best quality formats are FullHD (1080p), 2K (1440p), 4K (2160p) and 8K (4320p). The higher the resolution of your screen, the higher the video quality should be. However, there are other factors to consider: download speed, amount of free space, and device performance during playback.

mobile menu iconWhy does my computer freeze when loading a "Как сделать на Scratch движущийся фон | Программирование для детей от 8 лет | Онлайн-школа для детей" video?mobile menu icon

  • The browser/computer should not freeze completely! If this happens, please report it with a link to the video. Sometimes videos cannot be downloaded directly in a suitable format, so we have added the ability to convert the file to the desired format. In some cases, this process may actively use computer resources.

mobile menu iconHow can I download "Как сделать на Scratch движущийся фон | Программирование для детей от 8 лет | Онлайн-школа для детей" video to my phone?mobile menu icon

  • You can download a video to your smartphone using the website or the PWA application UDL Lite. It is also possible to send a download link via QR code using the UDL Helper extension.

mobile menu iconHow can I download an audio track (music) to MP3 "Как сделать на Scratch движущийся фон | Программирование для детей от 8 лет | Онлайн-школа для детей"?mobile menu icon

  • The most convenient way is to use the UDL Client program, which supports converting video to MP3 format. In some cases, MP3 can also be downloaded through the UDL Helper extension.

mobile menu iconHow can I save a frame from a video "Как сделать на Scratch движущийся фон | Программирование для детей от 8 лет | Онлайн-школа для детей"?mobile menu icon

  • This feature is available in the UDL Helper extension. Make sure that "Show the video snapshot button" is checked in the settings. A camera icon should appear in the lower right corner of the player to the left of the "Settings" icon. When you click on it, the current frame from the video will be saved to your computer in JPEG format.

mobile menu iconWhat's the price of all this stuff?mobile menu icon

  • It costs nothing. Our services are absolutely free for all users. There are no PRO subscriptions, no restrictions on the number or maximum length of downloaded videos.