<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Tutorials || Scratch by </title>
      <link>https://padlet.com/arsbrigida/lagys5dc6m2th0bd</link>
      <description>Scratching</description>
      <language>en-us</language>
      <pubDate>2023-05-05 11:51:03 UTC</pubDate>
      <lastBuildDate>2025-12-09 15:54:33 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url>https://padlet-uploads.storage.googleapis.com/2012691529/6f849b7d409b06fd7cbc3e547c110ea1/R2__1_.svg</url>
      </image>
      <item>
         <title>Gravity tutorial || Make a platformer</title>
         <author>arsbrigida</author>
         <link>https://padlet.com/arsbrigida/lagys5dc6m2th0bd/wish/2579441898</link>
         <description><![CDATA[<div>Instructions for creating a good game. Part 1.<br>So, let's think about (at least a little) how our game will work. My instruction number one will tell you how to make gravity in the game. That is, a jump, a fall. Create a variable Force of attraction. And the code for our sprite: We need the "Player" sprite. Any. Draw a cube. This is our character. Adding a ground sprite. When the checkbox is clicked go to X:0 Y:0 . wait 0.1 seconds, set the variable Force of attraction to 0. Always repeat: change our force of attraction to -1, change Y to the variable force of attraction. If it touches the "Earth",then we will set the gravity force to 1 and create the "Jump" block. So, the "Jump" block, (Define "Jump": if the up arrow key is pressed, then change the pull force to 10.) Back to the code. Next, let's create a movement. If the right arrow is pressed, then go 10 steps. Therefore, if the left arrow is pressed, go -10 steps.</div><div>&nbsp;Русская версия<br><br></div><pre>инструкции по созданию хорошей игры. Часть 1.
Итак, давайте подумаем (хотя бы немного), как будет работать наша игра. Моя инструкция номер один расскажет, как сделать гравитацию в игре. То есть прыжок, падение. Создайте переменную Силу притяжения. И код нашего спрайта: Нам нужен спрайт "Игрок". Любой. Нарисуйте куб. Это наш персонаж. Добавление спрайта земли. Когда флажок установлен, перейдите к X:0 Y:0 . подождите 0,1 секунды, установите переменную Сила притяжения на 0. Всегда повторяйте: измените нашу силу притяжения на -1, измените Y на переменную силу притяжения. Если он коснется «Земли», то установим силу тяжести на 1 и создадим блок «Прыжок». Итак, блок «Прыжок», (Определить «Прыжок»: если нажата клавиша со стрелкой вверх, то изменить силу тяги на 10.) Вернемся к коду. Далее, давайте создадим движение. Если нажата стрелка вправо, то пройти 10 шагов. Следовательно, если нажата стрелка влево, идите -10 шагов.</pre><div><br><br><br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2023-05-05 11:55:01 UTC</pubDate>
         <guid>https://padlet.com/arsbrigida/lagys5dc6m2th0bd/wish/2579441898</guid>
      </item>
   </channel>
</rss>
