Construct 2 Game Development: Flapping Bird

72
By Shahed Chowdhuri Sr. Technical Evangelist Construct 2 Game Development: Flapping Bird Windows 8 Windows Phone 8 Web Mobile … and more! @shahedC WakeUpAndCode.com

description

Construct 2 Game Development: Flapping Bird. Windows 8  Windows Phone 8  Web  Mobile  … and more!. By Shahed Chowdhuri Sr. Technical Evangelist. WakeUpAndCode.com. @shahedC. Getting Started. Getting Started: Step 1. https://www.scirra.com/. Download!. - PowerPoint PPT Presentation

Transcript of Construct 2 Game Development: Flapping Bird

Page 1: Construct  2 Game  Development: Flapping Bird

By Shahed ChowdhuriSr. Technical Evangelist

Construct 2 Game Development: Flapping BirdWindows 8 Windows Phone 8 Web Mobile … and more!

@shahedC

WakeUpAndCode.com

Page 2: Construct  2 Game  Development: Flapping Bird

Getting Started

Page 3: Construct  2 Game  Development: Flapping Bird

Getting Started: Step 1

• https://www.scirra.com/ Download!

Page 4: Construct  2 Game  Development: Flapping Bird

Getting Started: Step 2

Run it!

Page 5: Construct  2 Game  Development: Flapping Bird

Getting Started: Step 3ClickFile New

Page 6: Construct  2 Game  Development: Flapping Bird

Getting Started: Step 4Filter

ScrollUpOrDown

Open!

Page 7: Construct  2 Game  Development: Flapping Bird

Getting Started: Step 5Toolbar Projects/Layers

ObjectsLayoutProperties

Tabs for Layouts & Event Sheets

Page 8: Construct  2 Game  Development: Flapping Bird

Getting Started: Step 6ClickFile Save

Page 9: Construct  2 Game  Development: Flapping Bird

Getting Started: Step 7

Save!

EnterFile name

Page 10: Construct  2 Game  Development: Flapping Bird

Getting Started: Done!

Page 11: Construct  2 Game  Development: Flapping Bird

Prepare Your Layouts

Page 12: Construct  2 Game  Development: Flapping Bird

Prepare Your Layouts: Step 1

Right-Click to Rename Layout

Page 13: Construct  2 Game  Development: Flapping Bird

Prepare Your Layouts: Step 2

Enter “Start”

Page 14: Construct  2 Game  Development: Flapping Bird

Prepare Your Layouts: Step 3

Right-click Layouts folderto Add layout

Page 15: Construct  2 Game  Development: Flapping Bird

Prepare Your Layouts: Step 4

Add event sheet

Page 16: Construct  2 Game  Development: Flapping Bird

Prepare Your Layouts: Step 5

Right-Click new Layout

to Rename it

Page 17: Construct  2 Game  Development: Flapping Bird

Prepare Your Layouts: Step 6

Enter “Game”

Page 18: Construct  2 Game  Development: Flapping Bird

Prepare Your Layouts: Step 7

Change Layout Sizefor the “Game” LayerLayout Size:• Width: 400• Height: 500

Page 19: Construct  2 Game  Development: Flapping Bird

Prepare Your Layouts: Step 8

Change Layout Sizefor the “Start” LayerLayout Size:• Width: 400• Height: 500

Page 20: Construct  2 Game  Development: Flapping Bird

Prepare Your Layouts: Step 9

Select project

Page 21: Construct  2 Game  Development: Flapping Bird

Prepare Your Layouts: Step 10

Update projectpropertiesWindow Size:• Width: 400• Height: 500

Fullscreen in browser: Off

Page 22: Construct  2 Game  Development: Flapping Bird

Prepare Your Layouts: Done!

Page 23: Construct  2 Game  Development: Flapping Bird

Add Play Button

Page 24: Construct  2 Game  Development: Flapping Bird

Add Play Button: Step 1

Go to “Start” screen

Page 25: Construct  2 Game  Development: Flapping Bird

Add Play Button: Step 2

Right-click, thenInsert New Object

Page 26: Construct  2 Game  Development: Flapping Bird

Add Play Button: Step 3

Select “Button”

Click “Insert”

Page 27: Construct  2 Game  Development: Flapping Bird

Add Play Button: Step 4

Click anywhere

Page 28: Construct  2 Game  Development: Flapping Bird

Add Play Button: Step 5

Update the Text

Page 29: Construct  2 Game  Development: Flapping Bird

Add Play Button: Step 6

Enter “Play”

Page 30: Construct  2 Game  Development: Flapping Bird

Add Play Button: Done!

Page 31: Construct  2 Game  Development: Flapping Bird

Add Button Event

Page 32: Construct  2 Game  Development: Flapping Bird

Add Button Event: Step 1

Go to “Event sheet 1” for “Start” layout

Page 33: Construct  2 Game  Development: Flapping Bird

Add Button Event: Step 2

Click “Add event”

Page 34: Construct  2 Game  Development: Flapping Bird

Add Button Event: Step 3

Select “Button”

Click “Next”

Page 35: Construct  2 Game  Development: Flapping Bird

Add Button Event: Step 4

Select “On clicked”

Click “Done”

Page 36: Construct  2 Game  Development: Flapping Bird

Add Button Event: Step 5

Click “Add action”

Page 37: Construct  2 Game  Development: Flapping Bird

Add Button Event: Step 6

Select “System”

Click “Next”

Page 38: Construct  2 Game  Development: Flapping Bird

Add Button Event: Step 7

Select “Go to layout”

Click “Next”

Page 39: Construct  2 Game  Development: Flapping Bird

Add Button Event: Step 8

Click “Done”

Page 40: Construct  2 Game  Development: Flapping Bird

Add Button Event: Done!

Page 41: Construct  2 Game  Development: Flapping Bird

Add Game Graphics

Page 42: Construct  2 Game  Development: Flapping Bird

Add Game Graphics: Step 1

Go to the “Game”

layout

Page 43: Construct  2 Game  Development: Flapping Bird

Add Game Graphics: Step 2

Drag in these 4 imagesimage one by one

Page 44: Construct  2 Game  Development: Flapping Bird

Add Game Graphics: Step 3

Arrange them like this.

Page 45: Construct  2 Game  Development: Flapping Bird

Add Game Graphics: Step 4

Top-left

outsideNear leftedge

Page 46: Construct  2 Game  Development: Flapping Bird

Add Game Graphics: Done!

Page 47: Construct  2 Game  Development: Flapping Bird

Add Tiled Background

Page 48: Construct  2 Game  Development: Flapping Bird

Add Tiled Background: Step 1

Right-clickthen

Insert newobject

Page 49: Construct  2 Game  Development: Flapping Bird

Add Tiled Background: Step 2

Select“Tiled

Background”

Click “Insert”

Page 50: Construct  2 Game  Development: Flapping Bird

Add Tiled Background: Step 3

Clicknearthe

bottom

Page 51: Construct  2 Game  Development: Flapping Bird

Add Tiled Background: Step 4

Load an image

Page 52: Construct  2 Game  Development: Flapping Bird

Add Tiled Background: Step 5

Click “Open”

Select“floor.png”

Page 53: Construct  2 Game  Development: Flapping Bird

Add Tiled Background: Step 6

Close popup

Page 54: Construct  2 Game  Development: Flapping Bird

Add Tiled Background: Step 7

Drag to lower left

Size• Width: 1000• Height: 28

Page 55: Construct  2 Game  Development: Flapping Bird

Add Tiled Background: Done!

Page 56: Construct  2 Game  Development: Flapping Bird

Add Floor

Page 57: Construct  2 Game  Development: Flapping Bird

Add Floor: Step 1

Right-clickagainthen

Insert newobject

Page 58: Construct  2 Game  Development: Flapping Bird

Add Floor: Step 2

Select“Tiled

Background”

Click “Insert”

Page 59: Construct  2 Game  Development: Flapping Bird

Add Floor: Step 3

Clickaboveground

Page 60: Construct  2 Game  Development: Flapping Bird

Add Floor: Step 4

Load an image

Page 61: Construct  2 Game  Development: Flapping Bird

Add Floor: Step 5

Click “Open”

Select“floor2.png”

Page 62: Construct  2 Game  Development: Flapping Bird

Add Floor: Step 6

Close popup

Page 63: Construct  2 Game  Development: Flapping Bird

Add Floor: Step 7

Drag above ground

Size• Width: 1000• Height: 19

Page 64: Construct  2 Game  Development: Flapping Bird

Add Floor: Done!

Page 65: Construct  2 Game  Development: Flapping Bird

Add Movement

Page 66: Construct  2 Game  Development: Flapping Bird

Add Movement: Step 1

Selectthe bird

Page 67: Construct  2 Game  Development: Flapping Bird

Add Movement: Step 2

ClickBehaviors

Page 68: Construct  2 Game  Development: Flapping Bird

Add Movement: Step 3

Click to“Add new”

Page 69: Construct  2 Game  Development: Flapping Bird

Add Movement: Step 4

Select“Platform”

Click “Add”

Page 70: Construct  2 Game  Development: Flapping Bird

Add Movement: Step 5

Close popup

Page 71: Construct  2 Game  Development: Flapping Bird

Add Movement: Step 6

ReduceMax Speed

to 0 (prevents left-right

movement)

Page 72: Construct  2 Game  Development: Flapping Bird

(END of Part 1)• Derived from ‘Make your own "Flappy Bird" game in 10 minutes’

originally published by Tom• Updated with enhancements from Flappy Bird template