light site-logo
  • Home
  • About us
  • Courses
  • English
    • Ελληνικά
Login
  • Home
  • About us
  • Courses
  • Login
  • Contact Us
  • English
  • Ελληνικά
Home Programming and Creating Games The Heroes Positions in the Stage
Programming and Creating Games
366 / 366 Days
Design Elements of an Electronic Game
Yet to Start
  • Quiz - Design Elements of an Electronic Game
Electronic Games and Coding
Yet to Start
  • Quiz - Electronic Games and Coding
Scratch in Action
Yet to Start
  • Quiz - Scratch in Action
Activity
Yet to Start
  • Crossword
The Heroes Positions in the Stage
Yet to Start
  • Activity - Game
  • Quiz - The Heroes Positions in the Stage
Points and Other Information in our Games
Yet to Start
  • Points and Other Information in our Games - Exercises
  • Quiz - Points and Other Information in our Games
Write in the scene
Yet to Start
  • Write in the scene - Exercises
  • Quiz - Write in the scene
Actions only if something happens
Yet to Start
  • Actions only if something happens - Exercises
  • Quiz - Actions only if something happens
Perform actions multiple times
Yet to Start
  • Perform actions multiple times - Exercises
  • Quiz - Perform actions multiple times
Events and Sprite Communication
Yet to Start
  • Events and Sprite Communication - Exercises
  • Quiz - Events and Sprite Communication
Banana Chase (The Game)
Yet to Start
The Game - Presentation of Details
Yet to Start
  • Quiz - The Game - Presentation of Details
Sprite Movement With Mouse
Yet to Start
  • Sprite Movement With Mouse - Exercises
  • Quiz - Sprite Movement With Mouse
Automatic Random Motion of an Enemy Character
Yet to Start
  • Quiz – Automatic Random Motion of an Enemy Character
How Our Hero Will Lose
Yet to Start
  • How Our Hero Will Lose - Exercises (Create a Game)
  • Quiz - How Our Hero Will Lose
The Enemy Character Following the Hero
Yet to Start
  • Quiz - The Enemy Character Following the Hero
Show Enemy Character at Random Position
Yet to Start
  • Show Enemy Character at Random Position - Exercises
  • Quiz - Show Enemy Character at Random Position
The Game Gets Difficult as Time Passes
Yet to Start
  • Quiz - The Game Gets Difficult as Time Passes
Scratch Millionaire Game
Yet to Start
Grab The Bone (The Game)
Yet to Start
« ‹ › » page 1 / 2

Progress Bar

Programming and Creating Games

The Heroes Positions in the Stage

Video - The Heroes Positions in the Stage

 

 

  • Scratch 3
  • Scratch 2

Video Transcript

Hello

The following courses refer to very important programming concepts.

Their knowledge will help you build strong foundation in order to understand computer programming.

All you have to do now is to freeze this video and open Scratch in another window.

It is essential to try anything that Stevie suggests. This is the only way that will help you achieve the goals of this lesson.

Remember that the more time you spend with this application the better you become!

So remember. We often freeze the image and try at Scratch.

Stevie you can start ..

 

Hello

The programming concept we will discuss in this lesson is the “coordinates”.

Coordinates are a very important programming concept as they determine the location of sprites in the stage.

Understanding them will help you create games using scratch.

Gas! I will need your help with the screen.

The scratch stage has 480 pixels length and 360 pixels height.

In order for the programmer to determine the precise location of a sprite in the scene, he should accurately specify its coordinates.

The coordinates are 2 numbers. The first number, named X, defines the horizontal position of the sprite in the stage.

The second is named Y and defines the vertical position of the sprite in the stage.

The values that the X coordinate can take are between -240 and 240.

If it has a -240 value then it is somewhere on the far left of the stage.

If it has a value of 0 is in the middle of the stage and if it has a value of 240 it is on the right edge of the stage.

The corresponding values of the Y coordinate are from -180 to 180.

If the sprite has a value of Y = -180 then its position will be at the lower end of the stage and if it is 180 at its upper end.

To determine the exact location of a sprite, we specify its coordinates as a pair.

The position (0,0) means that X = 0 and Y = 0 and is located exactly in the center of the stage.

Now let's move on to the scratch program to see how things work in practice.

As soon as the program starts, it is in the new project by default,

Here you 'll find a sprite named: "Sprite1". It is our well-known cat.

The name of the item is visible here and we can change it if we want.

Usually we change the name of each item that we use according to its shape.

Let's change it to "cat".

Note how the cat's position seems to be in the center of the stage.

Its exact position is determined, as we previously mentioned, from its coordinates.

As you can see, it's at 0.0.(zero point zero)  That is precisely in the center of the stage.

I can use my mouse to move the cat to whatever point I want on the stage.

Watch how the X and Y values change as i move it.

Let me leave it here.

Let me now try to change the position of the cat by creating a scenario for it.

The blocks I use are blue.

I will try to experiment for a while with these instructions.

After watching my moves I recommend you do the same in your own Scratch

window.

Music please ...

Topics

Activity - Game

Quizzes

Quiz - The Heroes Positions in the Stage

← Previous Lesson Next Lesson →

Search in our Page

 

Get in Touch

Facebook Twiter Linkedin

Terms of Use and Privacy Policy

Privacy Policy

Terms and Conditions

Cookie Policy

Support Tickets System:

Support Tickets System

  • [email protected]
  • [email protected]
Copyright 2019 - Coyotelearner STEM Academy All Rights Reserved
Cookies on Coyotelearner STEM Academy
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies. Read our cookie policy
here
Cookie settingsACCEPT
Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

  • Ελληνικά (Greek)
  • English