How to Make Your FIRST GAME with JavaScript | 50 SUBSCRIBER SPECIAL

Channel:
Subscribers:
714
Published on ● Video Link: https://www.youtube.com/watch?v=CRjeI2e6owc



Category:
Tutorial
Duration: 12:22
88 views
3


THANK YOU GUYS! I know I have not uploaded much content over the past few months (due to various reasons) but I'm blown away by the fact this channel is still gaining subscribers in my absence! I can't thank you enough.

Also, I am a man of my word. I said I will make a video when we hit 50 subs and it would be about a game (possibly) and so here it is! I felt a nice way to thank you guys for the support so far is to make a (proper) tutorial video on making a simple game using JavaScript code. I wish I had this sort of guidance back in the day so I'm hoping this might help some beginners out there who are aspiring to be amazing game developers. :)

Chapters:
0:00 - The Greatest Thank You Intro You Will See
0:40 - Setup, Draw, Declare Variables
1:15 - What are Variables?
2:20 - Canvas and Game Settings
3:45 - How to Align Text?
4:35 - Create a Background
5:00 - Display the Button
6:00 - Displaying Text
7:15 - Tracking the Score
8:00 - Mouse Interaction
9:40 - How do we Push the Button?
10:40 - Full Code Snapshot
11:00 - My Funny Version
11:20 - Optional Challenges
11:55 - The Best Outro You Will Maybe See

--- FIRST GAME TUTORIAL ---
Source Code ► https://editor.p5js.org/rushcode/sketches/v15AAIsRz
No Code ► https://editor.p5js.org/rushcode/full/v15AAIsRz

--- JAVASCRIPT LINKS ---
Variables ► https://www.youtube.com/watch?v=dRhXIIFp-ys
If statement ► https://www.youtube.com/watch?v=1Osb_iGDdjk
References ► https://developer.mozilla.org/en-US/docs/Web/JavaScript
Full Beginner Course ► youtube.com/watch?v=PkZNo7MFNFg

--- P5JS LINKS ---
P5.js Editor ► https://editor.p5js.org/
Color Table ► https://www.december.com/html/spec/colorsvg.html
References ► https://p5js.org/reference/
Coding Train Tutorials ► https://youtu.be/o9sgjuh-CBM

This 12-minute video took 2.5 hours to render. There are two red buttons to push. One exists in an alternate dimension known as P5. The other lives right here on this page! Go push it. I double-button dare you.




Other Videos By Rushcode


2022-09-29I Made A Game | Devlog 26 - Unreal Engine GameDev
2022-09-15How to Randomize Start Game Conditions | Devlog 25 - Unreal Engine GameDev
2022-09-01How I Made a Timer Blueprint & Removed Duplicates | Devlog 24 - Unreal Engine GameDev
2022-08-18How to Procedurally Generate Materials in UE4 | 100 SUBSCRIBER SPECIAL
2022-08-04How to Track the Score of Spawned Chairs | Devlog 23 - Unreal Engine GameDev
2022-07-21How to Set up Levels, Pause, Restart, Quit The Game | Devlog 22 - Unreal Engine GameDev
2022-07-07Making A Start Menu Through Widget Blueprints | Devlog #21 - Unreal Engine GameDev
2022-06-23Input Commands and Random Colors | Devlog #20 - Unreal Engine GameDev
2022-06-09How to Place Items in Fixed Positions | Devlog #19 - Unreal Engine GameDev
2022-05-26Back in the Classroom - Starting All Over Again | Devlog #18 - Unreal Engine GameDev
2021-11-26How to Make Your FIRST GAME with JavaScript | 50 SUBSCRIBER SPECIAL
2021-07-09How to Make a Randomly (or Procedurally?) Generated HOUSE | Devlog #17 - GameDev
2021-06-24Learning How to Plant and Destroy Flowers in Unreal Engine | Devlog #16 - GameDev
2021-06-17Making Randomized Minecraft Pixel Art for UE4 Textures | Coding in JavaScript
2021-06-04Completing my First 3D Platformer Game in UE4 | Devlog #15 - GameDev
2021-05-28Making my First 3D Platformer Game in UE4 | Devlog #14 - GameDev
2021-05-21Coding your own Spiral Orbital Animations in JavaScript | 25 SUBSCRIBER SPECIAL
2021-05-14Turning on Random Elevators with Dynamic References in UE4 | Devlog #13 - GameDev
2021-05-06SECRETS AND HIDDEN DOORS - Puzzle Game in UE4 | Devlog #12 - GameDev
2021-04-06Puzzle Game Update - Whiteboxing & Lighting in UE4 | Devlog #11 - Game Development
2021-03-25Building My First Puzzle Game in Unreal Engine 4 | Devlog #10 - Game Development



Tags:
Javascript
P5.js
subscriber special
coding tutorial
game development
indie gaming
beginner coding
intermediate coding
interactive controls
how to
simple game
first time