JSLegendDev
JSLegendDev
  • 26
  • 133 248
Build 2 Gamified Portfolio Websites with JavaScript and React
Support me on Patreon : patreon.com/c/jslegend
How to deploy on GitHub pages using Vite : jslegenddev.substack.com/p/how-to-deploy-a-vite-js-game-project
1) Relevant links for the first portfolio website:
- Substack post explaining how to implement mobile controls : jslegenddev.substack.com/p/how-to-implement-player-controls
- Live demo : jslegenddev.github.io/portfolio/
- Source code : github.com/JSLegendDev/2d-portfolio-kaboom
- Map files (map.json + map.png) be found here : github.com/JSLegendDev/2d-portfolio-kaboom/tree/master/public
- Spritesheet can be downloaded here : github.com/JSLegendDev/2d-portfolio-kaboom/blob/master/public/spritesheet.png (I use a modified version of the original spritesheet available at momen-games.itch.io/happy-la-v2-ts)
- Font can be downloaded here : datagoblin.itch.io/monogram
- Tiled software can be downloaded here : mapeditor.org
2) Relevant links for the second portfolio website :
- Live demo : jslegenddev.github.io/new-2d-portfolio/
- Source code on GitHub : github.com/JSLegendDev/new-2d-portfolio
Assets are included in the repo.
- The book of shaders : thebookofshaders.com/
~ Credits ~
Player character asset is a slightly modified version of the asset hosted here : gibbongl.itch.io/8-directional-gameboy-character-template
~ CHAPTERS ~
0:00 Intro
1:41 Intro for the first portfolio website
5:03 Setup
18:08 Loading Assets
21:04 How to use Tiled to draw maps
37:51 Writing logic to display map
46:30 Creating the player
53:41 Writing logic to display boundaries
59:35 Writing logic to display dialogue
1:17:56 Spawning the player + player movement logic
1:28:01 Writing logic for scaling the camera + animations + dialogue text
1:39:09 Intro for the second portfolio website + Setup
1:53:14 Finishing setup
2:07:28 Loading sprites
2:12:56 Making the tiled pattern shader
2:39:36 Creating our player
2:47:45 Implementing camera zoom, player animations and controls
3:15:10 State management setup with Jotai
3:27:48 Building the zoom UI
3:43:03 Building the social modal component
3:54:49 Building the email modal and project modal components
4:03:31 Building the section game object component
4:20:51 Resolving the duplicate font loading issue
4:22:36 Building icons game object components
4:42:32 Building the about section
4:57:59 Implementing logic for controlling opacity of components
5:03:30 Fixing opacity issue
5:11:23 Implementing the skills section
5:18:06 Implementing the experience section
5:26:32 Implementing the project section and finishing the portfolio
Переглядів: 1 282

Відео

Build an Animation System with JavaScript and HTML Canvas
Переглядів 81814 днів тому
Get the spritesheets here : imgur.com/a/fire-emblem-gba-spritesheet-U4MHwpj Support me on Patreon : www.patreon.com/c/jslegend You can access the final source code for this tutorial if you support me on Patreon or alternatively buy the source code here : www.patreon.com/jslegend/shop/final-source-code-for-how-to-implement-751191
How to Implement Infinite Parallax Scrolling in JavaScript and HTML Canvas
Переглядів 1,5 тис.21 день тому
In this tutorial, I'll teach you how implement an infinite parallax scrolling background using JavaScript and the HTML Canvas API (so no external libraries, only vanilla JS). You can buy access to final source code here : www.patreon.com/jslegend/shop/parallax-scrolling-in-javascript-and-729982 Check out my written tutorials : jslegenddev.substack.com Live demo : jslegend.itch.io/infinite-paral...
The Ultimate Guide to Web Game Development
Переглядів 2,1 тис.Місяць тому
Check out my written tutorials : jslegenddev.substack.com ~ Resources ~ - Learn to Build Minecraft in Three.js : ua-cam.com/video/tsOTCn0nROI/v-deo.html&pp=iAQB - Babylon.js Tutorial For Absolute Beginners : ua-cam.com/video/e6EkrLr8g_o/v-deo.html - Scott Westover's channel (for Phaser tutorials) : @swestover - Drew Conley's channel (for Excalibur.js) : @DrewConley - Shezzor's dev corner channe...
Why I Use This Game Library
Переглядів 1,8 тис.Місяць тому
I explain what makes this library so special for gamedev. Link to the KAPLAY game jam : itch.io/jam/kajam Link to the KAPLAY website : kaplayjs.com Link to the KAPLAY discord : discord.com/invite/aQ6RuQm3TF Link to the Clickery Hexagon : www.newgrounds.com/portal/view/946392
Build a Dev Portfolio as a 2D Game With React.js + JavaScript
Переглядів 2 тис.Місяць тому
Check out the Colyseus Framework : colyseus.io/ Check out this template for using Colyseus with KAPLAY : github.com/colyseus/kaplay Check out my written tutorials : jslegenddev.substack.com/ Live demo : jslegenddev.github.io/new-2d-portfolio/ Source code on GitHub : github.com/JSLegendDev/new-2d-portfolio Assets are included in the repo. ~ Additional resources ~ The book of shaders : thebookofs...
Why Use React for Game Development ?
Переглядів 4,4 тис.Місяць тому
In this video we explore why and how to use the React.js Frontend library for game development.
How to Use React.js for Game Development - Tutorial
Переглядів 2,8 тис.2 місяці тому
Live demo : jslegenddev.github.io/react-kaplay/ Live demo controls : - Arrow keys to move around. - Use the space key to close the text box once it appears. Source code : github.com/JSLegendDev/react-kaplay Get the assets fonts here : github.com/JSLegendDev/react-kaplay/tree/master/public RESOURCES : - How to Display an HTML Based UI on Top of a JavaScript Game Made With Kaplay : jslegenddev.su...
Ultimate JavaScript Game Development Course for Beginners
Переглядів 20 тис.3 місяці тому
Check out my substack for written tutorials : jslegenddev.substack.com/ 1) JavaScript Crash Course - VSCode : code.visualstudio.com/ - Node.js : nodejs.org - Kaplay.js : kaplayjs.com - The Modern JS Tutorial : javascript.info - MDN Web docs for JS : developer.mozilla.org/en-US/docs/Web/JavaScript 2) Build a Sonic Infinite Runner Game - Live demo : jslegend.itch.io/sonic-ring-run - Source code :...
Make a Sonic Runner Game in JavaScript - JS course for Beginners
Переглядів 2,5 тис.3 місяці тому
Live demo : jslegend.itch.io/sonic-ring-run Source code : github.com/JSLegendDev/sonic-runner Link to article explaining how to implement parallax scrolling : jslegenddev.substack.com/p/how-to-implement-infinite-parallax Assets link : github.com/JSLegendDev/sonic-runner/tree/master/public Chapters: 0:00 Intro 3:47 Project Setup 21:22 Loading Assets 30:50 Making The Main Menu Scene 54:32 Creatin...
Learn JavaScript to Make Games - JS Crash Course for Beginners
Переглядів 3,8 тис.4 місяці тому
In this crash course you'll learn how to code in JavaScript so that you can start making games with it. Check out my written tutorials : jslegenddev.substack.com Relevant links VSCode : code.visualstudio.com/ Node.js : nodejs.org Kaplay.js : kaplayjs.com The Modern JS Tutorial : javascript.info MDN Web docs for JS : developer.mozilla.org/en-US/docs/Web/JavaScript Chapters 0:00 Intro 0:32 Why le...
Learn JavaScript Game Dev - Kaplay Library Crash Course
Переглядів 3,6 тис.5 місяців тому
Important links : - Kaplay docs : kaplayjs.com - Kaplay installation guide : kaplayjs.com/guides/install - Kaplayground : play.kaplayjs.com/ - Kaplay Discord server : discord.com/invite/kaboom-883781994583056384 - My substack for written tutorials : jslegenddev.substack.com Chapters 0:00 Intro - What is Kaplay 1:26 How to install Kaplay 5:38 How to deploy/publish a game made with Kaplay 7:42 Ho...
Build a Desktop Game in JavaScript with Tauri and KAPLAY
Переглядів 2,5 тис.6 місяців тому
In this tutorial, you'll learn how to make a game in JavaScript with the KAPLAY library and how to use Tauri to make it installable on PC. Check my written tutorials : jslegenddev.substack.com/ Try the game : jslegend.itch.io/kriby Source code for the game : github.com/JSLegendDev/Desktop-JS-Game-Tauri The Tauri prerequisites can be found here : tauri.app/v1/guides/getting-started/prerequisites...
Kaboom.js is Getting Rebranded to Kaplay
Переглядів 2,1 тис.6 місяців тому
JOIN THE KAPLAY DISCORD HERE : discord.com/invite/kaboom-883781994583056384 New repo : github.com/marklovers/kaplay New npm package : www.npmjs.com/package/kaplay New docs (still in progress, use the kaboom docs in the meantime) : kaplayjs.com/
JavaScript Metroidvania Game Tutorial
Переглядів 4,3 тис.7 місяців тому
Learn to make a metroidvania style game using JavaScript and the Kaboom (Now called Kaplay) library. - Guide on how to use Tiled Kaboom.js : jslegenddev.substack.com/p/how-to-use-tiled-with-kaboomjs - Guide on how custom events work in Kaboom.js : jslegenddev.substack.com/p/custom-events-in-kaboomjs - Guide on how to implement one way platforms : jslegenddev.substack.com/p/how-to-implement-one-...
Build a Dev Portfolio as a 2D Game - JavaScript Tutorial
Переглядів 4,5 тис.9 місяців тому
Build a Dev Portfolio as a 2D Game - JavaScript Tutorial
TypeScript Kirby-like Platformer Tutorial
Переглядів 2,6 тис.10 місяців тому
TypeScript Kirby-like Platformer Tutorial
Build a Pokémon Game in JavaScript - Game Development Course for Beginners
Переглядів 7 тис.11 місяців тому
Build a Pokémon Game in JavaScript - Game Development Course for Beginners
Create a Legend of Zelda Style Game With JavaScript
Переглядів 8 тис.Рік тому
Create a Legend of Zelda Style Game With JavaScript
Learn TypeScript by Making a Fighting Game - TypeScript for Beginners
Переглядів 2,4 тис.Рік тому
Learn TypeScript by Making a Fighting Game - TypeScript for Beginners
Can you make good games in JavaScript?
Переглядів 2,8 тис.Рік тому
Can you make good games in JavaScript?
JavaScript Platformer Game Tutorial
Переглядів 19 тис.Рік тому
JavaScript Platformer Game Tutorial
Vertical Platformer JavaScript Game Tutorial
Переглядів 4,4 тис.Рік тому
Vertical Platformer JavaScript Game Tutorial
Pokémon JavaScript Game Tutorial
Переглядів 17 тис.Рік тому
Pokémon JavaScript Game Tutorial
JavaScript Fighting Game Tutorial
Переглядів 10 тис.Рік тому
JavaScript Fighting Game Tutorial

КОМЕНТАРІ

  • @jotaroisdarius1918
    @jotaroisdarius1918 День тому

    How can I have a full screen background?

    • @JSLegendDev
      @JSLegendDev День тому

      Simply not using the letterbox option would make sure the canvas takes the full width and height of the screen. Then, you can create a game object and make it take the full width and height of the canvas. This game object can contain a colored rectangle or an image and will act as your background. You can use the k.onResize() handler to update the width and height of the game object when the window is resized.

  • @LukeBrady
    @LukeBrady 3 дні тому

    I love the no library approach. Seeing each piece of code and how it works.

  • @erracode
    @erracode 9 днів тому

    Am just so thankful of finding your channel, am on vacations from work but ive been so boring of coding, i thinked of redoing my portofolio with this idea, i just used godot in the past but i always wanted to do some web game related, so anyways, thank so much

  • @jwisungiepark
    @jwisungiepark 10 днів тому

    when i got to this point 1:43:48 my screen was still just blue and i checked everything too, could it be because my map is big or that has nothing to do with it?

    • @JSLegendDev
      @JSLegendDev 10 днів тому

      Hard to tell without seeing your code. It could be possible that the issue is that the positioning is wrong for your map (I'm assuming that you decided to use your own map). You could try downloading the source code and comparing with yours. The link is in the description.

    • @jwisungiepark
      @jwisungiepark 10 днів тому

      @@JSLegendDev in chrome it says the error is about drawtiles not being defined but i followed your steps so i hope i fix whatever's going on with the drawtiles

  • @Nikhil-gm8ks
    @Nikhil-gm8ks 11 днів тому

    Would be really interesting, if you could consider a long project, where we can build base logic for a Pixel Game, almost like our own game engine built on top of existing tools/platforms that are there. So suppose someone want to make a game like Stardew valley, then we will have our base game logic/engine already in place, we just extend from there..... If some one want to make like Pokémon or Zelda alike, then they can again use that..... It could be similar in logic like this video, but more expandable, more features....... I understand this can be a long projects, so you can launch videos in this playlist over time..... Thanks

    • @JSLegendDev
      @JSLegendDev 11 днів тому

      Thanks for the suggestion, I will consider it.

  • @Nikhil-gm8ks
    @Nikhil-gm8ks 12 днів тому

    Amazing tutorial

  • @hachetrescomacatorce2340
    @hachetrescomacatorce2340 12 днів тому

    aaaamazzzzziinng

  • @worldbest3097
    @worldbest3097 12 днів тому

    damn greattt

  • @СергейВишнев-т1ю
    @СергейВишнев-т1ю 13 днів тому

    That was ivery nteresting! Keep going king😎

  • @ClubMedia
    @ClubMedia 15 днів тому

    so cool

  • @lukaszkups
    @lukaszkups 15 днів тому

    Yes! I was looking forward for a clear tutorial for this topic, thank you for sharing this!

  • @ClubMedia
    @ClubMedia 15 днів тому

    هذا رائعٌ حقاً :)

  • @worldbest3097
    @worldbest3097 15 днів тому

    wow sprite design is awesome with horse. make some game with this charater might be crazyy

    • @JSLegendDev
      @JSLegendDev 15 днів тому

      @@worldbest3097 This sprite is from the fire emblem gameboy advanced game.

    • @worldbest3097
      @worldbest3097 15 днів тому

      @@JSLegendDev gonna make game?!

    • @JSLegendDev
      @JSLegendDev 15 днів тому

      @@worldbest3097 maybe? Will see.

    • @worldbest3097
      @worldbest3097 15 днів тому

      @ plz go with vanilla javascript

  • @MZMS1510
    @MZMS1510 16 днів тому

    2:00 you can do the boilerplate with just "!" :) Great video btw

  • @houssemhayed
    @houssemhayed 17 днів тому

    Beginner Question, but how do we deploy this on a Cpanel?

  • @Jhairuz502
    @Jhairuz502 19 днів тому

    How can I change the background of the intro and outro scene to an image not a solid color?

    • @JSLegendDev
      @JSLegendDev 19 днів тому

      You can use a sprite component instead of a rect component.