GREENFOOT CLUB RESOURCES Brian Cullen – Rossett School

Slides:



Advertisements
Similar presentations
Introduction to Macromedia Director 8.5 – Lingo
Advertisements

Pong! “The oldest commercially available game in history” Resources created from the video tutorials provided by David Phillips on
Teaching with Greenfoot
Video Game Design Lesson 1. Game Designer Person involved in the development of a video game Person involved in the development of a video game Usually.
Cosc 5/4730 Game Design. A short game design primer. A game or animation is built on an animation loop. – Instance variables of “objects” are updated.
Lets Play Catch! Keeping Score in Alice By Francine Wolfe Duke University Professor Susan Rodger May 2010.
Microsoft® Small Basic
Chapter 10 Introduction to Arrays
Games and Simulations O-O Programming in Java The Walker School
Asteroids Games and Simulations O-O Programming in Java The Walker School The Walker School – Games and Simulations
Greenfoot Asteroids Mrs. C. Furman August 16, 2010.
Code Club Session 3 Shark Eats Fish. Picture of finished product here.
 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.
Cosc 5/4730 Game Design. A short game design primer. A game or animation is built on an animation loop. – Instance variables of “objects” are updated.
Game Programming Using Scratch. Scratch Scratch is an IDE (Integrated Development Environment) that allows users to create and run simple graphics/games.
INTRODUCTION TO SCRATCH. About Me Resources Scratch Website Learn Scratch Washington-Lee Computer.
Games and Simulations O-O Programming in Java The Walker School
Fish Chomp. 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.
CSCI 101 Introduction to Software Development and Design.
JS Arrays, Functions, Events Week 5 INFM 603. Agenda Arrays Functions Event-Driven Programming.
Creative Commons Attribution 3.0 creativecommons.org/licenses/by/3.0 Key Abstractions in Game Maker Foundations of Interactive Game Design Prof. Jim Whitehead.
Introduction to TouchDevelop
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.
KeyListener and Keyboard Events Just as we can implement listeners to handle mouse events, we can do the same for keyboard events (keypresses) –to implement.
Nonvisual Arrays and Recursion by Chris Brown under Prof. Susan Rodger Duke University June 2012.
C++ Basics Structure of a Program. C++ Source Code Plain text file Typical file extension .CPP Must compile the C++ source code without errors before.
Bug Session Four. Session description Objectives Session activities summary Resources Prior knowledge of sequencing instructions using Bug Bug website.
Description, Classes, Interfaces, Hierarchy, Specifics George Georgiev Telerik Software Academy academy.telerik.com Technical Trainer itgeorge.net.
Addison Wesley is an imprint of © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 7 The Game Loop and Animation Starting Out with Games & Graphics.
By the end of this session you should be able to...
Arrays An array is a data structure that consists of an ordered collection of similar items (where “similar items” means items of the same type.) An array.
Python Programming Using Variables and input. Objectives We’re learning to build functions and to use inputs and outputs. Outcomes Build a function Use.
1 Κατανεμημένες Διαδικτυακές Εφαρμογές Πολυμέσων Γιάννης Πετράκης.
Flii Programming Workshop Marissa Milne Science Communication Officer.
Session 16 Pinball Game Construction Kit:. Pinball Version 1 Replaced the fire button with a mouse event. Multiple balls can be in the air at once. –Uses.
Mathematical Expressions, Conditional Statements, Control Structures
Fish Chomp. 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.
Guide to Programming with Python Chapter Twelve Sound, Animation, and Program Development: The Astrocrash Game.
Guide to Programming with Python Week 15 Chapter Twelve Sound, Animation, and Program Development: The Astrocrash Game.
Game Maker Galactic Mail Advanced Group: Complete Galactic Mail, then start developing an independent project.
Nonvisual Arrays by Chris Brown under Prof. Susan Rodger Duke University June 2012.
Game Project 1 Homage to Pong. Project Rules: The primary project is Pong, the design and development of which will be discussed in detail here. If you.
11 Debugging Programs Session Session Overview  Create and test a method to calculate percentages  Discover how to use Microsoft Visual Studio.
Using Greenfoot and a Moon Scenario to Teach Java Programming in CS1 Randy J. Gallant Randy J. Gallant& Dr. Qusay Mahmoud ACMSE 2008.
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.
Lives and Scoring Games Programming in Scratch. Games Programming in Scratch L2 Lives and Scoring Learning Objectives Define a variable Understand the.
ICT/COMPUTING RULES Only use software allowed by the teacher
Intro CS – Costumes and Variables Lesson Plan 6. Goals  Understanding Costumes, Ordering, Naming  Switching Costumes with Switch and Next  Using Variables.
Newton’s Lab Games and Simulations O-O Programming in Java.
The Stingray Example Program CMT3311. Stingray - an example 2D game May be useful as a simple case study Most 2D games need to solve generic problems.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
Introduction to: Python and OpenSesame THE BASICS.
Game Maker Tutorials Introduction Clickball IntroductionClickball Where is it? Shooting Where is it?Shooting.
Chapter 4 - Finishing the Crab Game
Index Background Costumes Making object walk smoothly Controlling an object with the keyboard Control an object with the mouse Changing costume when hit.
Chapter 4 - Finishing the Crab Game
EasyCode Foundations Vocabulary Terms.
Games Programming in Scratch
Chapter 4 LOOPS © Bobby Hoggard, Department of Computer Science, East Carolina University / These slides may not be used or duplicated without permission.
Organizing Memory in Java
Games and Simulations O-O Programming in Java The Walker School
Game Loop Update & Draw.
Game Over Module 4 Lesson 2.
Methods, Data and Data Types
Relational Expressions
Chapter 10 Algorithms.
Creating a Simple Game in Scratch
WJEC GCSE Computer Science
CSC 221: Introduction to Programming Fall 2018
Presentation transcript:

GREENFOOT CLUB RESOURCES Brian Cullen – Rossett School

Approach Something working at end of session Allow more able to progress independently Plenty of opportunity for creativity

Resources programming-club programming-club 10 Sessions covering 3 different scenarios. Guide and Exemplar Code for each Session. Starters / Plenary (usually) / Customisation

Overview Session Num Programming Concepts (only new concepts are listed) Greenfoot SkillsScenario Outcomes 1 Classes represent objects in a program. Use of methods and parameters. Use of conditional statements (if). Layout of the Greenfoot IDE Creation of Actors. Use of act method to set Actor behaviour. Using Greenfoot class to access keyboard input. Simple scenario where a ship is moved around the screen using the arrows. All objects added to world manually. 2 Use of local variables Use of coordinates in graphical systems. Class constructors Collision detection Use of sounds Accessing the world object. Automatic setup of world. Improvement of scenario from session one. Able to collect crates. Enemy ships are included and hitting one ends the game. 3 Use of random numbers for unpredictable behaviours. Boolean operators in conditionals (OR). Boundary checking in graphical system. Generating random numbers. Changing Actor location. Improved enemy ship behaviour. Crates reappear elsewhere rather than removed. 4 Instantiation of objects. Removal of objects. Creating new actors. Removing objects from world. Add objects on the “fly” Rotating objects to direction. Add all 4 classes (plane, launcher, rocket, crate). Movement of the launcher and ability to fire. 5 Class properties. Use of random numbers. Delaying actor actions. Movement of plane and ability to drop crates. Delays between rocket launches. 6 If/else statements. Accessor methods. Return types. Use of World class to hold game level information. Calling methods from the IDE. Added collision detection so that rockets can hit planes and crates. Add methods to allow score to be tracked. 7 Casting object to correct type. Using predefined classes. Delay program for a period of time. Stop program execution when game is over. Added facility to track lives and stop the game when all lives are lost. Used StatusBoard actor to display score. Add intro sound with delay. 8 Importing java classes. Finding the size of a collection. Use of the modulo operator. Adding a Game Over screen as an actor. Getting list of all actors of a particular type. Changing images used. Last refinement of the game. Puts a plane back in if all are shot down. Increase the number of planes every 5 points. Game over screen displayed at the end. 9 Using Colours in Java. Use of loops to repeat tasks (for). Displaying text on an actor. Complete setup for cannon game. Creation of all the elements of the cannon game and the initial setup for the game. 10 Using vectors to calculate motion. Actor behaves as if gravity present.Added the cannon balls to the game and get them to behave as if there was gravity.

Common Pitfalls Just copying the code – not reading the text. Brackets and indentation. Where to put semicolons? Every line with instructions must end with a semicolon EXCEPT if it is immediately followed by an curly bracket! Boredom because I didn’t challenge them enough!