Donald Heer 2/14/2011. Overview  Input Types Keyboard Mouse  Examples  The Arcade What inputs does the arcade have?

Slides:



Advertisements
Similar presentations
Game Making with Alice Eat the Hay Game
Advertisements

Measures of Academic Progress (MAP). What is MAP? MAP (Measures of Academic Progress) are achievement tests delivered by computer to students.
Digital Skills Academy. What is a Computer Super Calculator Digital Skills Academy.
Microsoft® Small Basic
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.
What is OpenGL? Low level 2D and 3D Graphics Library Competitor to Direct3D (the rendering part of DirectX) Used in: CAD, virtual reality, scientific.
Created By, Ms. Jennifer Duke Input Devices & Output Devices.
Sequencing Miss Regan. Blood Hound  Does anyone know what the Bloodhound project is?  Video 1 Video 1  Video 2 Video 2  Link to website Link to website.
1 Turn on the Wii, go to the Wii menu.. 2 Click on the Wii options.
INPUT AND OUTPUT DEVICES BY CAMERPN MITCHELL. INPUT An input device is any hardware device that sends data to a computer, allowing users to interact with.
Play the Keyboard Green Level:Lesson 2 Press a key, or click the mouse to change each slide.
INPUT AND OUTPUT By Kyle Phillips. Contents CONTENTS Why are they needed? Types of inputs Types of output audience video table.
SDL Programming Introduction. Initialization 2  The first thing you must do is initialize SDL  int SDL_Init( SDL_INIT_EVERYTHING )  This will return.
A computer is an electronic device used to process data, converting data into information that is useful to people.
Simon 2 : Multiplayer Memory Game Joshua Gomez & Travis Pinnick.
Review For Test Chapter 4 & 5 Test is Wednesday, January 27th.
Task 1 On your own, think of all of the types of film that you get (for example – horror). We call these genres. Write one on your card. When your teacher.
Developing the Game User Interface (UI) Lesson 5.
Input Tongue Drive System Virtual Keyboard Braille keyboard Output Screen Readers Printer Braille Printers.
Move the mouse to the IE icon on the Quick Launch Bar and click to cut a small picture. This small picture is for locating the position of IE Quick Launch.
> 1 Diagrams in Word Faculty of Health Alan Grace.
Working With Text Web Design Section 5-9 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course.
Computer A computer is an electronic machine that takes information, processes it,and stores it. Computers are made up of hardware ( monitor, tower, keyboard,
Standard Input Devices
Third Grade Computer Class Room 241
Parts of the Computer. Monitor A monitor is a screen that displays a computer’s output. It is the most common output device. A monitor looks like a TV.
JavaScript - A Web Script Language Fred Durao
MAEK GAEM III: SDL ● Simple DirectMedia Layer ● Input/Graphics/Audio using OpenGL ● Not nearly as difficult as OpenGL ● Cross Platform and Open Sauce ●
Game Maker Terminology
STAGE 16: FLAPPY. OBJECTIVES  Match blocks with the appropriate event handler  Create a game using event handlers  Share a creative artifact with other.
Events (Alice In Action, Ch 6) Slides Credit: Joel Adams, Alice in Action CS 120 Lecture September 2012.
Video in Power Point Objective Able to insert video in power point Able to make video play by itself Able to change volume of video Able to cut out part.
Transparency 1 Click the mouse button or press the Space Bar to display the answers.
Connecting the Smart Board  Created in 1991, A Smart Board is an interactive whiteboard that provides a student-centered learning environment. Go!
2 Ways to Record PowerPoint From within PowerPoint From within Camtasia Studio.
In this activity, we are going to type a simple Chinese sentence with Microsoft Word by Tsang-jei Input Method and Simplified Tsang-jei Input Method. 1Start.
Variables and Random Numbers Computer App Session 4.
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.
Today we are learning to: Understand how flow charts are used to design games Add events to our objects to control stuff in our game – (Using the user.
Event Handling (the right way). A Simple Web Page Events - Summary The web page looks like this:
Parts of a Computer Computer Hardware Hardware refers to the physical parts that make up the computer. Let’s name the computer hardware parts that we.
Input Zhaohui Ning Aaron Cardwell Boonthanome Nouanesengsy.
Input Devices. Input devices allow us to enter data into the computer system –Mouse –Keyboard –Graphics Tablet –TrackPad –Touch-sensitive screen - Scanner.
Game 4: Pac Man Tutorial. New events/actions to learn: Animated sprites Change instances – allows you to change objects into other objects. Change sprites.
Computer Basics Tutorial Text boxes like this will give you information. Boxes like this at the bottom of a slide will give you instructions. Press the.
Implement User Input Windows Development Fundamentals LESSON 2.4A.
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.
Event Driven Programs Exploring Computer Science – Lesson 4-5.
Student Workbook Work through this booklet to complete tasks and even a whole game! Check for video tutorials on Passmarc – Academic Links / eLearning.
SCREEN CAPTURE 532CS: eLearning Fall 2015 Submitted to Dr. Namdar Presented by Khaled Alamer.
HOW TO EDIT VIDEO USING VIVA VIDEO APPLICATION STEP 1 : CLICK “Viva Video”
CS 134 Alternate Inputs.
2 Ways to Record PowerPoint
Methods of Computer Input and Output
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.
Click the mouse button or press the Space Bar to display the answers.
Computer- Basics UNF team.
Introduction to Events
Training Presentation for McCormick’s Proficiency Sample Program Website Lesson 6 - How to edit saved chemistry data [Instructor Notes, if any, will appear.
Event Driven Programming
3 Ways to Record PowerPoint
Training Presentation for McCormick’s Proficiency Sample Program Website Lesson 6 - How to edit saved microbiology results [Instructor Notes, if any,
Click Summary Value Button to Show Source of Integral or Time
2. ATP INITIALIZATION PLACE ATP SWITCH TO “1” OR “NORMAL” POSITION A
Training Presentation for McCormick’s Proficiency Sample Program Website Lesson 5 - How to display your microsanitary results [Instructor Notes, if any,
3 Ways to Record PowerPoint
Training Presentation for McCormick’s Proficiency Sample Program Website Lesson 5 - How to display your chemistry results (input summary) [Instructor.
Using Museum Box as a Multimedia Assessment Tool
2 Ways to Record PowerPoint From within PowerPoint From within Camtasia Studio.
Presentation transcript:

Donald Heer 2/14/2011

Overview  Input Types Keyboard Mouse  Examples  The Arcade What inputs does the arcade have?

Inputs in General  Input is an Event  Event: an action that is usually initiated outside the scope of a program Asynchronous Should be ‘caught’ and buffered

Simple Directmedia Layer (SDL)  SDL is a ‘wrapper’ that allows for use of many standard function in a way that is easier for producing games  SDL contains input and output functions including mouse, keyboard, sound, and video.  SDL is compatible with OpenGL

Sample Program  The sample program we will be using is: Based on NeHe source (Lesson 3) Controls the rotation of a cube based on mouse and keyboard input.

Keyboard Events bool Lesson::processEvents(){ SDL_Event event; while (SDL_PollEvent(&event)){ switch (event.type) case{ case SDL_KEYDOWN:{ SDLKey sym = event.key.keysym.sym;

Mouse Events bool Lesson::processEvents(){ SDL_Event event; while (SDL_PollEvent(&event)){ switch (event.type) case{ case SDL_MOUSEBUTTONDOWN:{ std::cout << "Mouse Button Pressed."; if( event.button.button == SDL_BUTTON_LEFT )

Example  Lets look at the sample code.

The Arcade  2 player Support  Acts as a Keyboard  Currently setup for ‘free play’

Player 1 Controls  ‘Add Credit’ button is ‘5’  Limit your program to no more than 8 buttons at once 

Arcade Gotchas  Make sure to check for all buttons, not just the ‘first button’

Summary  Input must be captured and processed when time is available  Special abilities (click and hold) need to be hand made in many cases

Questions?