T
T
Tera Incognita2021-06-10 21:19:01
Informatics
Tera Incognita, 2021-06-10 21:19:01

How to properly highlight the player's moves?

The school program of scratch programs, the block

60c256959b2c8489187516.gif
60c2569ec67d0960091039.jpeg

field was created through clones with two suits
required
when you click on the sprite, we display the highlight of the two moves on which the player can move like a pawn in chess.
I chose the distance solution. that is, the distance to the sprite is 140 steps. But as you can see in the picture, for some reason this solution does not work. Because there are two cells in front and one in the back.
Changing the distance the result is the same, the centering of the player's sprite also does not give the effect.
Question .
How to make the backlight even? two cages in front and in the back?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question