rotmessage.blogg.se

How to create your own game on the computer
How to create your own game on the computer










  1. HOW TO CREATE YOUR OWN GAME ON THE COMPUTER HOW TO
  2. HOW TO CREATE YOUR OWN GAME ON THE COMPUTER CODE

Scratch was created by researchers at the Massachusetts Institute of Technology (MIT) and is specifically made for beginning programmers-so even if you've never programmed anything before, you'll be able to use Scratch! Scratch uses blocks (simple instructions), which you can hook together, by dragging and dropping with your mouse, to make longer and more complex instructions. In this science fair project you'll create a video game using an easy-to-use programming language called Scratch TM. This program, in Scratch, has two scripts written for the cat sprite.

HOW TO CREATE YOUR OWN GAME ON THE COMPUTER CODE

The code blocks for a cat sprite instruct the sprite to move when the right-arrow key is pressed and play a meow sound when the space bar is pressed.įigure 1. Programmers choose which programming language to use based on the tasks they want the computer to perform, and which languages the programmer knows.Ī cropped screenshot shows 4 coding blocks in a scripts area within the program Scratch.

HOW TO CREATE YOUR OWN GAME ON THE COMPUTER HOW TO

Different programming languages have different advantages and disadvantages-some are good for telling computers how to display images, while others are better at allowing the computer to do mathematical calculations quickly. Just as there are many different human languages, there are also many different programming languages. These programming languages are specifically built to take advantage of how computers process information. Similarly, programmers (people who write programs) use special languages to write computer instructions. For example, the Experimental Procedure for this science fair project is a list of instructions, written in English, telling you how to do this project. If you were giving a set of instructions to a person, you'd probably write them down using a language that the person understood. The instructions include information like what characters, or other art, to display on the screen what should happen when the player presses different buttons and when specific sounds or songs should be played.

how to create your own game on the computer

Video games are basically made up of a set of instructions, called a program, which tells the computer (or game console) what to do. And once you've done that, you can take what you've learned and use it to come up with a game idea of your own, modify the game you've already created, or just sit back and enjoy playing your creation from this science fair project. How would you like to make your very own video game? Sound impossible? Well it isn't! This science fair project will walk you through the steps of creating a simple video game.












How to create your own game on the computer