SlideShare a Scribd company logo
Windows 8  Windows Phone 8  Web  Mobile  … and more!
@shahedC
WakeUpAndCode.com
Intro
> Construct 2 Basics
> Characters and Objects
> Bringing It All Together
Wrap-Up
Period Background/Experience
1997 –
present
Microsoft web/software development
2011 XNA games on XBLIG
• 2D Math Panic
• Angry Zombie Ninja Cats
2012 Tools for XNA developers
• XBLIG Sales Data Analyzer (OnekSoftLabs.com)
• XNA Basic Starter Kit (CodePlex)
Online: http://facebook.com/OnekSoftGames
Period Background/Experience
2013 • Ninja Cat Runner on Win8, WP8, Web (Construct2)
• Video Q&A with MS Tech Evangelist Frank La Vigne
• Founder/Admin of FB groups: Construct 2, Xbox One & Unity Indie Devs
• Attended ID@Seattle, Microsoft’s ID@Xbox summit
2014 • Public Speaking on Indie Game Development
• Joined Microsoft as a Technical Evangelist
• Attended ID@Chicago
Video: http://youtu.be/lRjrQPvVOpo
Source: Official Xbox Magazine, March 2014, Page 65
`
Tools & Technologies
http://aka.ms/dcmeetup201406 http://aka.ms/PhillyBizSpark
Source: https://www.scirra.com/construct2
Derived from Beginner's Guide to Construct 2 originally published by Ashley
Concepts
Steps
Step-by-Step
Screenshots,
Grouped into
Concepts
Get pptx file and images from: http://WakeUpAndCode.com/downloads
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
https://www.scirra.com/
Download!
Run it!
Click
File  New
Filter
Scroll
Up
Or
Down
Open!
Toolbar Projects/Layers
ObjectsLayoutProperties
Tabs for Layouts & Event Sheets
Click
File  Save
Save!
Enter
File name
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Click
File  Export project…
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Right-Click
Inside Layout
Select
“Tiled Background”
then
Click Insert
Click inside
Layout
Click
Open
icon
to load an image
Select
bg.png from the
images folder
NOTE: this may look different on your computer
Open!
Close this
popup window
Notice the extra space?
Graphs in Math class Graphs in Computer Graphics
Update:
Position:
• X = 0
• Y = 0
Size:
• Width = 1280
• Height = 1024
Update:
Size:
• Width = 1280
• Height = 1024
Select Layout 1
Zoom Out:
• Ctrl + Scroll
Zoom To 100%:
• Ctrl + 0 (zero)
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Click the
Layers tab
Click the
Edit icon
(pencil)
to
rename
Layer 0
Enter
“Background”
Lock it!
(lock symbol)
Add a
new layer
(plus sign)
Click the
Edit icon
(pencil)
to
rename
new layer
Enter
“Main”
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Make sure
Main layer
is selected
Right-click to
insert new object
Select
“Mouse”
then
Click Insert
Right-click *again* to
insert another object
Select
“Keyboard”
then
Click Insert
Notice
both
Keyboard
and
Mouse
here
Intro to Construct 2: Ghost Shooter - Step by Step
Right-click to
insert new object
Select
“Sprite”
then
Click Insert
Click inside
Layout
Click
Open
icon
to load an image
Select
player.png
from the
images folder
NOTE: this may look different on your computer
Open!
Close this
popup window
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Right-click to
insert new object
Select
“Sprite”
then
Click Insert
Click inside
Layout
Click
Open
icon
to load an image
Select
monster.png
from the
images folder
NOTE: this may look different on your computer
Open!
Close this
popup window
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Right-click to
insert new object
Select
“Sprite”
then
Click Insert
Click inside Layout
Click
Open
icon
to load an image
Select
bullet.png
from the
images folder
NOTE: this may look different on your computer
Open!
Close this
popup window
Right-click to
insert new object
Select
“Sprite”
then
Click Insert
Click inside Layout
Click
Open
icon
to load an image
Select
explode.png
from the
images folder
NOTE: this may look different on your computer
Open!
Close this
popup window
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Right-click to
Rename
each sprite
Name them:
• Player
• Monster
• Bullet
• Explosion
Change Blend Mode
to Additive
Zoom Out:
• Ctrl + Scroll
Move the
bullet and
explosion
outside the
Layout
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Select Player
Click
Click Add New
(plus sign)
Scroll
Up
Or
Down
Select
“8 Direction”
then
Click Add
Click
Again
Click Add New
(plus sign)
again
Select
“Scroll To”
then
Click Add
Click Add New
(plus sign)
again
Select
“Bound To
layout”
then
Click Add
Close
popup
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Select Bullet
Click
Click Add New
(plus sign)
Select
“Bullet”
then
Click Add
Click Add New
(plus sign)
again
Select
“Destroy
outside layout”
then
Click Add
Close
popup
Select
Explosion
Click
Click Add New
(plus sign)
Select
“Fade”
then
Click Add
Close
popup
Update Bullet
Speed = 600
Update Explosion
Fade out time = 0.5
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Select
Monster
Click
Click Add New
(plus sign)
Select
“Bullet”
then
Click Add
Close
popup
Update Monster’s
Bullet Behavior
Speed = 80
Select Monster
Ctrl-Click and Drag
to create more!
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Add events to the
Event Sheet
Object
Condition
Event
An “Event” happens
when a Condition
is True
for an Object
Right-Click, then
Add
Event
Select
“System”
then
Next!
Select
“Every tick”
then
Done!
Click to
Add Action
Select
“Player”
then
Next!
Select
“Set angle toward position”
then
Next!
Enter Parameters
• X = Mouse.X
• Y = Mouse.Y
Done!
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Click to Add Event
Select
“Mouse”
then
Next!
Select
“On click”
then
Next!
Done!
Click to Add Action
Select
“Player”
then
Next!
Select
“Spawn another object”
then
Next!
Click to Choose
Select
“Bullet”
then
OK!
Done!
Enter
• Layer = 1
• Image point = 0
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Right-Click
Player
then
Edit animations
Click to
Set origin and image points
Click to add
Click in
front of gun
Then, close
popup
Right-Click
Spawn
then
Click Edit
Done!
Update
• Image point = 1
Intro to Construct 2: Ghost Shooter - Step by Step
Click to Add Event
Select
“Bullet”
then
Next!
Select
“On collision with another object”
then
Next!
Click to choose
Select
“Monster”
then
OK!
Done!
Click to Add Action
Select
“Monster”
then
Next!
Select
“Destroy”
then
Done!
Click to Add Action
Select
“Bullet”
then
Next!
Select
“Spawn another object”
then
Next!
Click to Choose
Select
“Explosion”
then
OK!
Done!
Enter
• Layer = 1
• Image point = 0
Click to Add Action
Select
“Bullet”
then
Next!
Select
“Destroy”
then
Done!
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Go to your
Event Sheet
Click to Add Event
Select
“System”
then
Next!
Select
“On start
of layout”
then
Done!
Click to Add Action
Select
“Monster”
then
Next!
Select
“Set angle”
then
Next!
Enter Angle
• random(360)
Done!
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Go to your
Event Sheet
Click to Add Event
Select
“Monster”
then
Next!
Select
“Is outside
layout”
then
Done!
Click to Add Action
Select
“Monster”
then
Next!
Select
“Set angle
towards position”
then
Next!
Enter paramters
• X = Player.X
• Y = Player.Y
Done!
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Select Monster
Click
Click Add New
(plus sign)
Enter the following:
• Name: health
• Type: Number
• Initial Value = 5
• Description (optional)
OK!
Intro to Construct 2: Ghost Shooter - Step by Step
Right-click
Monster – Destroy
then
click
Replace action
Select
“Monster”
then
Next!
Select
“Subtract from”
then
Next!
Enter
• Value = 1
“Monster”“Monster”
Done!
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Go to your
Event Sheet
Click to Add Event
Select
“Monster”
then
Next!
Select
“Compare instance variable”
then
Next!
Done!
Enter:
• Comparison: ≤ Less or equal
• Value = 0
Click to Add Action
Select
“Monster”
then
Next!
Select
“Spawn another object”
then
Next!
<click to choose>
Select
“Explosion”
then
OK!
Done!
Enter:
• Layer = 1
• Image point = 0
Click to Add Action
Select
“Monster”
then
Next!
Select
“Destroy”
then
Done!
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Right-click,
then click
Add global variable
Enter:
• Name: Score
• Type: Number
• Initial value: 0
• Description (optional)
• Constant?
OK!
Scroll to the top
to see it!
Click Add action
Scroll back
to the bottom
Select
“System”
then
Next!
Select
“Add to”
then
Next!
Enter:
• Value = 1
Done!
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Click
Layers
Add a
new layer
(plus sign)
Right-click
then
click Rename
Change
the name
to “HUD”
Let’s update
the Parallax
values…
When the
background layers
scroll separately
Source: Super Mario Bros, from Nintendohttp://wakeupandcode.com/c2/parallax.html
Set the HUD’s
Parallax to
0, 0
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
then
Insert new object
Right-click
top left
of Layout 1
Select
“Text”
then
Click Insert
Click to place
Text object
(HUD layer)
Notice
Text
object
Change Properties
• Font
• Style: Bold Italic
• Size: 24
• Color: Yellow
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
"Score: " & Score
String Variable
&
(ampersand)
spacequote quotetext
Score: 100
"Score: " & Score
displays
Click
Add action
For System,
Every tick
Select
“Text”
then
Next!
Select
“text”
then
Next!
Enter:
• “Score: “ & Score
Done!
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Click to Add Event
Select
“System”
then
Next!
Select
“Every X seconds”
then
Next!
Done!
Enter:
• Interval (seconds): 3
Click to Add Action
Select
“System”
then
Next!
Select
“Create object”
then
Next!
<click to choose>
Select
“Monster”
then
OK!
Done!
Enter:
• Layer = 1
• X = 1400
• Y = random(1024)
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Click to Add Event
Select
“Monster”
then
Next!
Select
“On collision with another object”
then
Next!
<click to choose>
Select
“Player”
then
OK!
Done!
Click to Add Action
Select
“Player”
then
Next!
Select
“Destroy”
then
Done!
Intro to Construct 2: Ghost Shooter - Step by Step
Intro to Construct 2: Ghost Shooter - Step by Step
Online: http://www.scirra.com/tutorials
FB: https://www.facebook.com/groups/construct2devs/
Forum: https://www.scirra.com/forum/
Email: shchowd@microsoft.com  Twitter: @shahedC

More Related Content

PPTX
Construct 2: Flapping Bird - Step by Step
PDF
Unreal Engine Beginner Workshop Slides
PPTX
Game Architecture with Scriptable Objects
PDF
Black book
PDF
Introduction to Game Development.pdf
PPTX
Game development (Game Architecture)
PDF
PPTX
Game development
Construct 2: Flapping Bird - Step by Step
Unreal Engine Beginner Workshop Slides
Game Architecture with Scriptable Objects
Black book
Introduction to Game Development.pdf
Game development (Game Architecture)
Game development

What's hot (20)

PPTX
423480261-Filmora-Presentation.pptx
PPTX
Introduction to Unity3D and Building your First Game
PPTX
Websitebuilder
PPTX
Unity - Game Engine
PPTX
Construct 2: Exporting & Publishing to Web, Win8 and WP8
PDF
DOCX
Adobe Illustrator CS5 Part 1 : Introduction to Illustrator
PPTX
Std 11 Computer Chapter 2 Animation Tool: synfig (Part 2 Different Tools in ...
PPTX
Lecture 1 introduction to flash
PPTX
PDF
Scratch Animation
PPTX
TUTORIAL ON PHOTOSHOP
PPTX
Unity Game Engine - Basics
PPTX
Unity 3D, A game engine
PPTX
Game Process (Flowchart)
PDF
Unreal Engine Basics 03 - Gameplay
PPTX
Scratch Lesson 1
PPTX
Visual Studio 2012 introduction
PDF
Photoshop_CS_Tutorial
PDF
Canva Tutorial
423480261-Filmora-Presentation.pptx
Introduction to Unity3D and Building your First Game
Websitebuilder
Unity - Game Engine
Construct 2: Exporting & Publishing to Web, Win8 and WP8
Adobe Illustrator CS5 Part 1 : Introduction to Illustrator
Std 11 Computer Chapter 2 Animation Tool: synfig (Part 2 Different Tools in ...
Lecture 1 introduction to flash
Scratch Animation
TUTORIAL ON PHOTOSHOP
Unity Game Engine - Basics
Unity 3D, A game engine
Game Process (Flowchart)
Unreal Engine Basics 03 - Gameplay
Scratch Lesson 1
Visual Studio 2012 introduction
Photoshop_CS_Tutorial
Canva Tutorial
Ad

Similar to Intro to Construct 2: Ghost Shooter - Step by Step (20)

DOCX
Work flow
PPTX
Construct 2 Platformer: Step by Step
PPTX
Intro to Indie Game Development
DOCX
Workflow
DOCX
Workflow
DOCX
Work flow the pain is reel
DOCX
Work flow
PPT
Gamemaker - Intro and Core Objects
PPTX
Unity workshop
PPTX
98 374 Lesson 03-slides
PPTX
Platformer Game Design with Sploder - Library Program
PPTX
Ninja Cat Flyer - 1 of 6
DOCX
Jake Hyatt 2D Game Workflow
PPT
XNAPresentation
DOCX
Task 2 Work Flow
DOCX
2d game engine workflow
ODT
Ben Atherton 2D Side Scrolling Shooter Workflow
DOCX
Making My Game
PPTX
Game Programming Syllabus for B.Tech Final Year
PDF
C Game Programming Learn Game Programming With C Step By Step Very Easy Am Moh
Work flow
Construct 2 Platformer: Step by Step
Intro to Indie Game Development
Workflow
Workflow
Work flow the pain is reel
Work flow
Gamemaker - Intro and Core Objects
Unity workshop
98 374 Lesson 03-slides
Platformer Game Design with Sploder - Library Program
Ninja Cat Flyer - 1 of 6
Jake Hyatt 2D Game Workflow
XNAPresentation
Task 2 Work Flow
2d game engine workflow
Ben Atherton 2D Side Scrolling Shooter Workflow
Making My Game
Game Programming Syllabus for B.Tech Final Year
C Game Programming Learn Game Programming With C Step By Step Very Easy Am Moh
Ad

More from Shahed Chowdhuri (20)

PPTX
ASP.NET Core 2.1: The Future of Web Apps
PPTX
ASP.NET Core 2.1: The Future of Web Apps
PPTX
Cloud-Backed Mixed Reality: HoloLens & Azure Cognitive Services
PPTX
ASP.NET Core 2.1: The Future of Web Apps
PPTX
Cloud-Backed Mixed Reality with HoloLens & Azure Cognitive Services
PPTX
Microsoft Cognitive Services
PPTX
Intro to Bot Framework v3 with DB
PPTX
Game On with Windows & Xbox One @ .NET Conf UY
PPTX
Game On with Windows & Xbox One!
PPTX
Going Serverless with Azure Functions
PPTX
ASP.NET Core 2.0: The Future of Web Apps
PPTX
Azure for Hackathons
PPTX
Intro to Xamarin: Cross-Platform Mobile Application Development
PPTX
Xbox One Dev Mode
PPTX
What's New at Microsoft?
PPTX
Capture the Cloud with Azure
PPTX
Intro to HoloLens Development + Windows Mixed Reality
PPTX
Intro to Bot Framework v3
PPTX
Azure: PaaS or IaaS
PPTX
ASP.NET Core MVC + Web API with Overview
ASP.NET Core 2.1: The Future of Web Apps
ASP.NET Core 2.1: The Future of Web Apps
Cloud-Backed Mixed Reality: HoloLens & Azure Cognitive Services
ASP.NET Core 2.1: The Future of Web Apps
Cloud-Backed Mixed Reality with HoloLens & Azure Cognitive Services
Microsoft Cognitive Services
Intro to Bot Framework v3 with DB
Game On with Windows & Xbox One @ .NET Conf UY
Game On with Windows & Xbox One!
Going Serverless with Azure Functions
ASP.NET Core 2.0: The Future of Web Apps
Azure for Hackathons
Intro to Xamarin: Cross-Platform Mobile Application Development
Xbox One Dev Mode
What's New at Microsoft?
Capture the Cloud with Azure
Intro to HoloLens Development + Windows Mixed Reality
Intro to Bot Framework v3
Azure: PaaS or IaaS
ASP.NET Core MVC + Web API with Overview

Recently uploaded (20)

PPT
Teaching material agriculture food technology
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Machine learning based COVID-19 study performance prediction
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
Big Data Technologies - Introduction.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
KodekX | Application Modernization Development
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Cloud computing and distributed systems.
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Empathic Computing: Creating Shared Understanding
PDF
Review of recent advances in non-invasive hemoglobin estimation
Teaching material agriculture food technology
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Machine learning based COVID-19 study performance prediction
The Rise and Fall of 3GPP – Time for a Sabbatical?
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
20250228 LYD VKU AI Blended-Learning.pptx
sap open course for s4hana steps from ECC to s4
Big Data Technologies - Introduction.pptx
Approach and Philosophy of On baking technology
Building Integrated photovoltaic BIPV_UPV.pdf
Understanding_Digital_Forensics_Presentation.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
KodekX | Application Modernization Development
Spectroscopy.pptx food analysis technology
Cloud computing and distributed systems.
“AI and Expert System Decision Support & Business Intelligence Systems”
Empathic Computing: Creating Shared Understanding
Review of recent advances in non-invasive hemoglobin estimation

Intro to Construct 2: Ghost Shooter - Step by Step

Editor's Notes

  • #7: Tools & Technologies Visual Studio 2013 Windows 8 Windows Phone 8 Construct 2 HTML5 CSS3 JavaScript Blender Paint.net
  • #8: Construct 2 Source: https://www.scirra.com/construct2
  • #9: Construct 2 Source: https://www.scirra.com/tutorials/37/beginners-guide-to-construct-2