Scratch how to make a game

scratch how to make a game

Aug 03,  · How to Make a Game on Scratch Step-by-Step (Beginners, Kids 8+) Step 1: Start with a Plan. Making a plan is the first and most important step towards making a game. This can also be Step 2: Set Up Your Main Character. To get started, we will need to . Using Scratch, you will create your own computer game. You will use the planning, reflection and testing sheets provided, while keeping in mind the final rubric. All of these documents are in your folders. Create Your Own Game.

As we mention in our Scratch coding article, Scratch is one of the best platforms for all ages to build scratxh projects online. The platform is easily accessible for android tablets, and most desktop OS. The Scratch programming language is incredibly versatile — Scratch blocks can be used for anything from making animations to telling interactive hos. The most popular use of Scratch, however, is to program video games.

The Scratch programming language is perfect for fun games because it supports player input, and gives players nearly unlimited control over its code. We'll show both beginners how to go faster and influence people experienced Scratchers how to make any simple game on Scratch, step-by-step.

You can follow ggame with the new game that we make here, or even use these basic steps to create your own game. Games are one of the most popular forms of how to make your own file format in use today. But when you boil it down, all games share two core requirements. When people think of games, they typically gsme of popular, complicated video games or computer games like Minecraft or Fortnite.

Even though these two games are totally different, they share the same core functions. By creating a project that meets these two requirements, you can easily create your own game! Making a plan is the first and most important step towards making a game. This can also be thought of as your game design.

This step may scratvh trivial, but it gives your project direction. People who skip this step and start coding without a plan can easily lose sight of their goal, and often end up abandoning their game before it's complete.

Planning is a great chance to practice your creativity and come up with a cool project idea. Even though it seems daunting at first, following three simple guidelines will make the process easy. Once you figure out these three things, the rest of the game will follow naturally. But you should focus on the one which inspires you the most.

Choose something that you will be able to make in an hour or two, as this will be much more gratifying. Making complicated games like the ones on the Scratch Homepage takes a lot of knowledge and hard work. For example, a medieval themed game would be set in an ancient castle, mqke knights and horses. A wild west game would be set in the desert, with cowboys and a saloon!

Picking a theme can often be the easiest part of making a game, as it follows gzme once you come up with an idea you like. To pick out a theme, try to think tl one thing that you want to put in your game.

You can easily expand any of these ideas to become a complete visual theme with both a setting and characters. The next step in making a plan is to figure out what people will do in your game. To do this, you must:. Many of the most popular scrathc are just too complicated for beginners to csratch.

Specifically, try to avoid platformers and fighting games. That said, simple games are still lots of fun to play! Play this simple collecting game, Hungry Hippo!

Help the hippo eat, or collect, the food. Check scgatch this simple dodging game, Cake Chaser! Help the cake escape from the hungry beetle. This is a simple question game, called Number Guesser. Guess what number Giga is thinking of to win!

In this article, we are going to make a collecting game. This is what I've thought of so far for my plan. All I know about my game so far is that I want to move a character around what can you do with old computers collect items. The only thing you should see is a cat in the middle of the stage.

In Scratch projects, characters and objects are represented by Sprites. These sprites are images, and appear in the main area where your game takes place in the top right, called the Stage. Sprites can move around and execute code that we give them, which allows us to create some truly awesome projects! Right now, the only sprite that our game contains ggame the Scratch Catincluded in every project by default. Now, select your main character from this menu.

You can choose from a list of premade sprites, or customize your game and paint new sprites yourself now the costumes tab or paint editor. You can even upload a picture of yourself if you want to! For our game, we will use a mermaid as our first sprite. This is one of the default sprites in the makr, so anyone that wants to can follow along! After creating a sprite, you should see it in the center of the Stage. The cat will be there as well — unless you want scratcch in your game too, you can delete him if you right-click the trash can icon on his sprite.

The code you write on a controllable sprite scratcy allow the sprite to move when the player presses buttons. For our game, we want our mermaid to be able to move around. Check out what this Scratch movement code gives us below by clicking the green flag!

Now we've already completed an important part of our game. The player can now control a sprite, which is one-third of our plan! While backdrops are not necessary to complete a game, they certainly add quite a bit of character. You could make a working game without scratcb, but then your game would simply take place on a white screen!

Choosing a fun backdrop helps communicate the theme of your game, and makes your game more engaging and immersive. This will take you ohw a backdrop menuwhere you can select any backdrop you want.

You can also makw your own backdrops, or upload any picture you want how to get war bucks in gun bros your computer! To try out these other options, click the corresponding buttons in the drop-down menu. No ti what option you choose, try to coordinate your character and backdrop. For example, if your main character is a knight, you could use a castle as your backdrop.

This will communicate the theme of your game to the player. To do this, we can create a new sprite which will interact with our main character. Based off of the plan you tto earlier, you should already have a rough idea of what you want your objective csratch be. Different types of games can have vastly different types of objectives. For example, a Question game could have a wise Sphinx which asks questions to the player. A dodging game could have a spooky ghost which chases the player around!

For our collecting game, the mermaid will need to collect pearls. When she gaje a pearl, another one will appear in a random spot! Our score will increase by one for every pearl we collect. Since the Scratch uow library does not include any pearl sprites, too made our own using the sprite editor. Whenever the mermaid hlw a mmake, we want another to appear in a random position on the screen.

This can be accomplished easily by using the blue go to random position block. The forever block on the outside is what is known as a loop. Maje loop repeatedly runs any code that you put inside of it until what are the best car seats for toddler game stops. This ensures that whenever the mermaid touches the pearl, the pearl will react.

Without it, the pearl would only check this condition once at the start of the game. What is a disfunctional family let's play our completed game below:. Try moving the mermaid to the pearl. When it touches the pearl, the above code will run, and the pearl will go how to apply a tca peel at home a random spot on the screen.

This is exactly what we want! The code for an enemy like this is pretty similar to the code we just wrote above. We need code to check if the player touches the enemy. If the player does aa the enemy, then something bad will happen. An easy way to make enemies is gam have the game end if you touch them. However, you can program anything to happen if they touch — get creative!

Question games are different from collecting and dodging games. Instead of having the player move and touch a sprite, they have a sprite which asks the player questions. If they get the questions correct, they win. You can then use an if statement to check if the answer is correct! Now that you have a controllable character and a working objective, your project meets all of the basic requirements of a game! Great job!

Even though your project counts as a game, you can still improve it to make it more fun to play. In order to extend your game to be more complex, like this Ocean Cleanup gametry to add in components which fit under these categories:.

Create Your Own Game

Nov 19,  · In this tutorial, you can learn how to make a game in Scratch -- a game where a character jumps over moving obstacles to score points! Try it out: https://sc. Mar 08,  · In my short couple years of being on scratch, I have noticed a lack for upgrade games. I first assumed they had put a ban on them, but then reconsidered. Despite Scratch having roughly million projects, only a handful of upgrade games are decent. This article is about showing people how to make a proper upgrade game. Remember.

This article was co-authored by our trained team of editors and researchers who validated it for accuracy and comprehensiveness. This article has been viewed 11, times. Learn more Scratch is a popular visual programming language developed by MIT Media Lab as a children's educational tool. This wikiHow teaches you the basics of how to make a game. Open Scratch. Click the icon that resembles a photograph in the lower-right corner to add a background.

Click the icon that resembles a cat to add a sprite to your game. Click the Code tab. Click a sprite you want to control and drag an Event block into the code area. Attach Motion, Look or Control blocks below the event block. Use variables to create a score, lives, and other HUD items. Use the "Set Variable" block to set the starting points of the variables at the beginning of the game. Use the "Change Variables" block to change your variables when sprites touch.

Did this summary help you? Yes No. Log in Social login does not work in incognito and private browsers. Please log in with your username or email to continue. No account yet? Create an account. Edit this Article. We use cookies to make wikiHow great. By using our site, you agree to our cookie policy. Cookie Settings. Learn why people trust wikiHow. Download Article Explore this Article parts. Related Articles. Article Summary. Part 1 of Navigate to the Scratch Download page in a web browser.

This is the web page where you can download the desktop version of Scratch. Click Direct Download. It's below the option to download Scratch from your system's digital store.

Alternatively, you can click Create at the top of the web page to start creating immediately online inside your web browser. Double click the install file. The Scratch install file is "Scratch Desktop Setup 3. Once the install file is finished downloading, double-click the install file to begin the install process. You can find downloaded files in your Downloads folder or in your web browser.

Install Scratch. Click Install Click Yes to allow the Scratch installer to make changes to your system. Click Finish. Mac: Scratch the Scratch app icon to the Applications folder. Part 2 of It has a yellow icon with an S on it. Click the icon in the Start menu on Windows. You can find it in the Applications folder on Mac. The first time you open Scratch, it asks if you want to send data to the Scratch team to help improve Scratch. You can click No thanks or Yes, I'd like to help improve Scratch.

If you select Yes, usage data will be sent to the Scratch team. The Scratch team does not collect personal information. Add a background. To add a background in Scratch, click the icon that resembles a photograph in the lower-right corner. Then select an image to use as a background. You can use the tabs at the top to browse backgrounds by category or use the search bar in the upper-left corner to search for background by name.

To upload your own background, hover the mouse cursor over the icon that resembles a photograph and click the icon that resembles a trey with an arrow pointing up. Click an image you want to use as a background and click Open. To draw your own background, hover the mouse cursor over the icon that resembles a photograph and click the icon that resembles a paintbrush.

Use the paint tools to paint your own background. Add a sprite. Sprites are image objects that are part of the game scene. They can be the player character, enemies or obstacles, non-player characters, power-ups and consumables, or animated background objects. To add a sprite, click the icon that resembles a cat in the lower-right corner. Then click a sprite you want to add to your scene.

Like backgrounds, you can upload and paint your own sprites to your scene. To do so, hover the mouse cursor over the icon that resembles a cat and click the icon that resembles a trey with an arrow pointing up to upload your own sprite.

Click the icon that resembles a paintbrush to paint your own sprites. If you need to delete a sprite, click the sprite in the list below the Preview window in the upper-right corner and press the Delete key. Drag the sprite where you want it to be at the start of the game.

The preview window is in the upper-right corner. Click and drag the sprite to where you want it to be at the start of the game. Part 3 of Click the sprite you want to add controls to. Click the sprite icon below the preview window in the upper-right corner to select a sprite.

It's the first tab in the upper-left corner below the Scratch logo. Drag an event block into the code area. In Scratch, the coding is done using blocks. All the blocks are listed in the panel to the left under the blocks tab. The blocks are color-coded by type. Event blocks are color-coded yellow. Click the yellow dot to the left to jump to event blocks. Then drag an event block into the code area to the right of the list of blocks. An event block can be something like "When this sprite is clicked", "When [key] is pressed" or "When [green flag icon] is click".

The game sequence starts when you click the green flag icon above the preview window. Use the block that says "When [green flag icon] is clicked" to create an action that starts as soon as the game starts.

It's at the top of the Events blocks. It has an icon with a green flag in it. Attach a block below the event block. The motion blocks are color-coded in blue, and the Look blocks are color-coded in purple.

Find a block for what you want to have happen. Drag it into the code area and attach it below the event block in the code area. Notice how the blocks have a notch above and below them.

Insert the notch for the action block into the event block. Select an option such as keyboard key from the drop-down menu. If a block has a white bubble with text in it, you can change the text inside the bubble.

Experiment with the blocks. It takes a bit of experimentation to figure out how to get the blocks to do what you want. Try attaching different blocks and see what happens. The following are a couple of example blocks you can try.

Example blocks 1: Select "When this sprite is clicked" as an Event block.

2 thoughts on “Scratch how to make a game

Add a comment

Your email will not be published. Required fields are marked *