DIRECTIONS: Follow along with the Platformer - The Alien screencast while following along with this step-by-step instruction sheet. ❏
Open the existing “Platformer” project in Construct 2
● Insert your USB/Flash Drive and go to COLESTOCK > GAMEDEV > Platformer ● Double-click on the “Platformer.capx” project file
NOTE: When developing in Construct 2, we will use primarily two tabs: PROJECTS and LAYERS. ❏
Create the Alien
● Make sure “Content” layer is active and unlocked ● Right-click OBJECT TYPES > Select “Insert new object” ● Select “Sprite” > Name when inserted: "Alien" > INSERT ● When crosshair appears, click inside “Game” layout > Edit image dialog box will appear > Click folder icon ● Browse to and OPEN: Platformer > media > alienA.png ● Click X to close; Alien should be on the “Content” layer
❏
Assign behaviors to the Alien
● Select the Alien > Set the following properties: ○ Behaviors ■ Add / Edit > BEHAVIORS ■ Select plus “+” icon ■ Select “Platform” under “Movements” > ADD ■ Select “ScrollTo” under “General” > ADD ■ Select “BoundToLayout” under “General” > ADD
❏
Adjust Alien’s Collision Polygon
● Select the Alien > Right-click > Select “Edit animations” ● Select “Set collision polygon” ● Adjust polygon to reflect Alien’s true size ● Deselect “Set collision polygon” ● Click X to close
❏
Animate the Alien
● Select the Alien > Right-click > Select “Edit animations” ● In the “Animations” window > Select “Add animation” ● Rename new animation to “Walk”; make sure it is highlighted ● Create a six-frame animation with the following frames: ○ ○ ○ ○ ○ ○
For each frame you need to create: Click the folder icon > Navigate to the image file (.png) > Select “Open” > Right-click “add frame” in the “animation frames” window Then Select “Set collision polygon” > Adjust polygon to reflect Alien’s true size > Deselect “Set collision polygon” ● Right-click “Delete” any remaining empty frame ● Click X to close the “Edit image” window ❏
Set Alien’s “Walk” Animation Properties
● Select the Alien > Right-click > Select “Edit animations” > Select “Walk” animation > Set the following properties: ○ Animation ‘Walk’ properties ■ Speed: 8 ■ Loop: Yes ● Click X to close