Learn Construct 2: Creating a top-down shooter in HTML5!

Construct 2: MADE EASY! How to make a top-down shooter with HUD elements, enemies, dynamic projectiles and more!
4.6 (35 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.
2,121 students enrolled
Take This Course
  • Lectures 35
  • Length 1.5 hours
  • Skill Level All Levels
  • 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


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


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

About This Course

Published 7/2015 English

Course Description


How to make an "top-down shooter" in Construct 2!


What is the course about?


This course is about creating an intense top-down shooter game. By using Construct 2 and it's extremely fast ability to get a thought out of your head and into code, we are going to be diving right into creating our game. This course is about understanding how we can take a very advanced topic and make it simple all thanks to Construct 2.


What material is included?


In the beginning of the course you have access to all of the assets used (art, animations, SFX) so you can make the same game along with me. In the download you will find the .capx we create at the end of the lecture!


What does this course include?


  • Simulated controls
  • Configurable shooting
  • Bullet accuracy
  • Dynamic Camera
  • Camera Screenshake
  • Enemy AI using Line of Sight
  • Enemy tracking
  • Functions and parameters
  • Muzzle Flash
  • Player health and death
  • End game
  • Random enemy spawning
  • Instance variables
  • Bullet shells
  • Pushing the limits of Construct Free but great for C2 Personal
  • All assets are free to use for commercial use.

The course is always being updated as is the game engine we are making!


Why take this course?


The lectures are quick and easy to understand. If you follow along with the provided assets you will easily find yourself able to create any kind of game once the course is over. I personally think that as soon as you finish the course you are going to want to add so much more to your own game that you are going to have no choice!


Is this course right for me?


If you have never programmed before this course is perfect for you. If you have programmed before this course is ALSO perfect for you. Whether you are just starting out or an advanced user you will find some of this information helpful.


How is this course structured?


I have structured this course in a way where we add the important things first and create the gameplay second. By creating and fine tuning the mechanics as we go we are able to understand everything Construct 2 has to offer and create an awesome game on the way!

I hope to see you in the discussion!

- Jeremy

What are the requirements?

  • At least Construct Free Edition
  • No programming knowledge required although some previous experience is helpful

What am I going to get from this course?

  • Implement simple solutions to advanced topics such as Enemy AI and Player Shooting
  • Learn how to create and separate event sheets for organized and efficient code.
  • Learn the basic principles of game feel and how to make our game not be dull
  • Learn the basic principles of game feel and how to make our game not feel dull.
  • Be comfortable splitting up our game into manageable chunks and adding minor details as you progress.
  • Learn how to use the shadowcasting abilities to make our levels have more depth.
  • Create enemy AI that are not overly complicated but complex enough to beat you before you have a chance!
  • Create a dynamic camera using C2's built in Scroll To and lerp function
  • Know how to make functions accept parameters for things like bullet accuracy and screenshake!
  • Push the free edition of C2 to it's limits however leaving a lot of room to tidy up with the personal edition!
  • Experience very frequent UPDATES to lectures and course downloads!
  • Learn intuitive ways of programming without actually having to type out code. C2 makes it the perfect balance for those who think logically.

Who is the target audience?

  • This course is for the person who just wants to HONE THEIR CRAFT and make a video game.
  • If you don't like diving right into the content and want a course that explains every little iota, this course is not for you.
  • Those who have always wanted to make a game like this but thought it was too complicated will love this course!

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.


Section 1: Welcome to creating your top-down shooter!

In this lecture we begin with an introduction of what we will be creating. We are making a birds eye view, top-down shooter in Construct 2. Construct 2 is an extremely efficient way of getting started with programming and making games.


In this lecture we learn more about me. I am always keen to hear what students think about my course and how they feel about what they have learned. Always keep an open line of communication as I will always get back to you!

Section 2: Setting up our project file

In this lecture we walk through the basics of setting up our custom layout in Construct 2. We create a different layout than you are used to but nothing to out of the ordinary.


In this lecture we have imported our project sounds so we can have audio for our game and therefore make our game 10x more awesome!

Section 3: Programming our player

In this lecture we start programming our player. Our player is obviously the most important game object and therefore we are going to have to spend extra time to make him just right.


In this lecture we add our simulated controls for our player movement. We also set-up the way our player looks left and right based on the mouse position.


In this lecture we are giving our player something to rotate towards. To do this we need to add our mouse object so now we are rotating our player towards our mouse.x and mouse.y!


In this lecture we add our player animation functionality for our 'Idle' and 'Shooting'. These are the two animations we are adding for our player but we have set it up so we can always add more if needed.


In this lecture we create our gun and set it up for programming! We have a lot of global variables to add so make sure you pay attention!


In this lecture we add a new event sheet called FUNCTIONS and we continue with our player shooting. By the end of this lecture we will have our player gun shooting the way it should.


In this lecture we talk about configurable bullet types and we draw and spawn a muzzle flash to add some pop to our gun when it shoots!


In this lecture we add a function with parameters. Once we do this we can add bullet accuracy for any bullet type we like!


In this lecture we implement our player health and subsequently death. By adding the functionality now we are providing an easier set-up later on for our end game.

3 questions

In this quiz students will have to answer questions all about programming the player and it's functions.

Section 4: Creating our Level

We are going to be adding walls for our player to bounce off of! This lecture marks the first step in setting up our level and making a game with our player!


Setting up our shadow casters can be tricky... fortunately I am here to help and make our level look totally awesome!


FINALLY! We can move around the level. In this lecture we create our camera and we implement a camera lerp function so we can pan around the screen with the mouse!


Nothing says awesome like destructible objects! This lecture is about adding simple tweaks to our game and making sure we cover our bases with bullet collisions!


The SECRET sauce of all video games. Time to add our screenshake and make it fully functional so we can always change it's settings depending on what happens.


In this lecture we add a nice static HUD to display some of the important global variables in our game. The HUD makes our game have purpose!

5 questions

In this quiz students will be challenged from this past section on everything related to our level design!

Section 5: Programming our Enemy

Whoa. Enemy AI. HERE WE GO! In this lecture we start setting up our behaviors for our enemies. Get excited - it isn't as intimidating as you might think!


As we continue our enemy AI we make a new event sheet for our enemy and start implementing our previously set-up behaviors using code!


Continuing with our enemy AI we need to keep tweaking behaviors such as speed and range and start to add instance variables for dynamic control!


Our final tweaks to our enemy behaviors before we make our enemy actually attack us!


Making our enemy bullets and our code for shooting! By the end of this lecture our game officially becomes tough. We randomize our enemy bullet shooting and start preparing for our end game!


Man our enemy hates colliding with us! How can we make this better? In this lecture we tell our enemy to bounce off of our player by using linear interpolation.


In this lecture we continue with our already existing enemy death group and we implement a way for our game to track how many enemies are generated.

3 questions

In this quiz we test your knowledge on our newly implemented Enemy AI!

Section 6: What's next?

In this lecture we make our game over function and add meaning to our game. By giving our game an ending we are able to create our game for maximum replay-ability.


In our FINAL lecture of our main course we tidy up our game and add our enemy random spawning. Once we do this our game becomes infintely harder and finally at a playable state. This lecture starts the wheel over again and now going further you will have the skills to create your very own top-down shooter.

Post your projects!
Section 7: Updates
What would you like next?
4 questions

In this Quiz I would like to find out how you are liking this course!


In this lecture we discuss:

  • Reorganzing our layers
  • Creating a new tiled background
  • Using unbounded layout property to our advantage
BONUS: Adding bullet shells

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Jeremy Alexander, Construct 2 Game Developer // Web Developer // Animator

Jeremy Alexander is an online entrepreneur with experience in game development, full stack web design and Animation. Since 2015, Jeremy has gathered a following due to his unique teaching style and superior customer support. With his success, he has launched his own rapidly growing YouTube channel, Jerementor!

Why does he do this?

Having made his own website using Geocities in 2004, Jeremy developed a knack for all things computer related. After having freelanced in High School, it wasn’t until college that he realized - traditional education was failing him. He knew how to learn, becoming self-proficient in many programs and languages, but the typical classroom setting never clicked. Then, one hot summer day in June of 2015, it all came together. After deciding not to continue pursuing a BFA in Animation, Jeremy started teaching with his own skills and determination. His number one goal has always been to provide the learning experience he wished he had in a traditional setting. He has succeeded.

10,000+ Students

2,000+ Subscribers

Ready to start learning?
Take This Course