Finish the Scratch Presentations Game Maker

Slides:



Advertisements
Similar presentations
GAME:IT Junior Paddle Ball Objectives: Review skills from Introduction Create a background Add simple object control (up and down) Add how to create a.
Advertisements

Create a Simple Game in Scratch
Step-by-Step: Add a Graphical Hyperlink USE the Special Events Final presentation that is still open from the previous exercise. 1.Go to slide 4, and click.
Computer Basics Hit List of Items to Talk About ● What and when to use left, right, middle, double and triple click? What and when to use left, right,
Chapter 3 Creating a Business Letter with a Letterhead and Table
 Use the Left and Right arrow keys or the Page Up and Page Down keys to move between the pages. You can also click on the pages to move forward.  To.
Creating a Mouse Maze This tutorial will cover step-by-step how to create a mouse maze like the one above. The goal of these mazes is to reach the end.
 First you have to think up a what kind of game are you going to have it can be any thing from a brick breaker to an role playing game.
Justus Nyagwencha Game Maker. Getting started -> Resources The icons across the top are very important All the things you add to the game are called “Resources”.
Learn… Create… Program. Manipulation of Multiple Media Connects with youth culture Scratch is a new graphical programming language designed to support.
ABC’s of PowerPoint (Office 2007) Part 1: Basic Vocabulary Part 2: Cursors Part 3: Insert Your Text Part 4: Insert Your Pictures Part 5: Basic Tools &
Game Maker This PowerPoint is largely based on a PowerPoint created by.. Edwin Pilobello for Saturday Academy.
Mr. Potato Head The objective of this tutorial is to cut an image and assemble Mr. Potato Head using various tools in Adobe Photoshop Elements 2.0.
GAME:IT Junior Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game.
GameMaker.  A lot of Different Definitions  Easier to Say What is NOT a Game  Movie is Not a Game  No Active Participation  Final Outcome is Fixed.
Creative Commons Attribution 3.0 creativecommons.org/licenses/by/3.0 Key Abstractions in Game Maker Foundations of Interactive Game Design Prof. Jim Whitehead.
Art 315 Lecture 4 Dr. J. Parker AB 606 Today’s class: Programming! We are going to write some simple programs. We will use a tool called GameMaker –It.
Backgrounds, Inheritance in GameMaker (BrickMania 1 of 2) Foundations of Interactive Game Design Professor Jim Whitehead January 28, 2008 Creative Commons.
GAME:IT Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game.
Game Maker Day 2 Making a Maze Game.
VIDEO GAME PROGRAMMING Video Game Programming Junior – DigiPutt INSTRUCTOR TEACHER’S ASSISTANT.
CIS—100 Chapter 15—Windows Vista 1. Parts of a Window 2.
GAME:IT Junior Learning Game Maker: The Move Tab.
Learning Game Maker Studio:
> 1 Diagrams in Word Faculty of Health Alan Grace.
GAME:IT Helicopter Objectives: Review skills in making directional sprites Create objects that shoot and destroy for points Create random enemies on the.
Learning Unity. Getting Unity
Game Maker Terminology
Game Maker – Getting Started What is Game Maker?.
Design Studies 20 ‘Show Off’ Project How to make a computer monitor In Google Sketchup By: Liam Jack.
Game Maker Galactic Mail Advanced Group: Complete Galactic Mail, then start developing an independent project.
2D Platform Game Game Maker Terminology. Object  Item in a game that has behavior, such as a main character who can move.
Learning PowerPoint Presenting your ideas as a slide show… …on the computer!
Computer Programming Modeling a Passive Solar Home.
Changing a Word table format Changing a Word table format (1 of 5) 1. Double click the Word table you want to edit. 1.
Galactic Mail Part 2. Winning and Losing Exploding Asteroids Including Scoring Adding Levels And more.
Game Maker Evil Clutches.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
GAME:IT Junior Paddle Ball Objectives: Review skills from Introduction Create a background Add simple object control (up and down) Add how to create a.
GAME:IT Paddle Ball Objectives: Review skills from Introduction Create a background Add simple object control (up and down) Add how to create a simple.
Computer Programming with Scratch JAOIT 8. Scratch Scratch is a programming language that makes it easy to create your own interactive stories, animations,
Game Maker Tutorials Introduction Clickball IntroductionClickball Where is it? Shooting Where is it?Shooting.
Fundamentals of Windows Mouse n 4 Basic Operations: –Pointing –Clicking –Double Clicking –Dragging.
Scratch for Interactivity
Microsoft Access 2007 – Level 2
PhotoShop Creative Suite 3
Game Maker Intro to Programming Game Maker Pop Quiz (Both Groups)
Chapter 2 – Introduction to the Visual Studio .NET IDE
User Interface & Bouncing Ball Game
Differences Between Word 2003 to 2007
Assignment 8 Chess Game.
Competitive Multiplayer Game
Intermediate game making
Using Photoshop for IED
Go to =>
A few tricks to take you beyond the basics of Microsoft Office 2007
A few tricks to take you beyond the basics of Microsoft Office
Go to =>
Go to =>
Working with Symbols and Interactivity
Introduction to PowerPoint
Game Maker Intro to Programming Game Maker Pop Quiz (Both Groups)
Game Over Module 4 Lesson 2.
Tank Game Int 10 Unit 3 – Game Maker.
Directions are in slide notes. You can view them in two ways
How to Become a PowerPoint Wizard
Creating a Simple Game in Scratch
So you want to be a Game Designer
MAINTAINING FILES AND CUSTOMIZING WINDOWS Section 2
Presentation transcript:

Finish the Scratch Presentations Game Maker Intro to Programming Finish the Scratch Presentations Game Maker

Learning Objectives Be able to install Game Maker Understand the fundamentals of the Game Maker program including Sprites Objects Events Actions Rooms Create a simple game in Game Maker

Installing Game Maker Create a folder in your Intro to Programming Folder Called Gamemaker Go to the Assignments folder and copy the folder GameMakerCopyToYourFolder Paste it into your GameMaker folder.

Double Click on Game_Maker Start Game Maker Double Click on Game_Maker

Game Maker Unit Divide the class based on experience/ ability. Advanced Group Responsible for the material covered in the beginners group As long as you are getting ‘A’s on the quizzes, developing high quality products, and using your time wisely you can remain in the advanced group. Must have excellent Attendance Be respectful of the class discussion You must use Game Maker 7 You can join the Beginning Group if you would like Beginning Group Participate in class activities building projects and learning about programming in Game Maker

Advanced Group Create a Maze game Include Hero Object Walls Levels Enemies Prize(s) Story It must be entirely created by you and created this semester. You may not add to a previous project.

Today We will be covering a bunch of new information. To help you keep track of it you will need to build a reference sheet of commands, ideas, and how..tos using Game Maker

Getting Started with Game Maker First & Last Name Class Title Period Date Questions, Subtitles, Headings, Etc. Class Notes You can use Word, PowerPoint, a piece of paper, … to keep track of this information. 2 1/2”

The First Screen Today we’ll focus on building stage for the game. So putting things on a screen. Later we will show how to have them move and interact.. Sprites = Picture Objects = Something on the game and Rooms = The ‘Screen’

Sprites Sprite = picture Visual representation of game objects It can’t do anything but look good Visual representation of game objects Any common drawing format (gif, jpeg, tiff, png, pnt, cut, etc.) Single image Sprite things beyond where we go today.. Multiple image Animated explosions, walking Rotated No Sprite? No problem. Use a visible mask. Artists are always behind coders.

Adding Sprites Click “Pacman” on the menu bar or Select Create Sprite from the Resources Menu or Use Ctrl-Alt-S keyboard shortcut

Sprite Properties Use this to find pictures you can use for your sprite This is where you name the sprite. Use the following naming convention. spr_NameOfSprite Use this to change the sprite. Size, color, … Not super powerful editing, but you can modify the image Origin. (0, 0) is the top left corner of the image. This is used for placing the image on the screen

Sprite Example Shows the size of the sprite This shows a image of the sprite with name Loaded a picture for the sprite Picture of image. You can click on this picture to change the location of the origin. Shows the size of the sprite This has only one image. Some sprites have several images that it will cycle through. Click OK when done

Sprite Properties: Starter Recommendations Change the Name Spr_nameOfSprite Remove Precise collision checking Precise collision checking slows the computer Your turn. Make a sprite using the Blue Ball image found in the maze folder. Center the Origin from the Upper-Left corner Extra: Consider Bounding Box settings or use an Object Mask (specially for animated sprites) The bounding box is used to determine when you bump into something (have a collision.) You will need to go to each of the sprites and set the Bounding Box for each sprite. Keep Transparent background

Extra: Edit Sprite Can use any paint or graphics program Transform functions Mirror, Flip, Rotate, Scale, Stretch, etc. Images functions Cycle, Colorize, Shift Hue, Crop, etc. Animation functions Expand canvas, shift image for center of rotation Counter-clockwise Rotation Number of Images = 360 / degrees of rotation Initial image must face RIGHT Advantage of Game Maker Registered Version

Click the green check to close and save. Edit Sprite Click Edit the Sprite. Make a Smiley Face or … Click the green check to close and save. Double Click

Quick Review Sprite = picture Object = Something on the screen Pacman shortcut Load a picture Name spr_thename Now onto objects Object = Something on the screen Room = The screen

Object = Three main parts A sprite. This is the image it will have on the screen. Events that make the object react. An object is created A key is pressed A collision with another object A click of the mouse … Actions related to the events. How the object moves when a key is pressed, or it runs into a wall, or when a mouse is clicked, or…

Object: How to .. I’ll make a ‘Rock’ object using the spr_rock sprite. You make an object with your sprite Object: How to .. Click on the blue ball or Resources -> Create Object or ctrl-alt-O Use the sprite you created earlier

Tying a sprite to the object Name the Object using the following naming convention. obj_nameForYourObject i.e. obj_rock Select the sprite: Click to the pull down menu to the right of the <no sprite> to see the sprites available in this game and select the sprite you want to use for this object Check visible if you want to see it. Check solid for walls etc. Check persistent if this object will exist when you go to different rooms. Like a main character. Depth: The lower number in the Depth, the more ‘upfront’ and object is. So if two objects go past each other on the screen, the object with the lower depth number will go over the object with the larger depth number. Objects with the same depth are shown based on when they are created.

Events and Actions Now that the object has an associated sprite you need to give it some personality. The next section will describe how to have the object react. It takes two pieces Picking events to react to Defining the actions they will take when the event occurs.

1) Start by double clicking on the object. (obj_rock in this example) Events This window will show the events as you define them for your object This window will show the actions associated with whichever event is currently selected. Click here to start defining an event.

Events (cont.) Here is the Event Selector menu that lists possible events. Included are a few brief descriptions. Create: Defines what the object will do when it is created. Example: Have it moving in a direction. Mouse: Reacting to Mouse clicks (Left, right, middle, wheel, …) Destroy: What happens when the object is destroyed. Other: Several events. Will often use the ‘Boundary’ event to destroy objects when they leave the boundary of the game. Step: When happens during each step of the game. Steps happen several times a second so often this event includes some random action. Like having a 1 in 100 chance of an enemy appearing. Collision: This is used to define how the object will react when hitting other objects. For example. Stopping when it hits a wall, getting points when it collides with a treasure, making a noise when it collides with a bell,…

Events (Cont.) Keyboard: Reacting to when a key is pressed and as long as it is being held down it will continue to do the actions associated with the key being pressed. (Think machine gun) Key Press: This event occurs when a key is pressed, but only one time. (Think rifle) Key Release This event occurs when the key is released. (Rifle)

Review Sprite= Picture Room = The screen Object = Something on the screen Basic parts of an object Associated Sprite Events the object will respond to Actions the object will take when the associated events occur. Next we will look at a few of the actions available

Event overview

Too many events? We’ll take a little closer look at the move events then look at an example of having he rock controlled by the keyboard.

Start here Actions:Move Move Fixed : Give it a direction and speed for moving. (This is the action we will use for the rock) Move Free: Give it direction and speed. Move Towards: Pick object, and speed. Speed Horizontal: Sets the horizontal speed. Speed Vertical: Sets the vertical speed. Set Gravity: Reverse Horizontal: Good for when you run into a boundary Reverse Vertical Set Friction:

Events: Jump Jump to Position: Give an (x,y) coordinate Jump to Start Jump to Random Align to Grid Wrap Screen: Allows you drive run off of one side of the screen only to reappear on the other side of the screen Move to Contact Bounce:

Example: Rock, Hit Key, Move 1) Double click on the rock object 2) Click on ‘Add Event’

Keyboard Event Click on Keyboard Select <Left>

2) Drag and drop the ‘Move Fixed’ icon into the Actions window. Pick Action 1) Select the ‘move’ tab 2) Drag and drop the ‘Move Fixed’ icon into the Actions window.

Leave ‘Relative’ unclicked. Pick your Direction Select the direction for the object to travel. Since we are attaching this action to when the left arrow is clicked, select the left arrow. Pick a speed. We’ll start with 5. If you want faster, pick a high number. Leave ‘Relative’ unclicked.

Review and check Sprite = Picture Room = Screen Object = Something on the screen Parts of an Object Associated Sprite Events to respond to Actions associated with the Events Your turn: Create an event and associated action for having the object move right when the right arrow is pressed

Rooms Now you have a Rock sprite You have created a Rock object using this sprite. You have created two events (Left arrow hit, Right arrow) You have associated two actions to the events (Move left and move right) Now it’s time to make a Room.

Resources -> Create Room Add a Room Click on the White Box Or Resources -> Create Room Ctrl-Alt-R Click on the Pull down menu and select the obj_rock object.

Adding Objects to the Room Left click where you want the Rocks to show up Right click on the objects to remove them.

Review Sprite = Picture Object = Something on the screen Room = Screen Associated sprite Events to respond to Actions associated with the events Room = Screen You now have enough for a basic, although not terribly riveting, game. You have a rock that will move left and right based on keys that are pressed.

Running the game Click on the green triangle or Run -> Run normally or Hit F5

Game Hit the ‘esc’ key to end the game. What happens when it gets to the sides? What other movement would you like to add to the rock?

Now .. Create a brick sprite, brick object and use the brick objects to make walls. Create collision events so that when the ball hits the wall object it stops horizontal direction Create a maze Add events and actions needed for the ball to be able to go through the maze. Test the ball going through the maze Pushes Add features to the game Find other images for sprites. GIFs, Pac man, .. Monsters Secret walls Battles Treasures When Finished Name it: YourNameMaze1 And turn it in