Add Globals. Add Globals: Step 1 Double-click “Event sheet 2”

Slides:



Advertisements
Similar presentations
Microsoft Excel. Click on “Start,” then “Microsoft Office Excel.”
Advertisements

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.
Go to your Event Sheet Click to Add Event Select “Monster” then Next!
Chapter 5 Multitable Forms
Windows 8 Windows Phone 8 Web Mobile … and WakeUpAndCode.com.
Chapter 3 Designing a Newsletter
Goal: to rotate a figure around a central point
11.5 Rotations. Rotations Rotate a Figure 90 about the origin.
Creating a Document with a Table, Chart, and Watermark
Chapter 1 Creating a Flyer
Copyright 2007, Paradigm Publishing Inc. POWERPOINT 2007 CHAPTER 1 BACKNEXTEND 1-1 LINKS TO OBJECTIVES Create Presentation Open, Save, Run, Print, Close,Delete.
Windows 8 Windows Phone 8 Web Mobile … and WakeUpAndCode.com.
03 | Exploring Construct 2 Templates
James Quick | Technical Evangelist Shahed Chowdhuri | Sr. Technical Evangelist.
REFLECTIONS, ROTATIONS AND TRANSLATIONS. Reflections.
Windows 8 Windows Phone 8 Web Mobile … and WakeUpAndCode.com.
Create Pipes. Create Pipes: Step 1 Click “Add event”
Chapter 5 Using Business Information Sets
LO: Learn how to develop your game further to include interactions with the device.
Classifying Triangles. Classifying Triangles By Their Angles Acute Right Obtuse.
Microsoft Visual Basic 2012 CHAPTER TWELVE (ENRICHMENT CHAPTER) Windows Store Apps.
Construct 2 Game Development Shahed Chowdhuri Sr. Technical Evangelist
Lua & Love2D Game Engine GALAGUH
Game Design Creating a game called PING Phase 3: Steps for building basic game.
Dreamweaver CS4 Concepts and Techniques Chapter 7 Page Layout with Frames.
Verify your data entry You could use data types and field properties for adding any validation on your date: EX: Data type: number : allow the user to.
Games. learning objectives o writing games! o understanding the built-in 2D game engine o events in games o using art (pictures, sounds)
Creating a Basic Presentation in PowerPoint Welcome to the Faculty Instructional Technology Support Center.
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
Copyright 2007, Paradigm Publishing Inc. Word 2007 Chapter 8 BACKNEXTEND 8-1 LINKS TO OBJECTIVES Create and Merge Creating a Data Source Creating a Data.
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit E Using and Managing Images.
Microsoft ® Office Excel 2007 Working with Charts.
Dreamweaver MX. 2 Overview of Templates n Templates represent a web page design or _______ that will be common to multiple pages. n There are two situations.
Pasewark & Pasewark 1 Publisher Lesson 2 Enhancing Publisher Documents Microsoft Office 2007: Introductory.
Click “Insert” for graph Select “Column”, 2-D. Right-click on blank graph and go to “Select Data” ADD a new series.
Right-click to Rename each sprite Name them: Player Monster Bullet Explosion.
Creating an Action Button in PowerPoint XP You will need to create all of your slides first. Then you are ready to start making buttons!
Microsoft Access 2010 Chapter 8 Advanced Form Techniques.
STAGE 16: FLAPPY. OBJECTIVES  Match blocks with the appropriate event handler  Create a game using event handlers  Share a creative artifact with other.
Vector logos Help Guide. Getting started Open a blank Word document. Get the ‘Drawing’ toolbar on display: Click on View on the toolbar. Select Toolbars.
1 3.3 Rules for Differentiation Badlands National Park, SD.
Copyright © Ed2Net Learning Inc Warm Up 1. Rotations can occur in a__________ or _____________ direction. Clockwise; counterclockwise 2. Unit circle.
Creating a Dynamic Web Page Template Module 5: Beyond the Basics with Expression Web LESSON 10.
FIRST COURSE PowerPoint Tutorial 2 Applying and Modifying Text and Graphic Objects.
COMPREHENSIVE PowerPoint Tutorial 2 Applying and Modifying Text and Graphic Objects COM111 Introduction to Computer Applications.
Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.
Setting up Categories and Grade Setup Grades 3-5.
Sometimes users want to specify or change the appearance of a group of words or characters, or even of a single word or character, and they are not.
Galactic Mail Part 2. Winning and Losing Exploding Asteroids Including Scoring Adding Levels And more.
Complete the new customer information and click Next. Adding a Reseller-of-record when creating a new customer.
Excel Part 4 Working with Charts and Graphics. XP Objectives Create an embedded chart Work with chart titles and legends Create and format a pie chart.
Construct 2 Game Development for Kids Platformer Tutorial: Part 1 Shahed Chowdhuri.
Chapter 29. Copyright 2003, Paradigm Publishing Inc. CHAPTER 29 BACKNEXTEND 29-2 LINKS TO OBJECTIVES Attach an XML Schema Attach an XML Schema Load XML.
Making a Flappy Birds Game PART 2 – MAKING THE BIRD FLAP AND FALL – AND DEVELOPING THE GAME FURTHER (ADDING ADDITIONAL CHARACTERS, GOODIES, ENEMIES AND.
Chapter 5 Working with Multiple Worksheets and Workbooks Microsoft Excel 2013.
Setting up Categories and Grade Setup Middle Schools.
Degrees of a Monomial. Degree of a monomial: Degree is the exponent that corresponds to the variable. Examples: 32d -2x 4 16x 3 y 2 4a 4 b 2 c 44 has.
About this template 1 This MHPOD presentation template has two slide masters and five slide layouts. The Slide Layouts palette can be opened from the.
Delivered on Project II Lecture Game Technology Study Program Politeknik Elektronika Negeri Surabaya.
Version 1.0 3/23/2007 © 2007 ANSYS, Inc. All rights reserved. Inventory # W4-1 BladeModeler 11.0 ANSYS, Inc. Proprietary ANSYS BladeModeler 11.0.
Game Development with Construct 2
Explain what touch develop is to your students:
Animated balloon floats into distance (Advanced)
Translations Rotations Reflections Compositions 1 pt 1 pt 1 pt 1 pt
Flappy bird Demo: Lesson 5 Flappy bird Demo:
Game Over Module 4 Lesson 2.
Explain what touch develop is to your students:
Whole Number Mental Add and Subtract
Construct 2 Game Development: Flapping Bird
Presentation transcript:

Add Globals

Add Globals: Step 1 Double-click “Event sheet 2”

Add Globals: Step 2 Right-click, then “Add global variable”

Add Globals: Step 3 Add New Global Variable 3 times Name: SECONDSPEROBSTACLE Type: Number Initial Value: 1 Constant: [checked] Name: JUMPSTRENGTH Type: Number Initial Value: 500 Constant: [checked] Name: SCROLLSPEED Type: Number Initial Value: 300 Constant: [checked]

Add Globals: Step 4 Also, add another global variable for Score Name: Score Type: Number Initial Value: 0 Constant: [NOT checked]

Add Globals: Done!

Add Touch Support

Add Touch Support: Step 1 Right-click then Insert new object

Add Touch Support: Step 2 Select “Touch” Click “Insert”

Add Touch Support: Step 3 Verify that “Touch” has been added

Add Touch Input

Add Touch Input: Step 1 Stay on “Event sheet 2”

Add Touch Input: Step 2 Click “Add event”

Add Touch Input: Step 3 Select “Touch” Click “Next”

Add Touch Input: Step 4 Select “On any touch start” Click “Done”

Add Touch Input: Step 5 Click “Add action”

Add Touch Input: Step 6 Select “bird” Click “Next”

Add Touch Input: Step 7 Select “Set vector Y” Click “Next”

Add Touch Input: Step 8 Click “Done” Enter: Vector Y: -JUMPSTRENGTH

Add Touch Input: Step 9 Click “Add action”

Add Touch Input: Step 10 Select “bird” Click “Next”

Add Touch Input: Step 11 Select “Set angle” Click “Next”

Add Touch Input: Step 12 Click “Done” Enter: Angle: 320

Add Touch Input: Done!

Rotate Bird

Rotate Bird: Step 1 Click “Add event”

Rotate Bird: Step 2 Select “System” Click “Next”

Rotate Bird: Step 3 Select “Every tick” Click “Done”

Rotate Bird: Step 4 Click “Add action”

Rotate Bird: Step 5 Select “bird” Click “Next”

Rotate Bird: Step 6 Select “Rotate clockwise” Click “Next”

Rotate Bird: Step 7 Click “Done” Enter: Degrees: 60 * dt (dt means delta time)delta time

Rotate Bird: Done!

Add Collisions

Add Collisions: Step 1 Click “Add event”

Add Collisions: Step 2 Select “bird” Click “Next”

Add Collisions: Step 3 Select “Is overlapping another object” Click “Next”

Add Collisions: Step 4

Add Collisions: Step 5 Select “TiledBackground2” Click “OK”

Add Collisions: Step 6 Click “Done”

Add Collisions: Step 7 Click “Add action”

Add Collisions: Step 8 Select “System” Click “Next”

Add Collisions: Step 9 Select “Go to layout” Click “Next”

Add Collisions: Step 10 Click “Done”Select “Start” Layout

Add Collisions: Step 11… Repeat previous steps for pipe top and bottom

Add Collisions: Done!

Enforce Boundary

Enforce Boundary: Step 1 Click “Add event”

Enforce Boundary: Step 2 Select “bird” Click “Next”

Enforce Boundary: Step 3 Select “Is outside layout” Click “Done”

Enforce Boundary: Step 4 Click “Add action”

Enforce Boundary: Step 5 Select “System” Click “Next”

Enforce Boundary: Step 6 Select “Go to layout” Click “Next”

Enforce Boundary: Step 7 Click “Done”Select “Start” Layout

Enforce Boundary: Done!

Repeat Background

Repeat Background: Step 1 Click “Add event”

Repeat Background: Step 2 Select “TiledBackground” Click “Next”

Repeat Background: Step 3 Select “Compare X” Click “Next”

Repeat Background: Step 4 Click “Done” Select/Enter: Comparison: ≤ Less or Equal X co-ordinate: -560

Repeat Background: Step 5 Click “Add action”

Repeat Background: Step 6 Select “TiledBackground” Click “Next”

Repeat Background: Step 7 Select “Set X” Click “Next”

Repeat Background: Step 8 Click “Done” Enter 0

Repeat Background: Step 9… Repeat previous steps for TileBackground2, … but check for X ≤ -410

Repeat Background: Done!

Scroll Background

Scroll Background: Step 1 Click “Add event”

Scroll Background: Step 2 Select “System” Click “Next”

Scroll Background: Step 3 Select “Every tick” Click “Done”

Scroll Background: Step 4 Click “Add action”

Scroll Background: Step 5 Select “pipebottom” Click “Next”

Scroll Background: Step 7 Select “Set X” Click “Next”

Scroll Background: Step 8 Click “Done” Enter pipebottom.X – SCROLLSPEED * dt

Scroll Background: Step 9… Add similar actions for: pipetop, TiledBackground, TileBackground2

Scroll Background: Done! Hint: Set X to [object].X – SCROLLSPEED * dt

(END of Part 2) Derived from ‘Make your own "Flappy Bird" game in 10 minutes’ originally published by TomMake your own "Flappy Bird" game in 10 minutesTom Updated with enhancements from Flappy Bird template