search
user.png
vertical menu

Scratch: Platform Physics (Game Mechanics #6)

Scratch: Platform Physics (Game Mechanics #6) preview
Scratch: Platform Physics (Game Mechanics #6) preview
Scratch: Platform Physics (Game Mechanics #6) preview 2
Scratch: Platform Physics (Game Mechanics #6) preview 3
Scratch: Platform Physics (Game Mechanics #6) preview 4

Look Inside · 10 pages

Platform Physics, Game Mechanics #6 cover: Scratch cat sprites standing on black platforms against a sky backdrop
Title page for the Scratch platformer coding guide
Overview of a Scratch platformer guide on custom blocks, gravity jumps and wall detection, listing the six sections
Teacher overview; notes students should already know Scratch basics
Sprites setup: students rename the Scratch cat to Player, then paint a Ground sprite with a box and lines as platforms
Step 1: building the player and level sprites
Variables: students make jump height, Xvelo, Yvelo, canjump? and gravity variables for all sprites from the Data blocks
Step 2: setting up the movement variables
Custom blocks: students use More Blocks to make Xcollide, Ycollide and Physics blocks set to run without screen refresh
Step 3: introducing reusable custom blocks
Collide blocks: scripts defining Xcollide and Ycollide, nudging the sprite by 1 or -1 until it stops touching Ground
Step 4: coding wall and floor collision checks
Physics block part 1: code applying gravity to Yvelo and letting the cat jump with the up arrow when canjump? is 1
Step 5a: vertical movement and jumping code
Physics block part 2: code changing Xvelo by 1 or -1 when right or left arrow keys are pressed, then moving x by Xvelo
Step 5b: adding left and right arrow-key controls
Physics block part 3: code that runs Xcollide on touching Ground and slows Xvelo toward 0 when no arrow key is held
Step 5c: wall bounce and friction to finish the script
The Character: green-flag scripts set starting variables, gravity 2 and jump height 20, then run Physics forever
Final step: testing and tuning gravity and jump height
Attributes
File

PDF

Editable
No
Author
Roombop
Rating
Add To Collection
Add to collection Add to collection

About This Product

Scratch: Platform Physics (Game Mechanics #6)

Description:

This serves as a comprehensive teaching resource specifically designed for educators to instruct learning in computer science. Ideal for students from grade 3 to 10. It aims to equip students with the knowledge and skills required to create custom blocks and set up physics in platform games on Scratch.

Main Features:

  • Moving a character left or right
  • Navigating through dynamics of character jumping
  • Understanding the application of gravity principles and wall/ground detection within game mechanics.

Note: This guide promotes creativity by pushing learners beyond their current limits, thereby enriching their interaction with Scratch. Prior familiarity with Scratch is suggested while using this resource.

Suitability across Various Scenarios:

  • Holistic classroom instruction
  • Small group sessions
  • Distributed as homework assignment

Format Specifications:

The package is provided as an easy-to-use PDF file, complete with clear, concise step-by-step instructions beneficial to both educators and students pursing computer science activities.

To conclude,This resource stands apart due its comprehensive content, adaptability across learner competencies & scenarios, thus assuring educators about its potential in augmenting engaged learning within computer science.

What's Included

Step by step to create custom blocks and physics

0 Reviews

Explore related searches