Left Blocks Image | Learnfly Right Blocks Image | Learnfly
All in One Offer! | Access Unlimited Courses in any category starting at just $29. Offer Ends in:

Learnfly | Menu Trigger Icons Browse Library

  • Business Solutions
  • Become an Instructor
  • 0
    Shopping Cart
    Learnfly | Empty Cart Icons

    Your Cart is empty. Keep shopping to find a course!

    Browse Courses
Free
6 days left at this price!

This plan includes

  • Limitedfree coursesaccess
  • Play & PauseCourse Videos
  • VideoRecorded Lectures
  • Learn onMobile/PC/Tablet
  • Quizzes andReal Projects
  • Lifetime CourseCertificate
  • Email & ChatSupport
Get Unlimited Learning Access
$29
6 days left at this price!
30-Day Money-Back Guarantee

This plan includes

  • Access to11,000+Courses
  • Adsfree experienceCourses
  • Play & PauseCourse Videos
  • Learnfly HD IconsHD VideoRecorded Lectures
  • Learn onMobile/PC/Tablet
  • Quizzes andReal Projects
  • Lifetime CourseCertificate
  • InstructorDirect Support
  • Email & ChatSupport
  • Cancel Anytime
$29
$29
$29
  • HTML5 Game development using Phaser
  • 2D platform game fundamentals
  • Webpack and Phaser: Utilising up a robust base project
  • How to work with sprites and spritesheets
  • Loading game assets
  • Character animations
  • Capturing user input
  • Platform game physics
  • Character movement
  • Finite state machine pattern
  • Handling collisions
  • Level building with the Tiled level editor
  • Cameras
  • Parallax scrolling

In this course, you'll learn the basics of 2D game development using HTML5/Javascript and the excellent Phaser game engine. The course will focus on character movement for a platform game and introduce level creation using the Tiled level editor.

We'll cover how to build a character with various moves and animations. We'll use a physics engine to get the jump and horizontal movement feeling just right similar to classic games like Mario Bros. We’ll then create a simple platform game level and setup the collision logic for our character to interact with it.

Along the way to building a super fun 2D platform game, we’ll be looking at some best practices on structuring and architecting a game project by starting with a robust boilerplate that you can use for any game, as well as exploring the finite state machine pattern as a means of controlling our character’s movements and animations. This will give you a solid foundation for continuing your journey into game development and give you a kick start in creating a full blown game!

If any of the above sounds a bit daunting, don’t worry, the course videos will explain everything in a way that’s suitable even for a complete beginner. While a little familiarity with Javascript would be beneficial, we’ll be doing everything step-by-step in enough detail that you can follow along. Basically, if you have an interest in how 2D platform games work and would like to have a go at creating your own, this course is for you.

  • A computer (Mac or PC)
  • Anyone with an interest in learning how they can build their own 2D platform game
  • Beginner Javascript developers curious about building games for the web
  • Basic experience with programming in Javascript or another programming language recommended
View More...
  • Section 1 : Getting Started 5 Lectures 00:11:36

    • Lecture 1 :
    • Lecture 2 :
    • Project Starter Code
    • Lecture 3 :
    • Intro to Phaser
    • Lecture 4 :
    • Code Completion for Phaser in VS Code
    • Lecture 5 :
    • Base Project Code Review
  • Section 2 : Building a Character 24 Lectures 02:11:04

    • Lecture 1 :
    • Finding Royalty Free Game Assets
    • Lecture 2 :
    • Spritesheets and Texture Atlases
    • Lecture 3 :
    • Loading Spritesheets
    • Lecture 4 :
    • Playing Animations
    • Lecture 5 :
    • Enabling the Arcade Physics Engine
    • Lecture 6 :
    • Collision Rectangles for Physics Bodies
    • Lecture 7 :
    • Creating a Hero Class
    • Lecture 8 :
    • Capturing Keyboard Input
    • Lecture 9 :
    • Horizontal Movement
    • Lecture 10 :
    • Using Acceleration
    • Lecture 11 :
    • Jumping
    • Lecture 12 :
    • Double Jumping
    • Lecture 13 :
    • Fixing Jump Bugs
    • Lecture 14 :
    • Intro to Finite State Machines
    • Lecture 15 :
    • Installing the javascript-state-machine Library
    • Lecture 16 :
    • Movement State Machine
    • Lecture 17 :
    • Triggering State Transitions
    • Lecture 18 :
    • Logic for State Transitions
    • Lecture 19 :
    • Loading Spritesheets and Creating Animations
    • Lecture 20 :
    • Fixing the Fall Spritesheet
    • Lecture 21 :
    • Flowchart For Animation States
    • Lecture 22 :
    • Creating the Animation State Machine
    • Lecture 23 :
    • Adding Logic for Animation State Transitions
    • Lecture 24 :
    • Completing the Animation State Machine
  • Section 3 : Building a Level 15 Lectures 01:41:03

    • Lecture 1 :
    • Intro to Tiled
    • Lecture 2 :
    • Creating a Tileset
    • Lecture 3 :
    • Building a Level in Tiled
    • Lecture 4 :
    • Loading the Level
    • Lecture 5 :
    • Adding a Camera
    • Lecture 6 :
    • Colliding with the Level’s Tiles
    • Lecture 7 :
    • Fixing Pixel Bleeding with Extrusion
    • Lecture 8 :
    • Adding a Foreground Layer
    • Lecture 9 :
    • Adding a Background Layer with Parallax Scrolling
    • Lecture 10 :
    • Setting the Hero’s Start Location via the Level
    • Lecture 11 :
    • Adding Spike Objects
    • Lecture 12 :
    • Finish Adding Spikes Objects
    • Lecture 13 :
    • Killing the Hero
    • Lecture 14 :
    • Completing the Death Sequence
    • Lecture 15 :
    • Resetting the Game
  • Learnfly Google Logo
  • Learnfly Facebook Logo
  • Learnfly Apple Logo
  • Learnfly EA Logo
  • Learnfly Amazon Logo
  • Learnfly IBM Logo
  • Learnfly Microsoft Logo
  • Learnfly Reddit Logo
  • Learnfly Spotify Logo
  • Learnfly Uber Logo
  • Learnfly Youtube Logo
  • Learnfly Instagram Logo
  • How do i access the course after purchase?

    It's simple. When you sign up, you'll immediately have unlimited viewing of thousands of expert courses, paths to guide your learning, tools to measure your skills and hands-on resources like exercise files. There’s no limit on what you can learn and you can cancel at any time.
  • Are these video based online self-learning courses?

    Yes. All of the courses comes with online video based lectures created by certified instructors. Instructors have crafted these courses with a blend of high quality interactive videos, lectures, quizzes & real world projects to give you an indepth knowledge about the topic.
  • Can i play & pause the course as per my convenience?

    Yes absolutely & thats one of the advantage of self-paced courses. You can anytime pause or resume the course & come back & forth from one lecture to another lecture, play the videos mulitple times & so on.
  • How do i contact the instructor for any doubts or questions?

    Most of these courses have general questions & answers already covered within the course lectures. However, if you need any further help from the instructor, you can use the inbuilt Chat with Instructor option to send a message to an instructor & they will reply you within 24 hours. You can ask as many questions as you want.
  • Do i need a pc to access the course or can i do it on mobile & tablet as well?

    Brilliant question? Isn't it? You can access the courses on any device like PC, Mobile, Tablet & even on a smart tv. For mobile & a tablet you can download the Learnfly android or an iOS app. If mobile app is not available in your country, you can access the course directly by visting our website, its fully mobile friendly.
  • Do i get any certificate for the courses?

    Yes. Once you complete any course on our platform along with provided assessments by the instructor, you will be eligble to get certificate of course completion.
    Learnfly LMS Sample
  • For how long can i access my course on the platform?

    You require an active subscription to access courses on our platform. If your subscription is active, you can access any course on our platform with no restrictions.
  • Is there any free trial?

    Currently, we do not offer any free trial.
  • Can i cancel anytime?

    Yes, you can cancel your subscription at any time. Your subscription will auto-renew until you cancel, but why would you want to?
User Images | Learnfly

58396 Course Views

1 Courses

Hi, I’m Jed. I’ve helped thousands of people learn how to develop their own games and I’m excited to teach you what I know. I’ve been a professional web and game developer for over 10 years. In that time I’ve produced many mini-games in the form of playable ads for products like Candy Crush, Idle Minder Tycoon, Hearthstone and Final Fantasy XV to name a few. I also co-founded a small indie games development studio with releases on the iOS App Store. I have a bachelor’s degree in computer science but my skills in game development are mostly self taught and I believe anyone is capable of learning how to build games. My step-by-step, project-based approach to teaching is easy to follow and will have you building games that you can be proud of in no time. I can’t wait to see what you can come up with! Jed.
View More...
  • Unmatched Variety and Value!
    Learnfly's monthly subscription offers unlimited access to a vast range of courses. Affordable pricing, compared to competitors, makes it the ultimate choice for continuous learning.
    Jessica M.

    4.7

    JM
  • Top-Notch Quality, Affordable Rates!
    High-quality courses with certified instructors make Learnfly stand out. The affordable pricing is a game-changer for those seeking premium education.
    Alex P.

    4.5

    AP
  • Certified Excellence Every Time!
    Learnfly's courses, taught by certified instructors, ensure top-notch learning experiences. The course completion certificates add significant value to one's skill set.
    Sarah R.

    4.3

    SR
  • Round-the-Clock Support!
    Learnfly goes the extra mile with 24/7 course support. Their dedication to helping students succeed is commendable.
    Ryan K.

    4.1

    RK
  • Learn Anywhere, Anytime!
    Whether on mobile, PC, or tablet, Learnfly's platform offers flexibility. Learning on the go has never been easier.
    Emily S.

    4.7

    ES
  • Job-Ready Skills!
    Learnfly's job-oriented courses equip learners with practical skills for the workplace. An investment in career growth!
    Jake M.

    4.2

    JM
  • Budget-Friendly Brilliance!
    Learnfly's pricing is a steal for the quality and variety of courses offered. Quality education without breaking the bank.
    Olivia T.

    4.5

    OT
  • Instructor Excellence Unleashed!
    Learn from the best with Learnfly's certified instructors. The platform ensures that knowledge is imparted by industry experts.
    Daniel L.

    4.0

    DL
  • Achievement Unlocked!
    Learnfly not only offers courses but also recognizes your efforts with course completion certificates. A sense of accomplishment with every course finished.
    Maya H.

    4.6

    MH
  • Learning Revolution!
    Learnfly's platform is a revolution in education. Access to unlimited courses at affordable rates is a game-changer.
    Ethan W.

    4.7

    EW
  • android-game-development-for-beginners

    Android Game Development for Beginn...

    By : Sandip Bhattacharya

    Lectures 19 Beginner 2:26:24
  • android-game-development-create-your-first-mobile-game

    Android Game Development - Create Y...

    By : Sandip Bhattacharya

    Lectures 19 Beginner 1:27:6
  • javascript-breakout-game-exercise

    JavaScript - Breakout Game Exercise

    By : Laurence Svekis

    Lectures 17 Beginner 1:36:13
  • make-video-game-in-unity3d

    Make video game in unity3D

    By : THE MMZ

    Lectures 6 Beginner 0:47:25
  • unity-2d-game-development-with-c-for-beginners-android-ios

    Unity 2D game development with C# f...

    By : Hamza Brinis

    Lectures 11 All Level 3:3:57
  • design-your-video-game-with-make-block-free-web-developing-system

    Design your video game with Make Bl...

    By : WebCast Channel

    Lectures 6 All Level 0:40:53

Students learning on Learnfly works with Fortune 500 companies around the globe.

  • Learnfly | a-l-1a Icons
  • Learnfly | a-l-2a Icons
  • Learnfly | a-l-3a Icons
  • Learnfly | a-l-4a Icons
  • Learnfly | a-l-6a Icons
  • Learnfly | a-l-7a Icons
Sign Up & Start Learning
Learnfly | Sign Up Icons
Learnfly | Sign Up Icons
Learnfly | Sign Up Icons
By signing up, you agree to our Terms of Use and Privacy Policy
Reset Password
Enter your email address and we'll send you a link to reset your password.
Learnfly | Sign Up Icons