Learn to Code Video Games - A Complete Guide to Construct 2

A hands-on guide to learning Construct 2 while building 3 complete video games from scratch. No experience necessary.
4.7 (20 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
83 students enrolled
$19
$50
62% off
Take This Course
  • Lectures 55
  • Length 5.5 hours
  • Skill Level Beginner Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 11/2015 English

Course Description

In this course, you will learn how to use Construct 2 through a hands-on program where we walk students through three unique video games. You will learn all about the Construct 2 platform, the basics of creating a video game, and a complete walk-through of three video games.

Leveraging exclusively video, students can take this course at their own pace and follow along with the free version of Construct 2. The entire course will take about six hours to complete.

We developed this course specifically for elementary through high school students, with a focus on our in-person Gaming Bootcamp program that we run in Sioux Falls, SD.

Even if you have ZERO experience with Construct 2 or making video games, this course would be an excellent way to learn the basics and learn to love programing. This is a very entry-level course.

What are the requirements?

  • Students should have access to a Windows-based computer or laptop in order to follow along.

What am I going to get from this course?

  • Learn the Construct 2 platform while building multiple video games. Our course is for those who have no prior experience at all, we specifically designed it for kids in elementary through high-school. But everyone will benifit.

What is the target audience?

  • This Construct 2 course is for the beginner or someone who has no prior experience with coding or Costruct 2. If you are an experenced program, this course is probably not going be helpful.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Overview of Construct 2
00:35

Hello - Let me introduce you to who I am.

I have been writing code for over 20 years, I have written some crazy stuff!

This course is for anyone who wants to learn how to build video games with Construct 2, absolutely no experience necessary. I take a hands-on approach by covering the basics of building video games and then we dive straight into build three video games from scratch.

Watch the video, it took about fifteen takes before I got one that was usable, and I use the word "usable" very liberally. Enjoy.

05:32

Learn all about the Construct 2 gaming platform to build various video games which work on any device, including phones and tablets. Construct 2 has a few version which will be used for everything in the course. The paid version will allow for more expansive games and additional features, plus a few nice features that make building video games easier.

Gaming Bootcamp uses the Construct 2 program for our curriculum. During this lecture, we will show you how to download, install and launch Construct 2, plus we highlight their extensive online documentation, tutorials and a manual you can download.

Let's get started.

04:27

This lecture will cover launching Construct 2 and a brief walk through of the entire interface. Construct 2 is a Windows program and used common features like the ribbon, properties panel and menu system, which will be familiar to most users.

Take this quick tour to become familiar with the program that we will use for the next several hours during this course.

08:34

Construct 2 has two main sections -- layouts and events. We will learn the basics of each in this lecture and will walk through the main navigation.

Layouts are the where your video game graphics gets built, this is where your characters, enemies, forground and background come to life. Using a simple drag-and-drop interface, you can setup your entire game without righting any code.

Events are where your game comes alive! Instead of writing complex scripts or code, Construct 2 has developed an events based engine where you simple build the rules that you want to trigger based on events -- like when two objects collide with each other.

This lecture will only cover the navigation and basics of both sections, but we'll dive into them in greater detail soon enough. Are you excited to build a game!

04:12

Objects make up the components of your video game. This lecture will teach you the basics of creating objects, we'll also tour the primary objects that will be used throughout the course. Most games are built with just a few base objects, like the sprite, tiled background and keyboard.

You will be surprised at how easy Construct 2 will get you up and running with your video game. We'll also cover a few of the less-common objects because you never know when you might have an idea for a crazy video.

06:13

Sprites are probably the most commonly used object for building a video game. Sprite is a fancy name for your game's components, like your player, enemy, obstacles and bullets. Animation is very important for any video game so that your character will actual look like they walking, running, jumping, flying or swimming.

This lecture covers how to create a new sprite, import image files and setup basic animation. Now you're on the right track, let's make that zombie mouse run.

03:10

What is your score? How many lives do you have left? Which level are you on? Without the Text object, there is no way to know. Text can be static, like a title screen, or completely dynamic, like your score.

This lecture will introduce you to the basics for creating a text object and initialize its text values. During the variable lecture, we'll show you how to dynamically adjust the values of a text object.

02:52

Buttons, buttons, buttons. What's a game without a few buttons to push? Buttons are easy to create, customize and add actions, we'll cover a few of the basics with this lecture. Buttons can be used to navigate around your game or be used as controls.

This lecture explains how to create a button and assign basic actions to your button.

05:28

There is nothing more satisfying that blowing up a sprite, or a few hundred sprites. Particles are an amazing object that allows you to show an explosion very quickly and easily without writing any scripts at all. You'll want every operation to have some type of a particle in your game, like destroying an enemy, a brick or even just landing on the platform.

Add those fantastic touches to your game with ease, this lecture will explain how to create, customize and implement a particle object.

02:31

The Tiled Background will save you hours and hours of screen layout time. Does your game involve a simple ground for your character to run across? Are you concerned about creating thousands of small blocks to make up the ground? Fear not - Tiled Background to the rescue! Let Construct 2 automatically replicate your image over and over.

This lecture will show you how to create a ground, sky, ocean, building or pretty much anything that will replicate over and over again with only a few clicks

06:17

Are you nervous about creating a hundred enemies by importing the same image over and over again? No worries, just copy your enemy and it will automatically inherit ALL of the properties. Change your mind about a property after making fifty copies, no worries, changing one will automatically be replicated to the other forty-nine!

That's right, Construct 2 has thought of everything and this lecture will explain how it all works. You can even clone an object to make a brand-new object with its own events.

Now you can build that horde of zombies that will take over the world in no time at all.

02:45

Behaviors give your video game actions. Who wants to write scripts or code? That sounds boring and riddle with things like math or physics. Behaviors have all the complicated logic built in automatically, you just need to click the "Add" button.

This lecture will introduce you to what behaviors are, which ones are the commonly used behaviors and how they work -- and we don't need to know the speed of gravity on the moon.

03:37

Probably the most popular video game style around is the platform style. This is where a character interacts with a platform, like the ground, and moves around the screen to interact with obstacles and enemies -- think Super Mario. The platforms may be flat, long, short, tall or even multi-leveled.

Using the platform behavior, this lecture will build a very basic video game with a few sprites. You'll understand how video games are built and you'll be excited to start your own right now!

What are you waiting for? Go start, you know the basics!

03:32

Physics is awesome -- but complicated. Who wants to do math when building a game? (No one, that's who)

No worries, Construct 2 has all the math embedded into the physics behavior so you just need to click the "add" button. Physics allows you to create sprites that interact with each other like they would in the real world, like a ball bouncing on the ground or a rock falling of a building.

This lecture will explore the physics behavior and how to add real-life physics to a video game. Physics is one of the most flexible behaviors available.

02:41

What video game would be complete with bullets? We love to shoot things almost as much as we love to blow them up. Luckily, bullets are super-easy to add to any game, just select the bullet behavior and adjust a few properties and you're pretty flower will be shooting laser beams in every direction.

The bullet behavior can also be used for other operations, we'll explore a few of those as well. We bet you can come up with a few other cool uses for the bullet behavior after you've watched this lecture.

05:13

Boom - those to sprites just collided into either other! They need to blow up now. Adding collision, both good and bad, are a snap. With just a few clicks, the events necessary to detect when two objects collide will trigger any action that you want.

This lecture is the first where we dive into the events sheet, we'll take it slow. But don't wait for us, add more events!

05:12

Adding the fade behavior will make our player die with class instead of just disappearing from the screen. Adding one simple behavior will add a ton of effects to our basic platform structure. We are all about making things easy!

03:16

What game would be complete without knowing that you just died? Adding a text display to the platform game is easy, students will see how quickly text can be added with only a few clicks.

04:31

Events are not something that students should be afraid of, this lecture covers some tips and tricks to getting around the events screen quickly.

08:47

Variables are an important part of any game to keep track of scores, lives, enemy and many other values. This lecture covers both global and instances variables along with a demonstration of each. If you have never used variables before, we'll cover them in detail as we build our games.

05:16

Layers can be used to build backgrounds or heads-up-display unites (HUD) in games. Learn the basics for building a background layer behind your game's main characters. Should real-life have a HUD display?

Section 2: Blocks Game
05:00

Begin with the basics of our physics-based blocks game. Start this section off with a complete walk-through of the final game and how it will be presented during Gaming Bootcampl

04:30

Instead of building the entire game from scratch during Gaming Bootcamp, students will build out their own levels that their friends will play using the blocks game. Who can build an unbeatable level?

02:29

Our blocks game leverages the physics behavior which contains a number of different properties that can be changed for each level. Students will understand how these properties make each level different.

02:41

Gaming Bootcamp students will want to learn how to build a strange and weird level to trick their friends and setup an unbeatable level. This lecture will teach you a few tricks of your own.

09:29

Gaming Bootcamp will not build the blocks game from scratch but understanding how it was originally built will help mentors understand the basics of building a physics game using Construct 2.

This lecture will walk-through the menu system and set the basics for the rest of the blocks game. If you get lost or confused, just rewind the video and watch it a few times.

10:09

Discover how to build the layout and events for our blocks game.

10:57

Walk-through part two will complete the basics of our blocks game.

Level Walkthrough Part C
02:41
Section 3: Angery Birds-Like Game
01:42

Begin with a complete tour of the final version of our Angry Birds-like game. See what we are going to build before we start from a black project.

08:15

Starting with a blank project, we will configure our layout and set up our game's background. Using two layers, we will lock our background so it does not get accidently moved while completing the rest of our game.

07:10

Add our main component, a canon that will shoot a canon ball (or in our case, a giant piece of poo). We'll also define an event to track the mouse pointer as a targeting system.

07:52

We need some ammunition for our canon, how about a giant poo? Add a canon ball, define the events to launch and our game is coming along well.

05:41

Firing once will not work, we'll add an additional event to reload the canon after the first shot and be ready to fire again.

05:08

All canons need a target, let's build a tower with a prize to shoot at. The tower can be as complex and you want, we'll be showing you just the basics.

07:31

Anything that gets hit better explode! We'll add an explosion to our prize when it hits the ground. Plus, we'll add a simple score message so you know you did great things.

04:35

Boom, you did it! To wrap this series up, let's chat about additional features that you can add and maybe a few challenges for you to complete.

We would love to hear from you about your modifications, please post the in the comments section.

Section 4: Fungus Adventure Game
02:42

Let's test this bad-boy game out.

You can click the link below to play a live version yourself.

Does it look overwhelming to build? We'll cover it step-by-step. So don't leave now

06:56

Our layout is huge, it is a complicated game after all. Never fear, we have you it broken down for you step-by-step.

This video will get your layout setup, background loaded and a cool template to use when laying out the blocks and enemies.

Download ALL the game assets in the attached zip file as well. It contains everything you'll need, plus a few extra enemies.

08:20

We need something to run across, this video will setup the ground and other barriers. Be creative, you don't need to follow the template exactly.

The artifacts are all in the zip file in the "Layout: Setup the Layout" lecture. Make sure you grab that.

14:59

Our hero needs a name. Message me if you have any suggestions.

This lesson covers how and why we use a separate sprite for our hero called player. Hopefully I did a good job explaining why, but if not, feel free to let me know.

05:59

When our hero dies, he needs to be respawned, we'll cover that in this lecture. What do you think about a checkpoint? Do you think you could create your own checkpoint system?

08:04

Creating a break-block allows our hero to break the blocks only when he hits them from below. This is a cool feature and replicates an operation in the iconic Super Mario Brothers game.

Be creative, you don't need to follow the template of where the blocks go exactly. Maybe you could create a secret hidden spot or allow your user to run across the top of the layout.

14:26

If you are upset about explosions and breaking blocks, you might want to skip this video. Although then you won't have any sweet prizes to collect.

My prizes may be lame, you can use your own icons. Have fun exploring.

03:57

Now that we can spawn a prize, let's go collect them! Or at least start to collect the. We won't add any special powers yet but we'll setup the events for later.

04:42

Now has come the time for enemies...Bring it on mushrooms!

Our first lecture will cover the cool animation for our mushroom enemy. Do you have a cool name for our mushroom? Send me a message.

04:23

Our mushroom enemy now has become self-aware, run for your lives!

Well, maybe not as self-aware as the Terminator but they are smart enough that you will probably die a few times trying to get past them.

Do you think you can improve the Artificial Intelligence logic? Send me your improvements.

07:53

Those mushrooms are pretty smart but not smart enough. Let's fix that in this lecture.

05:31

Our spiky-turtle looks pretty cool but do you think anyone will jump on him? Let's add him anyway and see if we can replicate the logic from our mushroom.

13:34

Enemy and player collisions is where the game really starts to take shape. It's not any fun playing when there are no conciquencies for running into the enemy. This lecture will fix that, now you have to "try" to avoid or kill the enemy.

15:36

Money, money, money. You have to collect those coins! Not sure why, I never added any reward, maybe you want to add something else.

The coins should also fade away so you only have 5 seconds to grab them, any ideas on how to add that? Message me your solution, I'd love to hear from you.

14:15

Our hero should have a gun and shoot things, right?

This lecture will cover adding a prize that allows our hero to shoot a gun. Don't like bullets, go ahead and use a different sprite. Maybe he shoots hearts instead. Make sure they are small otherwise they won't go far.

05:49

What game would be complete without an invincibility prize?

This lecture will add the events to make our hero invincible when they collect the star. Sounds very complicated doesn't it? You may be surprised, watch how we do it.

07:35

Let's get out of here! One door and a few final tweaks should do the trick.

Do you have any modifications that we should have added? Send me a message!

This lecture wraps up our game, it was quite the adventure and I hope you came away with the sense of accomplishment and the drive to create your own platform game.

(Attached is a copy of the final game, no cheating though!)

Section 5: Conclusion!
00:22

Well there you go, you have completed the entire course. Nicely done.

I will be adding additional game walk-through in the coming months. I would like to build an example platform game, like Super Mario Brothers.

If you have any questions or ideas for other video games, please let me know.

Thanks for taking this course, and good luck building your own games.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

William Bushee, Gaming Bootcamp

In 2014 I co-founded Code Bootcamp of South Dakota where we teach web development in a Bootcamp-style, 12 week program. We have run multiple bootcamps and have branched out into other areas of education as well, including Gaming Bootcamps for middle school kids.

With over 20 years of development experience, my video courses will take kids of any age through easy to follow steps that they can follow at their own pace.

Ready to start learning?
Take This Course