Learn JavaScript Interactively by Coding an RPG Game - Tutorial
HTML-код
- Опубликовано: 6 сен 2024
- Learn JavaScript in this tutorial by coding an RPG game line-by-line. I'll guide you every step of the way and you don't need to have any JavaScript experience to follow along.
⭐️ Code ⭐️
JavaScript RPG Starter: replit.com/@Be...
JavaScript RPG Complete: replit.com/@Be...
Now learn Python on my other channel: ruclips.net/video/aryte85bt_M/видео.html
Pls redo the audio from 8:20 till 9:10. For a person that learns the concept for a first time, it feels like waterboarding. All an all a very nice Tutorial thanks for putting the work and having the good approach and the idea of a RPG game, it is a such a natural way for gamers to understand.
Great tutorial on several JavaScript fundamentals. Mechanics will need some tweaking though. With the current hit calculation, high XP vs. low level monsters will earn you negative damage and add to your health lol. I understand this is about learning/practicing JS and not game mechanics but it's still pretty funny to see it happen :)
Hey! This was great. I had to make a project for the course I'm taking and this helped tremendously.
Big thanks!
Well done!!
Hey Beau! Could you had used the addEventListener instead of the onclick? like for example
button.addEventListener('click', () =>{}). ??
followed the tutorial meticulously even going over the completed game code and cant seem to figure out why my buttons arent redirecting me to the different locations. does anyone have any insight?
I may be able to help you if you send your code. beau@hey.com
Can You Do a Tutorial of Shop System For RPG
Hi there is a confusion between monster damage and your damage
if (monsterHit()) {
health -= getMonsterAttackValue(monsters[fighting].level);
} else {
text.innerText += "
You miss.";
}
are you referring that you will miss or the monster will miss?
Hello i completed this on freecodecamp course,is it possible to add 2d graphics visuals,or to use this later on for an rpg game with graphics etc,it is my first ever code course so apologies if i don’t make sense
Can this work with a turn-based Javascript game?
I am real interested, how is the program called?
Because i doubt the program is "Java script"
Hi! just completed the python course for beginners on freeCodeCamp. What is the next step? how can i further improve my python after doing this course??
Learn to make your own code with it revisit it and slowly move to intermediate topics
I can't seem to figure out step 58. Even Chatgpt's answer isn't accepted! Can't find anybody online who has the answer though I'm still looking.
What time is that in the video, and what are you trying to do?
ruclips.net/video/PQk1SG1TZXo/видео.htmlsi=oJT8PpcHpWOk1nqw
Why is this dude always in the some random place lol
Gotta avoid the *
// I have a problem, my innerText doesnt change everywhere
function goStore () {
button1.innerText ="this button text changes when I run it";
text.innerText ="But this text doesn't change the one from index.html";
}
Also function goTown desn't work either 🤷♂️
@@alunenutz6480
check to see if your goTown function is above the goStore function. it wont work if its at the bottom.
function goTown(){
update(locations[0]);
}
function goStore(){
update(locations[1]);
}
function goCave() {
update(locations[2]);
}
My Go to cave button isnt working because it cant read some property that is undefined. i have no clue what i left undefined though.