Games at Bolton Scrolling Andrew Williams adw1.

Slides:



Advertisements
Similar presentations
Pong! “The oldest commercially available game in history” Resources created from the video tutorials provided by David Phillips on
Advertisements

RANDOM 2D PLATFORMER Concept 1. Gameplay The Game Play is simple. It is a 2d platformer with randomized platforms. Platforms of varying in size and distance.
Creating a Basic Pacman game
A Christmas Scratch game
Code Club Session 3 Shark Eats Fish. Picture of finished product here.
Copyright © 2002 Bolton Institute The AWSprite Library Andrew Williams
Games at Bolton OpenMP Techniques Andrew Williams
Copyright © 2002 Bolton Institute Fonts Andrew Williams
Chris Orona CS 491B June 2, High Score Score 200 Game Components Introduction Storyline Objective System Game threads Scheduling Characters.
Copyright © 2002 Bolton Institute Scrolling Andrew Williams
Creating pong in scratch Learning objectives: To learn how to program Sensing via colour and sprite proximity O:\ICT\ks3\scratch\scratch Exercises\Creating.
Game Design Creating a game called PING Phase 3: Steps for building basic game.
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
Civ89 Instructions for PowerPoint. Getting Started Civ89 is a game of military, technological, and economic conquest played with two people, identified.
Introduction to Scratch!
Game Maker Day 2 Making a Maze Game.
How to make Space Invaders
BEANFEST TUTORIAL Please read through the instructions carefully! Press the space bar when you are ready to continue.
VIDEO GAME PROGRAMMING Video Game Programming Junior – DigiPutt INSTRUCTOR TEACHER’S ASSISTANT.
Step 2: Solve the 1st side/layer
GAME:IT Junior Learning Game Maker: The Move Tab.
©Robomatter – Distribution or copying without permission is prohibited. 3B STEM Computer Science 1 ©Robomatter – Distribution or copying without permission.
Art 315 Lecture 6 Dr. J. Parker. Variables Variables are one of a few key concepts in programming that must be understood. Many engineering/cs students.
Sega 500 Placing target boxes on the HUD Jeff “Ezeikeil” Giles
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.
Using MIT Scratch for Programming and Control Exercise 6 – Creating a Scratch Packman Year 9 ICT Autumn Term 2007.
Institute for Personal Robots in Education (IPRE)‏ CSC 170 Computing: Science and Creativity.
Test Environment Algorithm Program Requirements/ Enhancements Analyze the Problem and Design a Solution Programming Software Translates the Source Code.
Joseph Dowden Philip Ho James Gedarovich.  Pick up and play game  Images scroll vertically  Bitmapped ground  Sprites  Ship  Hazards  Bullets 
Shooters in GameMaker J Parker.
Computer Graphics Rendering 2D Geometry CO2409 Computer Graphics Week 2.
Hello and welcome to who wants to be a Millionaire! On this game you will be asked 15 questions. It will then come up with 4 possible answers, 1 of which.
Final Project Proposal Space Invaders By Jordan Mahaffey.
Game Maker Galactic Mail Advanced Group: Complete Galactic Mail, then start developing an independent project.
1 Game Control. 2 Camera Control Types Types First-personal view First-personal view Third-personal view but following the playable character Third-personal.
Variables and Random Numbers Computer App Session 4.
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.
Welcome to... A Game of X’s and O’s. Another Presentation © All rights Reserved
Ben, Griffen, Lucas. Pros: Movement & Sound: It has good graphics and the sound is good because it plays every move. It is easy to program it to move.
First Project: Dance Dance Sprite  Write a dance with your sprite (You pick or create the sprite)  Incorporate as many of the Motion Commands as you.
Computer Graphics Matrices
Using MIT Scratch for Programming and Control Exercise 4 – Cat and Dog game Year 9 ICT Autumn Term 2007.
Game Maker Evil Clutches.
Randomising the behaviour of Sprites Games Programming in Scratch.
Scratch Programming Lesson 1 Moving objects with sound and changing colours.
1 Computer Science of Graphics and Games MONT 105S, Spring 2009 Session 22 Game Graphics.
Making a Flappy Birds Game PART 2 – MAKING THE BIRD FLAP AND FALL – AND DEVELOPING THE GAME FURTHER (ADDING ADDITIONAL CHARACTERS, GOODIES, ENEMIES AND.
Key Applications Module Lesson 12 — Word Essentials Computer Literacy BASICS.
Game Maker Tutorials Introduction Clickball IntroductionClickball Where is it? Shooting Where is it?Shooting.
Pronunciation Pronunciation Board game 1.Roll the dice and advance according to the number that shows on the dice. 2. When a player lands on a space s/he.
CHANGES  Fixed dug dirt bug  Background Color + Glow  Random Level Generation  Point Value Display  New sounds.
DAY 4. MAKING SOMETHING ‘JUMP’ Simple! Move it a certain amount ‘up’ Glide back to your original spot.
Index Background Costumes Making object walk smoothly Controlling an object with the keyboard Control an object with the mouse Changing costume when hit.
Chapter 11: Scrolling with Greenfooot. What Is Scrolling? Scrolling is an important and often necessary concept in games. It can be used to: a)Convey.
Chapter 4 - Finishing the Crab Game
Co-ordinates And Geometry Module 6: Investigation 2
Games Programming in Scratch
Randomising the behaviour of Sprites
Game Description Story Goals Controls. Game Description Story Goals Controls.
Introduction to C++ Programming
Game ideas for children 2-4
The In’s & Outs of Probability
Welcome to SCRATCH.
Gladys Nzita-Mak - Storyboard
Flappy bird Demo: Lesson 5 Flappy bird Demo:
MTA-4201 Game Programming Chapter 8 : Scrolling Background & Font
Transparency & magic pixel
Lesson Eleven Moving Backgrounds.
Scratch 7B IT 1.
Presentation transcript:

Games at Bolton Scrolling Andrew Williams adw1

Games at Bolton scrollh  The first example simply scrolls horizontally –Look at screenRect in the program –Read the comments in the program

Games at Bolton scrollv  This is the equivalent of scrollh, only with vertical scrolling –Obviously, it is scrolling the “wrong way” –Again, screenRect is the key

Games at Bolton scrollhsprite1  Adding a sprite to the example  Although it looks right, it’s actually wrong.  The sprite is in screen space and the background scrolls in world space

Games at Bolton scrollhsprite2  This time, although it looks wrong, it is actually correct! –Both background and sprite live in the same coordinate system

Games at Bolton scrollhsprite3  In this version, we move the sprite in an attempt to “keep up with” the background –But is this the right approach?

Games at Bolton scrollhsprite4  This is probably more correct: –The sprite moves in world space –We move the “viewport” on the background as the sprite moves

Games at Bolton scrollhsprite5  If we use this approach, we can place other sprites in world space and wait for our sprite to encounter them

Games at Bolton scrollhsprite6  Simple control of the player’s sprite –Notice particularly the new, more complex approach to keyboard control This fixes the problems we’ve been having with the PS2

Games at Bolton scrollhsprite7  This time there is no automatic movement of the player’s sprite –We move forward using the right-arrow key –Whether this is what you want is up to you

Games at Bolton scrollhsprite8  Random location of the enemies –Look out for srand(...) and rand() The s stands for “seed”