Game Programming Using Scratch. Scratch Scratch is an IDE (Integrated Development Environment) that allows users to create and run simple graphics/games.

Slides:



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

Summer Computing Workshop. Introduction to Variables Variables are used in every aspect of programming. They are used to store data the programmer needs.
30 min Scratch July min intro to Scratch A Quick-and-Dirty approach Leaving lots of exploration for the future. (5 hour lesson plan available)
Michael Parkes Dudley LA What can Scratch do? Make simple games, animations, presentations and stories.
 2004 Prentice Hall, Inc. All rights reserved. Chapter 18 – Macromedia Flash MX 2004: Building an Interactive Game Outline 18.1 Introduction 18.2 Object-Oriented.
CS001 Introduction to Programming Day 3 Sujana Jyothi
Game Programming and Scratch (Lecture 1) Game Programming and Design Brooklyn College Bridges To Computing.
Learn… Create… Program. Manipulation of Multiple Media Connects with youth culture Scratch is a new graphical programming language designed to support.
Introduction to Scratch UC Santa Cruz CMPS 10 – Introduction to Computer Science 13 May 2011.
An intro to programming concepts with Scratch Session 7 of 10 sessions Working with sounds and sprite communication.
(An Introduction for Programmers)
Scratch Workshop Thursday, August 26, 2010.
Comparing Python and Visual Basic
INTRODUCTION TO THE SCRATCH PROGRAMMING ENVIRONMENT.
Language Basics.
There are only 10 types of people in the world, those who understand binary and those who don't.
GREENFOOT CLUB RESOURCES Brian Cullen – Rossett School
Basic Object-Oriented Concepts
By Yukyong Chung.  Given the terms of computational concepts, the students will be able to state examples matching the Scratch blocks.  The students.
Programming & Scratch. Programming Learning to program is ultimately about learning to think logically and to approach problems methodically. The building.
Summer Computing Workshop. Session 2 Input in Scratch  Multi-Character input - This is used when the user is prompted to enter a number or word.  Problems.
Bridges To Computing General Information: This document was created for use in the "Bridges to Computing" project of Brooklyn College. You are invited.
Getting Started with Scratch Version 1.4 Visit
Introduction to Programming G50PRO University of Nottingham Unit 2 : Introduction To Scratch Paul Tennent
Game Programming Using Scratch Brooklyn College Bridges To Computing (2009) M. Meyer, J. Rodney.
Introduction to Scratch. What is Scratch? Scratch is a control program that enables you to create your own interactive stories, animations, games, music,
Image #1 Getting Started
Introduction to Programming Using Scratch Brooklyn College Bridges To Computing (2009) M. Meyer.
Unit 1 Introduction to Evangel College S.2 ICT.
Scratch Creative Computing. INTRODUCTION TO SCRATCH Section 1.
Instructions Go to the shared area and open a file Go to -> S:\ICT\My Teacher\Mr Crossan\Year 7\Catch the Clown Open the Catch the Clown file by double.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 14 Event-Driven Programming with Graphical User Interfaces.
 SCRATCH is a new programming language that lets you create your own interactive stories, animations, games, music, and art.
1 Understand what Scratch is and what it can be used for Lesson 1: Learning Objectives.
I have used Scratch, to program a guide to internet safety. This is done by using QR codes to make it more interactive and interesting for people playing.
SCRATCH ScratchScratch is a programming language that makes it easy to create your own interactive stories, animations, games, music, and art -- and share.
1 CSC 221: Computer Programming I Fall 2009 Introduction to programming in Scratch  animation sprites  motion, control & sensing  costume changes 
ICT/COMPUTING RULES Only use software allowed by the teacher
Computer Programming Modeling a Passive Solar Home.
Madlib-Input, Strings, and Lists in Scratch Barb Ericson Georgia Tech.
Introduction to Programming with Scratch Exploring Computer Science – Lesson 4-1.
Introduction to Scratch We will be using the Scratch Environment today, so please log in to the Scratch website (scratch.mit.edu)
Phase 3: Game Creation. Phase 3: Game Creation Outcomes (Slide 1) I can create a flowchart to solve a problem, for example to make a cup of tea. I can.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
School of Computer Science Space School 2015 Programming a Lunar Lander Game.
Review for Final June 13, 2016.
Introduction to Scratch
Madlib-Input, Strings, and Lists in Scratch
Scratch Unit Overview We are going to look at computer programming and how to create your very own computer game The piece of software we will be using.
Unit 2 Getting Started With
Introduction to Programming Using Scratch
Learning Java with Alice 3.0 Game Design Kathy Bierscheid
Concepts From Alice Switching to Java Copyright © Curt Hill.
Learn… Create… Program
Getting Started with Scratch
Learn… Create… Program
Getting Started with Scratch
ICT Gaming Lesson 2.
Image #1 Getting Started
Introduction to Snap Programming
Getting Started with Scratch
Learn… Create… Program
Learn… Create… Program
Game development using Scratch
CSC 221: Introduction to Programming Fall 2018
Scratch 7B IT 1.
Problem Solving and Computer Programming
Presentation transcript:

Game Programming Using Scratch

Scratch Scratch is an IDE (Integrated Development Environment) that allows users to create and run simple graphics/games programs. Users create programs in Scratch using a procedural, object-oriented programming language that has very simple syntax.

Simple Development 1.Scratch requires very little typing in order to create programs. 2.Visual code creation using drag and drop.

Simplified Syntax 1.No missing semi-colon problems. 2.Code blocks can only fit together in pre- defined way.

Large library. 1.Over 100 predefined functions and limited ability to make more. 2.Functions cover vast majority of things your objects to be able to do in a graphics program.

Object-Oriented (1) Scratch is not true OO programming, but good example of basic concepts: o Creating programs that are composed of interacting objects. o These objects have associated properties and functions.

Object-Oriented (2) 1.Objects in Scratch are called "Sprites". 2.Properties of Sprites include: o Location o Look o User defined properties (variables). 3.Functions of Sprites include: o Move o Make Sound o Detect Collision

Procedural/Imperative Programming 1.Procedural languages need 3 things: Sequence -> A predefined order in which to process information. Selection -> The ability to make a choice. The "IF" statement. Repetition -> The ability to repeat an action. The "WHILE" statement.

Sequence All "scripts" processed from top down. 4 possible start conditions, 3 end.

Selection If, If-else and wait_until functions.

Repetition Variety of functions including repeat_until.

Benefits By developing a program in Scratch: Experience in OO paradigm. Experience in Procedural paradigm. Experience in program logic. Experience in development lifecycle. Experience in debugging. Plus you have a chance to make something that belongs to you.

Planning your game. Using Sketch you can develop simple games/animations/visual storyboards. Development is FAST FAST FAST. What's your story? Who are the characters? What's the conflict? What do you want your audience to feel? What objects would you need to create? What would their properties/functions be?

Checkout: /Projects/Games BugOnAPlate Tetris /Projects/Lists/ FruitCraftRPG RepeatAfterMe

Getting Started 1.Start the SCRATCH program. 2.Load program called "MissleCommand". 3.Enter "Presentation Mode". 4.Click the green flag. 5.Follow the instructions and play the game. (5 minutes)