Let's build an RPG with JavaScript - Part 1: Project Beginnings

  Рет қаралды 136,857

Drew Conley

Drew Conley

2 жыл бұрын

Let's embark on a journey to create a full RPG with just HTML, CSS, and JavaScript.
In this series, we're going to create a game similar to Pokemon Red/Blue or early Final Fantasy, but about pizza chefs.
There are tons of ways to approach a project like this... this is only one of them! Feel free to take the concepts covered in this series and build on top of them, change them, make them your own for your own game.
New episodes uploaded every 3 - 4 days until the project is complete!
** Links **
Download the code (and images) for this episode from Google Drive here:
drive.google.com/file/d/1n4Oe...
(Click the Download button)
More about Pizza Legends:
coopmode.dev/series/pizza-leg...
💬 Discord
Need help, have a question, or want to share your game dev project?
Join our Discord. Here's the link: / discord
---------------------------------
More tutorial series:
⭐️ Full Bundle of all my gamedev Series:
drewconley.gumroad.com/l/full...
Ciabatta's Revenge - Action puzzle game in React JS!
drewconley.gumroad.com/l/ciab...
Action Multiplayer - GBC-style Zelda game, but with multiplayer!
drewconley.gumroad.com/l/acti...
Pizza Legends in Godot - RPG Overworld in Godot v4!
drewconley.gumroad.com/l/pizz...
Canvas RPG Kit - everything you need to build a quick RPG game engine:
drewconley.gumroad.com/l/canv...
Front End Interviewing Bootcamp:
www.coopmode.dev/series/front...
---------------------------------
✉️ Join my Email List!
Get updated when new videos are ready.
You'll get a free RPG Sprite Pack in your inbox, too:
us13.list-manage.com/subscrib...
---------------------------------
Twitter / X:
/ drewconley13
Be my friend on LinkedIn:
/ drew-conley-a7865a29

Пікірлер: 221
@DrewConley
@DrewConley 2 жыл бұрын
New episodes published every few days as we build this thing!
@trongph.animation
@trongph.animation 2 жыл бұрын
I'm waiting every single day pal !
@ensignwilliampittsjr5216
@ensignwilliampittsjr5216 Жыл бұрын
what engine are you using for this?
@LUGAYTOP
@LUGAYTOP Жыл бұрын
@@ensignwilliampittsjr5216 vs code
@ezoterikcodex
@ezoterikcodex 9 сағат бұрын
Finally I found a video that the guy just don't throw up the codes to my face. You are simply explaining are you doing. I just being to watch and thx for this content
@erievhs
@erievhs 2 жыл бұрын
This is exactly what i was looking for, everytime i look up how to make an Rpg i get pseudo advice articles like "you have to work really hard" or "start making a cardboard game" thank you for showing how to literally make a game
@DrewConley
@DrewConley 2 жыл бұрын
Lol, hopefully this will help out a little more than the bits of advice you mentioned. That said, it definitely calls for you to step in and make it your own 🤘
@RandalfElVikingo
@RandalfElVikingo Жыл бұрын
Well, I bet you need those advices because I dare you to make an RPG game. I will be the first to play it.
@RandalfElVikingo
@RandalfElVikingo Жыл бұрын
@@erievhs Yeah! That's what I like.
@KaletheQuick
@KaletheQuick Жыл бұрын
I'll play your game :) I came here for the same reason as you :)
@angelap.8160
@angelap.8160 2 жыл бұрын
So excited for this series! the scaling with css and pixelated blew my mind! awesome channel!😁
@pakuman5358
@pakuman5358 2 жыл бұрын
Dude I am so glad you are doing this. Danger Crew inspired me to use my react skills to start working on my own turn based RPG. So excited to watch this whole series! You are an inspiration :)
@sgtJA
@sgtJA 2 жыл бұрын
Such an underrated channel. Really excited to see you posting rpg game dev stuff again. The Danger Crew vids were the best. I really hope you get lots of new subs!
@maseyeet313
@maseyeet313 2 жыл бұрын
I started making a game with an entire team just because of your videos and now you are making an entire series of making one, keep it up!
@uh_vinia
@uh_vinia 2 жыл бұрын
Wow this honestly is really interesting, detailed, and just really helpful and fun!! Thank you for this!
@fingersnap
@fingersnap Жыл бұрын
Just started and finished this part one of this tutorial today. You explained everything great. I'm excited to continue this project!
@gregoryedwards9097
@gregoryedwards9097 2 жыл бұрын
Bro, I'm just getting started with coding, started about two weeks ago, and coming across this is a Godsend. Thank you Drew! Earned a new sub!
@emmettcrass3133
@emmettcrass3133 Жыл бұрын
I've been struggling with building games in JS for months but you explained it in a way that is finally making sense. Thanks a bunch for sharing these tutorials!
@haydengalyean3704
@haydengalyean3704 8 ай бұрын
Ive been struggling with js for so long and this one video opened my eyes to everything Ive been missing, The way you explain things as you're doing it is what makes you a great teacher! thank you for broadening my horizon and giving me motivation and inspiration!
@stevecastaneda
@stevecastaneda 2 жыл бұрын
Subbed! Going to watch your series, please don't stop making them!
@YMRGUITAR
@YMRGUITAR 2 жыл бұрын
I was pretty hyped up when I saw this notification pop up, I’ve left it for a while so I’ve got a little backlog to work through. Thanks for this Drew, I’m excited to start coding along!
@miho9453
@miho9453 6 ай бұрын
Absolutely loved this. So clear and engaging. Thank you!
@glaydsonp
@glaydsonp 2 жыл бұрын
God dammit man, that's some GREAT content! I'm a webdev interested on learning how to build games and I wasn't sure I wanted to learn right now how to use Unity or something else. I'm loving to see that it's not only posible to create a game with JS but it's a good way to get started.
@EmiliaKaida
@EmiliaKaida 2 жыл бұрын
I love these tutorial series about RPG games! Please keep them coming.
@kyleareich
@kyleareich Жыл бұрын
Dude I just stumbled upon your videos and your channel. Great tutorials man. Really well done.
@danyelofair
@danyelofair Жыл бұрын
This is exactly what I was looking for. Thanks a lot for the efforts you put on this, really appreciate it!
@JNYTwastaken
@JNYTwastaken Жыл бұрын
Whre can i find the images
@eboatwright_
@eboatwright_ 2 жыл бұрын
This is super cool! I loved the demo for Danger Crew, so it's gonna be really exciting to see this one! :D
@rickruizdana
@rickruizdana 10 ай бұрын
Thank you Drew!!! This is my first on javascript ever, and it all worked perfectly! I was somehow lost when you started using Visual Studio Code, as I thought it was the same as the Visual Studio used with Unity, but made the switch right away. Anyway, I just wanted to make this comment to remind me (and encourage me) that I was able to finish part one. I know that for now I'm just copying your code, and that my results are because of your great work explaining us, but is a start. Lets dig into the javascript world! Thanks again, glad I found your channel!
@ZeroZiltch
@ZeroZiltch Жыл бұрын
I was looking for something like this, appreciated Drew o/ This will help me tons in getting started o/
@madamecocotte4688
@madamecocotte4688 2 жыл бұрын
Exactly what I needed !!! I'm so excited !!!
@nickhatboecker
@nickhatboecker 2 жыл бұрын
I'm very excited for this series, because I'm also currently developing a top down adventure in JS with Phaser3 Framework. I hope I can learn some things from this
@callmejobson
@callmejobson 2 жыл бұрын
12/27/21 Part one finished! Thank you Drew!! I and trying to slowly get back into game programming I hope to try and finish one part each day!!
@BGNewsReporter
@BGNewsReporter 2 жыл бұрын
Just found this channel. Really excited to try the project!
@TheNZKorean
@TheNZKorean 2 жыл бұрын
Great channel! Deserves way more attention.
@lethiakx
@lethiakx 2 жыл бұрын
Thanks for actually explaining the why's behind everything!
@jakechen4020
@jakechen4020 2 жыл бұрын
Thank you for these tutorials, help me a lot!
@pavelerokhin1512
@pavelerokhin1512 2 жыл бұрын
continue this series man! I like it a lot!
@DelPieroJoga10
@DelPieroJoga10 Жыл бұрын
as a front-end developer, I love so much this channel, mainly this playlist
@user-qf7xx7qn2x
@user-qf7xx7qn2x 2 жыл бұрын
Thank you for this wonderful video! Love it!!!!!
@khoanguyen3044
@khoanguyen3044 2 жыл бұрын
the other day i was thinking of playing overcooked on browser and found that there isn't anything like that at the moment so i thought i should learn to create it thank you for making this series
@industrialhomestead4028
@industrialhomestead4028 2 жыл бұрын
i'm loving this series!
@spifet
@spifet 2 жыл бұрын
Great video! This was exactly what I was looking for! I will definitely go through this tutorial to learn the basics about this original way of game dev, and I hope to get the time eventually and add more functionality and content to share in the Discord community for this game. I will definitely follow your tutorial until the end. BTW, the media queries to make it completely responsive is: .game-container{ position: relative; width: 352px; height: 198px; margin: 0 auto; outline: 1px solid white; transform: scale(3) translateY(50%); } /* Resizing for all screens up until 1278px */ @media (max-width: 1072px){ .game-container{ transform: scale(2.75) translateY(50%); } } @media (max-width: 978px){ .game-container{ transform: scale(2.5) translateY(50%); } } @media (max-width: 891px){ .game-container{ transform: scale(2.25) translateY(50%); } } @media (max-width: 802px){ .game-container{ transform: scale(2) translateY(50%); } } @media (max-width: 714px){ .game-container{ transform: scale(1.75) translateY(50%); } } @media (max-width: 626px){ .game-container{ transform: scale(1.5) translateY(50%); } } @media (max-width: 537px){ .game-container{ transform: scale(1.25) translateY(50%); } } @media (max-width: 447px){ .game-container{ transform: scale(1) translateY(50%); } } @media (max-width: 360px){ .game-container{ transform: scale(0.75) translateY(50%); } }
@dev_el1277
@dev_el1277 2 жыл бұрын
Great series, learning lots from part 1!
@jaycutter5372
@jaycutter5372 2 жыл бұрын
So, i ran in to a problem, that my hero sprite got placed behind the map. For everyone who has the same problem, here is how I solved it. My map had 200KB while my hero sprite had around 4KB, which caused the map to load longer and place it after my hero sprite. Tried to work around this with z Index settings, didn't work either. I rendered the map down to about 30KB and it worked how intended. Great tutorial btw, keep it up!
@MRVDOG
@MRVDOG 2 жыл бұрын
I know this was a month ago, but when scaling your canvas, you could use transform-origin instead of translating 50% on the Y :) or you can use display flex on the body with align and justify to center the canvas :)
@CASMANWHAT
@CASMANWHAT 2 жыл бұрын
Loving this series!
@c.rberyl3759
@c.rberyl3759 2 жыл бұрын
Exactly what I was looking for, thanks!
@fleanardnimoy6555
@fleanardnimoy6555 Жыл бұрын
Feeling pretty dumb never thought to use the image editor to get the scaling... always spent 100 hrs trying to figure out the mathematicals... this is a great tutorial by the way. You got my Sub!
@sanjeevmaharjan9795
@sanjeevmaharjan9795 2 жыл бұрын
very excited for this series !!
@seanpaul93
@seanpaul93 2 жыл бұрын
thanks for this, explain everything in detail which is great
@noname-mw7oy
@noname-mw7oy 2 жыл бұрын
You explain things soooooo well ty! 😁
@ahmedez5113
@ahmedez5113 2 жыл бұрын
I'm very excited for this series
@kalx6588
@kalx6588 2 жыл бұрын
thank you drew!!! loving it.
@milacherry6738
@milacherry6738 2 жыл бұрын
Your Content is The best I Ever came across
@solidboko
@solidboko 2 жыл бұрын
This is so brilliant, thanks a lot !!!
@namaefumei
@namaefumei Жыл бұрын
This is gold please make more!
@zacharyshifrel9107
@zacharyshifrel9107 Жыл бұрын
Awesome video! I'm watching and converting the vanilla js/html to React code
@ReuelTeodoro
@ReuelTeodoro 2 жыл бұрын
This is awesome can’t wait for more
@SarthakGamer
@SarthakGamer 2 жыл бұрын
Just discovered this channel. I have to say this project playlist is amazing. Keep it up 👊
@liuchuanyuan4301
@liuchuanyuan4301 2 жыл бұрын
Timestamps: 1:12 setup 5:39 css intro 8:11 javascript intro 14:30 render image to canvas 16:26 scale canvas 21:49 render image to canvas (advance) Note: * VScode have live server extension if you don't have python version 2 as shown in the setup
@geminii.german
@geminii.german Жыл бұрын
thanks a lot for that.... i started learning and this is gold ❤
@sneddengonsalves9320
@sneddengonsalves9320 2 жыл бұрын
this is great, this should have more views
@treifeske2077
@treifeske2077 6 ай бұрын
Awesome project!
@highernowama5765
@highernowama5765 2 жыл бұрын
thank you for golden content!
@lebrongoated23
@lebrongoated23 2 жыл бұрын
Where we you all my life. I am excited to creating a game using html, also thanks for answering my questions In the video.
@CV-ec6mk
@CV-ec6mk 2 жыл бұрын
Glad i found this just what I was looking for
@SaptadeepDutta_Ex-Xerox
@SaptadeepDutta_Ex-Xerox 11 ай бұрын
Amazing how you explain at 15:30 and at 18:32. Thank you. BTW: I didn't know Michael Ross of Suits was such a rad JS dev🤣.
@xxe0nxx1
@xxe0nxx1 2 жыл бұрын
I'm only 7 mins in but God Bless you man this is awesome
@thayscasado255
@thayscasado255 2 жыл бұрын
Wowwww, I can't wait for the next one.
@donbroughton149
@donbroughton149 2 жыл бұрын
I'm excited to see how this series develops - Do you have plans to package inside of Electron at the end ?
@DrewConley
@DrewConley 2 жыл бұрын
I am considering it! There may be a bonus section at the end that covers basics of electron
@raiden-va
@raiden-va Жыл бұрын
Thanks for great lesson
@arjuno7058
@arjuno7058 3 ай бұрын
glad I found this channel
@NicoM137
@NicoM137 2 жыл бұрын
Such an awesome tutorial! As someone aspiring to dabble in developing small games this is truly inspiring and makes the whole process feel in reach. I have to say there’s probably ~25% of this that was still over my head - any recommendations for additional resources to brush up on the basics?
@azrulnautx
@azrulnautx 2 жыл бұрын
I would recommend freecodecamp. Their focus is on html css and js so it's great for front end stuff like these!
@nomoremuda
@nomoremuda 2 жыл бұрын
I made it!!!! i love pizza :) can't wait to see where this goes!😁
@haycoal8773
@haycoal8773 2 жыл бұрын
Hi! I am so happy you uploaded these videos because I got the idea to make a game for my girlfriend for her birthday so I am following along with this :) I do just have one question though, for your backgrounds, did you get them from anywhere specific or did you have someone draw them? Just because I found assets, but they are tilesets so I am just a tad confused on that part. I look forward to your answer, thank you!!
@MohamedAhmed-bo2vb
@MohamedAhmed-bo2vb 3 ай бұрын
A legend ❤
@dracula5752
@dracula5752 2 жыл бұрын
thanks it looks amazing!
@mitejmadan8672
@mitejmadan8672 2 жыл бұрын
Please don't stop this series. Please. I love RPG games. I am a big fan of pokemon games.
@StaniasznikoV
@StaniasznikoV Жыл бұрын
very good job!
@Ali-lm7uw
@Ali-lm7uw 2 жыл бұрын
Nice project, very good to learn JS
@sunnylady
@sunnylady 7 ай бұрын
Thanks!! This was great!! I'm coding while my pinky is broken!!
@V_C_C
@V_C_C Жыл бұрын
This is the best tutorial!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! all the other tutorials were not as cool as this or they were all in one super long video ;)
@user-ql3pe4nm3i
@user-ql3pe4nm3i 2 жыл бұрын
This is sooooo great...
@suhritreddy6792
@suhritreddy6792 Жыл бұрын
Thank you man
@milacherry6738
@milacherry6738 2 жыл бұрын
8k? subs? Your completely underrated!
@aaronh920
@aaronh920 Жыл бұрын
This is so helpful. I'm learning a lot! Especially researching every step to make it work the same as yours. Such as hosting a simple http server. On my system, the command is: python3 -m http.server Who knew!?
@RaymondAtivie
@RaymondAtivie 2 жыл бұрын
Great video thank you
@mj2068
@mj2068 5 күн бұрын
whaaaaat? free upgrade for my frontend skill to make games? hallelujah, Drew, halle-freaking-lujah!
@mattmcnett2635
@mattmcnett2635 2 жыл бұрын
Your awesome Drew
@kirbbeans9583
@kirbbeans9583 2 жыл бұрын
idk if you know this, but there is a vscode extension called "Live Server," and it makes a server that will also update in real time when you save, its very good, 10/10 reccomend
@reyco1
@reyco1 2 жыл бұрын
**Check Notes** --- LMAO ... That made my day
@thefreeze6023
@thefreeze6023 2 жыл бұрын
Hey Drew, what do you think about using a state stack for this type of project?
@UnderArea51
@UnderArea51 2 жыл бұрын
Love Danger Crew!
@Rouzario
@Rouzario 9 ай бұрын
Thank you
@mev4le
@mev4le Жыл бұрын
Hiii! I was wondering how you got your pngs for your game and how you knew what to crop out/ what stuff needed to be seperate. and if you created them can you lmk what the application was 😊
@Magistrado1914
@Magistrado1914 4 ай бұрын
Excellent video. Viewed on 2024/08/01
@sinayeganeh9033
@sinayeganeh9033 2 жыл бұрын
Nice!
@sayonmasrif1459
@sayonmasrif1459 2 жыл бұрын
Amazing
@kristorres3551
@kristorres3551 10 ай бұрын
Great video series so far! I'm having a issue with the whole init process, specifically getting the expected results from 12:50. When changing the function to the overworld.init(); , I don't get the message proving connectivity. Any suggestions?
@DrewConley
@DrewConley 10 ай бұрын
Hmm, there must be a mismatch somewhere. Try comparing your code to the download code in this one. Often it’s a little forgotten or misspelled thing
@lukelehane8083
@lukelehane8083 2 жыл бұрын
Great stuff! Some of your earlier videos don't use HTML canvas and seem to favour more regular web dev elements. Would you recommend using canvas for this kind of thing?
@DrewConley
@DrewConley 2 жыл бұрын
It depends on the game, to be honest. I usually end up with a hybrid. I am really just trying to show a few different approaches 😀
@lukelehane8083
@lukelehane8083 2 жыл бұрын
@@DrewConley ah interesting! Looking forward to the rest of this series!
@emilylemonly
@emilylemonly Жыл бұрын
thank you
@Undercraftt
@Undercraftt 2 жыл бұрын
Look good haha im making a pokemon clone rpg i already end the movement and map draw with only matrix arrays and objects for each cell to get control of the map. I got amazing myselft because wow i can make whatever i want with this configuration.
@_D3adB0y_
@_D3adB0y_ 2 жыл бұрын
this is awesome and super useful for what I want to make. Thanks!
@nursegilbey
@nursegilbey Жыл бұрын
Is there an advantage to developing in Apple? The console thing surprised me, considering on Windows I would download some server app that uses Apache.
@swayampravodasgupta2956
@swayampravodasgupta2956 10 ай бұрын
As a first time game dev with some basic understanding of JS all I can say is these seem to be great tutorials - Flexible, neatly organized and understandable code structure Efficient yet succinct arguments and declarations The core concepts being used in each and every video in the playlist summarizes some complex workflows and frameworks in a unique way Here's the entire playlist in case there's some trouble finding it kzbin.info/aero/PLcjhmZ8oLT0r9dSiIK6RB_PuBWlG1KSq_
@andremp1927
@andremp1927 2 жыл бұрын
you are the best
@AdilsonVCasula
@AdilsonVCasula 2 жыл бұрын
That's right to what i've looking for. Btw, is there a way to go just to the fight scenes without overworld? (like we do in "magic")
@DrewConley
@DrewConley 2 жыл бұрын
I don’t know Magic very well specifically, but the 11th video in this series in the playlist jumps right to Battles without (as much as possible) the overworld dependency. Hope that helps!
@AdilsonVCasula
@AdilsonVCasula 2 жыл бұрын
@@DrewConley ty mate. Keep up the great work
Pizza RPG Part 2: Adding Game Objects #pizzalegends
22:04
Drew Conley
Рет қаралды 31 М.
Top 7 hacking Platforms in 2024
21:40
SoBatistaCyber
Рет қаралды 1
Super sport🤯
00:15
Lexa_Merin
Рет қаралды 14 МЛН
Trágico final :(
01:00
Juan De Dios Pantoja
Рет қаралды 29 МЛН
маленький брат прыгает в бассейн
00:15
GL Show Russian
Рет қаралды 4,5 МЛН
How to Code (almost) Any Feature
9:48
DaFluffyPotato
Рет қаралды 633 М.
How To Create a JavaScript TileMap For a 2D Game
23:27
Coding With Adam
Рет қаралды 15 М.
6 Months of Learning JavaScript Game Dev in 6 Minutes
6:35
Suboptimal Engineer
Рет қаралды 111 М.
Building a Game about being a Bad Referee! GMTK 2023
3:20
Drew Conley
Рет қаралды 10 М.
Turning an Optical Illusion Into a Playable Character
22:39
ByteBlox
Рет қаралды 140 М.
Who VOTES for Who the Most...
11:32
Drew Durnil
Рет қаралды 81 М.
The Impossible Survival Challenge - Hearts Of Iron IV
12:18
iSorrowproductions
Рет қаралды 37 М.
Which Phone Unlock Code Will You Choose? 🤔️
0:14
Game9bit
Рет қаралды 10 МЛН
Nokia 3310 versus Red Hot Ball
0:37
PressTube
Рет қаралды 2,1 МЛН
Индуктивность и дроссель.
1:00
Hi Dev! – Электроника
Рет қаралды 1,4 МЛН
Чем отличается OLED от AMOLED?
0:43
Не шарю!
Рет қаралды 413 М.
Добавления ключа в домофон ДомРу
0:18