Make A Classic Snake Game using Javascript & P5.js Framework
4.5 (3 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
15 students enrolled

Make A Classic Snake Game using Javascript & P5.js Framework

Learn Coding By Making Classic Games
4.5 (3 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
15 students enrolled
Created by Saran Siri
Last updated 8/2019
English
English
Current price: $13.99 Original price: $19.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 33 mins on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Build 2D game with Javascript and P5js framework
Course content
Expand all 8 lectures 32:39
+ Main
7 lectures 26:32
Add Tail
03:10
Add Apple
03:09
Check Collision
02:56
Add Score System
03:11
Share It
00:53
Requirements
  • Basic knowledge of Javascript or coding in general
Description

Hello, my name is Saran, and thank you to click on this course. This course will help you get started on coding by making a classic game - Snake. We will be using javascript at the beginning level, along with the graphic framework p5.js. There is also a free online editor running on the browser, that you can learn from any device.

In the first part, we will take a look at

  • the basic functions from p5.js

  • how the coordinate system works

  • and how to draw and animate simple objects.

Then, we will be working on

  • moving our snake on the grid system

  • controlling its behavior

  • adding its tale

  • adding an apple

  • and then setting up the score system.

You can follow me for more game tutorials, now let’s open the next lesson and get started.

Who this course is for:
  • Anyone who wants to learn coding