Scratch ile Eğitici ve Eğlendirici Oyunlar Tasarlama | Scratch Oyun Yapımı Fikirleri
How to Make a Platform Game with Scratch
Hello, this is Bing. I understand that you want to learn how to create games with Scratch. Scratch is a free programming language and online community where you can create your own interactive stories, games, and animations. Scratch is designed for children aged 8 to 16, but anyone can use it to learn the basics of coding and express their creativity. In this article, I will show you how to use Scratch to make a simple platform game. A platform game is a type of video game where the player controls a character that can jump, run, and avoid obstacles on different levels or platforms.
In this article, you will learn how to:
scratch oyun yapımı
Create a new project and choose a backdrop
Add a sprite and make it move
Make the sprite jump and fall
Add platforms and make them scroll
Add enemies and obstacles
By the end of this article, you will have created your own platform game that looks something like this:
Step 1: Create a new project and choose a backdrop
The first step is to access the Scratch website and start a new project. To do that, follow these steps:
Go to in your web browser.
Click on Create in the top menu bar.
You will see a blank project with a white cat sprite on a white stage.
The next step is to choose a backdrop for your game. A backdrop is an image that fills the entire stage. You can choose a backdrop from the library or draw your own. To choose a backdrop from the library, follow these steps:
Click on the Choose a Backdrop button in the bottom right corner of the stage.
You will see a window with different categories of backdrops. You can browse through them by clicking on the arrows or using the search bar.
When you find a backdrop that you like, click on it and then click on OK.
The backdrop will appear on the stage and replace the white background.
To draw your own backdrop, follow these steps:
Click on the Paint button in the bottom right corner of the stage.
You will see a window with different tools for drawing. You can use the brush, eraser, fill, shapes, text, and color picker to create your own image.
When you are done, click on OK.
The backdrop will appear on the stage and replace the white background.
For this article, I will choose a backdrop from the library called Night Sky. It is under the Nature category. It looks like this:
Step 2: Add a sprite and make it move
The next step is to add a sprite for your game. A sprite is an image that can move and interact on the stage. You can choose a sprite from the library or draw your own. To choose a sprite from the library, follow these steps:
Click on the Choose a Sprite button in the bottom right corner of the stage.
You will see a window with different categories of sprites. You can browse through them by clicking on the arrows or using the search bar.
When you find a sprite that you like, click on it and then click on OK.
The sprite will appear on the stage and replace the white cat.
To draw your own sprite, follow these steps:
scratch oyun yapımı videoları
scratch oyun yapımı dersleri
scratch oyun yapımı nasıl yapılır
scratch oyun yapımı futbol
scratch oyun yapımı çarkı felek
scratch oyun yapımı balık avı
scratch oyun yapımı yarış
scratch oyun yapımı labirent
scratch oyun yapımı uzay savaşı
scratch oyun yapımı joystick
scratch oyun yapımı penaltı atma
scratch oyun yapımı yılan
scratch oyun yapımı platform
scratch oyun yapımı taş kağıt makas
scratch oyun yapımı zombi
scratch oyun yapımı büyücü vs ejderha
scratch oyun yapımı yakar top
scratch oyun yapımı elma toplama
scratch oyun yapımı squid game
scratch oyun yapımı yeme animasyonu
scratch oyun yapımı rekor puanlı
scratch oyun yapımı android uyumlu
scratch oyun yapımı ivmeli hareket
scratch oyun yapımı silahlı
scratch oyun yapımı mobil
scratch oyun yapımı online
scratch oyun yapımı 3d
scratch oyun yapımı araba sürme
scratch oyun yapımı basketbol
scratch oyun yapımı korku
scratch oyun yapımı minecraft
scratch oyun yapımı mario
scratch oyun yapımı flappy bird
scratch oyun yapımı türkçe anlatım
scratch oyun yapımı okul öncesi
scratch oyun yapımı savaş uçağı
scratch oyun yapımı robotik kodlama
scratch oyun yapımı eğitici
Click on the Paint button in the bottom right corner of the stage.
You will see a window with different tools for drawing. You can use the same tools as for drawing a backdrop.
When you are done, click on OK.
The sprite will appear on the stage and replace the white cat.
To edit an existing sprite, follow these steps:
Click on the sprite that you want to edit on the stage or in the sprite list below the stage.
You will see a window with different tabs for editing. You can use the Costumes tab to change or add costumes for your sprite. A costume is an image that represents how your sprite looks. You can use the Sounds tab to add or record sounds for your sprite. A sound is an audio clip that plays when your sprite does something. You can use the Code tab to add or change code for your sprite. Code is a set of instructions that tells your sprite what to do.
When you are done, click on X.
The changes will be applied to your sprite.
For this article, I will choose a sprite from the library called Giga. It is under the Fantasy category. It looks like this:
The next step is to make the sprite move left and right with the arrow keys. To do that, we need to use the motion blocks. These are the blue blocks that control how your sprite moves on the stage. You can find them in the Code tab under the Motion category. To make the sprite move left and right with the arrow keys, follow these steps:
Drag a when [space v] key pressed block from the Events category and snap it to the code area.
Click on the drop-down menu and choose right arrow.
Drag a change x by (10) block from the Motion category and snap it below the previous block.
This means that when the right arrow key is pressed, the sprite will move 10 steps to the right.
Repeat steps 1 to 4, but choose left arrow and -10 instead.
This means that when the left arrow key is pressed, the sprite will move 10 steps to the left.
Your code should look like this:
The next step is to make the sprite change its costume when it faces different directions. A costume is an image that represents how your sprite looks. You can find them in the Costumes tab under the Giga sprite. The Giga sprite has two costumes: one facing right and one facing left. To make the sprite change its costume when it faces different directions, follow these steps:
Drag an if then block from the Control category and snap it below the change x by (10) block inside the when right arrow key pressed block.
This means that if a condition is true, then some actions will happen.
Drag a ( ) block from the Operators category and snap it inside the hexagonal space of the if then block.
This means that if a comparison is true, then some actions will happen.
Drag an x position block from the Motion category and snap it inside the first round space of the ( ) block.
This means that if the x position of the sprite is less than or greater than a certain value, then some actions will happen.
Type in -240 in the second round space of the ( ) block.
This means that if the x position of the sprite is less than -240, then some actions will happen. -240 is the left edge of the stage. You can see the x position of the sprite by hovering over it on the stage.
Drag a switch costume to [costume1 v] block from the Looks category and snap it inside the if then block.
Click on the drop-down menu and choose Giga-a.
This means that if the x position of the sprite is less than -240, then the sprite will switch to the costume called Giga-a, which is facing left.
Repeat steps 1 to 8, but snap the if then block below the change x by (-10) block inside the when left arrow key pressed block, and