How to make a Kung-Fu game

Slides:



Advertisements
Similar presentations
Sprite-visual object (actor on the stage) Scripts- Tells actors (sprites) what to do.
Advertisements

Create a Simple Game in Scratch
Summer Computing Workshop. Introduction to Variables Variables are used in every aspect of programming. They are used to store data the programmer needs.
Create a Simple Game in Scratch
Pong! “The oldest commercially available game in history” Resources created from the video tutorials provided by David Phillips on
How to make an educational Snakes and Ladders game in Scratch
Creating a Basic Pacman game
Harry Potter Scratch Game
Adventures in Animation Harry Potter Game Pranali Choubal Kunal Shaw Barb Ericson Dec 2007.
Helicopter Game Tutorial
A Christmas Scratch game
This game is loosely based on the Whack-A- Mole arcade game.  Each game starts with 45 seconds of play.  Moles randomly pop out of holes on the landscape.
Write Your First Computer Game!. Coding: Programming Languages Just like you can speak Chinese to someone who understands Chinese to tell them what to.
GAME:IT Junior Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game.
Creating pong in scratch Learning objectives: To learn how to program Sensing via colour and sprite proximity O:\ICT\ks3\scratch\scratch Exercises\Creating.
A Scratch tutorial. Description: You have 6 bullets to shoot at 2 targets. Every time you hit any of them you get two extra bullets but the targets get.
CSCI 101 Introduction to Software Development and Design.
Scratch Internet- Open Chrome hit “Create” 1.
GAME:IT Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game.
How to make Space Invaders
We will be creating a spaceship that simulates real movements in space. The spaceship will fire a laser beam that can destroy targets. The spaceship will.
Every week: Sign in at the door If you are new: Fill in Registration Form Ask a Mentor how to get started Make sure you are on the Athenry Parents/Kids.
©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science 1 ©Robomatter – Distribution or copying without permission.
Computer Science 1172 Scratch Project on Artificial Intelligence and Computational Thinking Nicholas Crabtree Jiang Jiang Liu Thinking Speaking Writing.
CoderDojo Roscommon. Today's Ninja Challenge: Create a GhostBuster Game Like This.
Smiley Maze By: Chen Menashe s LEVEL 1 You Lose You went off the purple arrow. Try to stay in the purple arrow.
Geometry. The screen where you can see what happens when you play your game is called the STAGE. The SCRIPT BANK is where the types of instructions are.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech June 2008.
Create a Halloween Computer Game in Scratch Stephanie Smullen and Dawn Ellis Barb Ericson October 2008.
Marble Racer. The screen where you can see what happens when you play your game is called the STAGE. The SCRIPT BANK is where the types of instructions.
Today we are learning to: Understand how actions and events control our game. Completing the catch the clown game – making a room – adding music Gather.
Using MIT Scratch for Programming and Control Exercise 4 – Cat and Dog game Year 9 ICT Autumn Term 2007.
Unit 6 Motion – Air Hockey Evangel College S.2 ICT.
Programming a Shooter Game Design.
How to create a basic game in Scratch. The Scratch Stage The Scratch stage is 480 pixels wide and 360 pixels high x increasesx decreases.
N v1.4 Presentation By: Brian Rodriguez. N ● Action Game ● Produced by Raigan Burns and Mare Sheppard of Metanet Software Inc. ● Freeware.
Kungfu Panda Game
Today's Ninja Challenge: Write Your First Computer Game!
Lives and Scoring Games Programming in Scratch. Games Programming in Scratch L2 Lives and Scoring Learning Objectives Define a variable Understand the.
Game 4: Pac Man Tutorial. New events/actions to learn: Animated sprites Change instances – allows you to change objects into other objects. Change sprites.
ICT/COMPUTING RULES Only use software allowed by the teacher
Scratch Part 2 – Character Commands. What does a command do?  Commands in programming allow an object whatever it is to do something. In the case of.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
Game Maker Tutorials Introduction Clickball IntroductionClickball Where is it? Shooting Where is it?Shooting.
LEARNING SCRATCH: PRESENTATION 4 PRESENTATION 1: GETTING STARTED 1 Broadcast Messages Today, we'll learn how to get our sprites to act together, and build.
Scratch Helicopter Game
Create a Halloween Computer Game in Scratch
Scratch for Interactivity
Exploring Mathematical Relationships Module 5: Investigation 3
Co-ordinates And Geometry Module 6: Investigation 2
Creating a Tank Game in Scratch
Computing Year 7 - Unit 2 Programming Basics Scratch Basics.
Scratch Programming Intro
Scratch – Simple Programming
Lesson 1 Introduction to Scratch Basic blocks
Go to =>
YEAR 7 PROGRAMMING SCRATCH & E-SAFETY UNIT WRAPPER
Between two fires.
ICT Gaming Lesson 3.
Flappy bird Demo: Lesson 5 Flappy bird Demo:
Building a Game in Scratch
Game development using Scratch
Creating a Simple Game in Scratch
Step 1: Right click on green arrow
Scratch Racing.
Law 16 The Goal Kick.
Lesson Nine Variables.
Scratch 7B IT 1.
Presentation transcript:

How to make a Kung-Fu game Kung-Fu Legends In Scratch

There are two stickman fighters There are two stickman fighters. You only really program one and then duplicate and change the control keys for a two-player experience This fighter has 3 costumes: one for normal standing, the other for blocking, the third for kicking

This program keeps score of lives for each fighter, they get 10 lives in the beginning… LeftplayerLives and RightPlayerLives are variables This fighter faces right (direction=90), when space is pressed, the fighter kicks and moves forward by 10, stays like that for a short while and reverts to normal standing position. Left and Right arrow keys move the fighter left and right

Left fighter scripts continued… Pressing “b” causes the fighter to enter a block position (by switching to the block costume) Pressing “up” causes the fighter to jump and kick (“the high kick”). We go up by changing Y by 20, waiting and then coming back down by Y changing by -20 Every move broadcasts the move name to the other fighter. If the other fighter receives the broadcast of a “high kick” and they are not in the “block” position, they will lose one life…

Left fighter scripts continued 2… The other fighter, when he kicks, he broadcasts that fact to our left fighter. If they were touching when the kick was received (it’s called kickback to make it different from the left fighter’s kicks) the left fighter loses a life.

Right fighter scripts – all of them. You can see they are very similar Notice, the right fighter has to respond to other keys

The announcement when the right player has no more lives left When the program starts ,this announcement is invisible (ghost=100%), but it comes up and becomes visible when needed (ghost=0%)…

Good luck! Extension activities: More moves Ninja disks? Bounce off walls? Breathe fire? Cast spells? Take their swords out? Headbutting? If you don’t want to make a kung-fu game, you can make this fighter go against pacman monsters, etc.