Beginner Javascript Game made with HTML, CSS & JS

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2024
  • Learn how to code an arcade game using web development technologies HTML, CSS and Javascript!
    LINK TO THE GAME: shawnbeaton.kn...
    Follow me below and reach out if you need any help!
    Twitter: / shawnjbeaton
    Instagram: / shawnjbeaton
    My t-shirt is from: www.intotheam....

ความคิดเห็น • 96

  • @mirandatrayford4796
    @mirandatrayford4796 3 ปีที่แล้ว +12

    These videos are awesome! I know you are trying to condense these videos, but one suggestion I would make is to stop at certain intervals and show us what should be happening at different points in the code. That way I can check my progress throughout to know I'm on the right path rather than coding the whole thing and getting to the end and realizing something went wrong. Which definitely happened to me haha. Again, just a suggestion! These videos are awesome and I'm really learning a lot :)

    • @Kyouka_Suigetsu1999
      @Kyouka_Suigetsu1999 3 ปีที่แล้ว

      Did you manage to fix any of the errors in the code ?

  • @Kyouka_Suigetsu1999
    @Kyouka_Suigetsu1999 3 ปีที่แล้ว +8

    Can you put out the source code to this, did everything you did but the code isn't running right, maybe you changed some stuff we didn't see

  • @davidacosta6383
    @davidacosta6383 3 ปีที่แล้ว +4

    You're tutorials are great!
    You should make a special where you briefly discuss your thought process on choosing and then building a game.

  • @Waveclaw18
    @Waveclaw18 4 ปีที่แล้ว +9

    Oakley is SOOOO Cute (sorry if I spelled wrong)

  • @FlummoxTheMagnificent
    @FlummoxTheMagnificent 2 ปีที่แล้ว +1

    What version of brackets are you using? This doesn’t work for me.

  • @carson357
    @carson357 3 ปีที่แล้ว +1

    Been watching u since your very first Christmas morning vlog

  • @RobertHoov
    @RobertHoov 2 ปีที่แล้ว

    Your channel is a goldmine! Thank you for all the fun game ideas for beginner’s they’re awesome and super helpful!

  • @nicholasbrown8384
    @nicholasbrown8384 3 ปีที่แล้ว +1

    Thanks! I had no idea how people draw things in JavaScript. I was setting size attributes for divs using timers 😂

  • @Commentify69
    @Commentify69 3 ปีที่แล้ว +1

    Plot twist: hey your dog isn't ugly

  • @sofiadiniz2261
    @sofiadiniz2261 4 ปีที่แล้ว +2

    Omg your puppy is SO CUTE 😍😍 Also, I absolutely love your tutorials!!! They have helped me so much!

  • @thelastcomment4598
    @thelastcomment4598 3 ปีที่แล้ว +1

    I was searching for it a lot.... THNX

  • @yavergazi
    @yavergazi ปีที่แล้ว

    Hey man, your videos are really awesome, and I would like to see your new projects; it has been a long time since you don't share anything

  • @INTOTHEAM
    @INTOTHEAM 3 ปีที่แล้ว

    Your puppy got us! 😎

  • @sudhakar6933
    @sudhakar6933 2 ปีที่แล้ว

    your profile just looks cool

  • @tasin487
    @tasin487 4 ปีที่แล้ว +2

    Welcome back KnifeCircus!

  • @NevTheDeranged
    @NevTheDeranged 3 ปีที่แล้ว

    That's a pretty adorable distraction there.

  • @pawebogatu9449
    @pawebogatu9449 3 ปีที่แล้ว +2

    wtf happend on 7:25 ?

  • @radhadangol3208
    @radhadangol3208 4 ปีที่แล้ว +2

    Hey is learning QBASIC necessary before learning javascript?

    • @KnifeCircus
      @KnifeCircus  4 ปีที่แล้ว

      I never learned qbasic so no

  • @foreignelia
    @foreignelia 2 ปีที่แล้ว

    what did u put after the plus on the document.documentElement.style.setProperty('--width', slideWidth, + ) part?

  • @kushagra4586
    @kushagra4586 4 ปีที่แล้ว +2

    Can we make a Chess game using JS .Please answer me .I really want to know.
    Btw your YT future career is bright😊😊

    • @KnifeCircus
      @KnifeCircus  4 ปีที่แล้ว +2

      Kushagra Its definetly possible, anything is! it would be complicated though! thank you!

    • @kushagra4586
      @kushagra4586 4 ปีที่แล้ว

      KnifeCircus can u plz make a Video on it.it will be really helpful .thanks.

  • @Waveclaw18
    @Waveclaw18 4 ปีที่แล้ว +1

    This is SO Epic

  • @markward7604
    @markward7604 ปีที่แล้ว +1

    Dear Shawn, your code changed at 4:30 seconds
    var sliderCurrent = document.getElementById("slider".concat(slider));
    var sliderAbove = document.getElementById("slider".concat(slider+1));
    To
    var sliderCurrent = document.getElementById("slider"+slider);
    var sliderAbove = document.getElementById("slider"+slider+1));
    If you change your code show it with explanations instead of spending hours editing your video?
    If you do not want to share, don't post?
    If you do, just post a link as the code in your website is different from the code you posted here..?
    I wanted to use your code in my lessons but I wasted my time trying to figure out our messy coding?
    Just a thought....?

  • @62523
    @62523 ปีที่แล้ว

    I need a software can you help me I need to hack a game online or its times five seconds before the code show

  • @pavankulkarni8948
    @pavankulkarni8948 4 ปีที่แล้ว

    Love your videos Knife Circus

  • @mindaugasmariager1001
    @mindaugasmariager1001 3 ปีที่แล้ว

    hello there, i am wondering what part of the video that you cut off as i am preatty new to programming and my second slider wont slide at all, its like the animation is stopped or something

    • @kruto_1
      @kruto_1 ปีที่แล้ว

      if you remember, did you fix it? i have the same

  • @lovelypicturepro
    @lovelypicturepro 3 หลายเดือนก่อน

    the js is a bit frightening, other than that, great tutorial!

  • @memesballss
    @memesballss 4 ปีที่แล้ว +1

    Wow!It's very interesting.Pls can you help me with Js code I want to make game but I can't make touch when palyer touch block I tried to use css and Js for this bu nothing happened if you can help me pls write to comments!!!!(sorry for my English now I learning English)

  • @kfernzy1289
    @kfernzy1289 3 ปีที่แล้ว

    Thank you for this tutorial 🙂

  • @pawankumar2801
    @pawankumar2801 3 ปีที่แล้ว

    Biggggg fannnn

  • @afnanahmed9577
    @afnanahmed9577 2 ปีที่แล้ว

    Do American Web Developers make good amount of money?

  • @carloroncara1332
    @carloroncara1332 4 ปีที่แล้ว

    Love your vids

    • @KnifeCircus
      @KnifeCircus  4 ปีที่แล้ว

      Carlo vlogz Thanks so much!!

  • @vighneshmanjrekar5213
    @vighneshmanjrekar5213 4 ปีที่แล้ว

    Hey buddy can you make video on how you added backend in your website

  • @generationnetwork5934
    @generationnetwork5934 ปีที่แล้ว

    Not working. Also, your edit is wrong, in different parts of the video the code differs without explanation. Also no Git, very frustrating.

  • @nksama1006
    @nksama1006 4 ปีที่แล้ว

    Super bro ❤

  • @thelastcomment4598
    @thelastcomment4598 3 ปีที่แล้ว

    But.... Can it be a 3d one

  • @ashokkumardangol6807
    @ashokkumardangol6807 4 ปีที่แล้ว +1

    You should do a java script tutorial for beginners series. BTW love your videos :)

  • @sandeeptiwari3189
    @sandeeptiwari3189 4 ปีที่แล้ว +1

    I love your tutorials can you give us more tutorial for other games!!thank you love from India!

  • @dalavaiparvathi5563
    @dalavaiparvathi5563 4 ปีที่แล้ว

    Super bro☺☺☺

  • @marteamm
    @marteamm 4 ปีที่แล้ว

    hey! you are definitely my favorite 'coder' youtuber, and i was wondering if you could make pong. i think it's not that hard (compared to your Fall Game), good luck and keep it up!

  • @yunjay5598
    @yunjay5598 3 ปีที่แล้ว

    Can I get code in github?

  • @BoBikyawkyaw
    @BoBikyawkyaw 2 ปีที่แล้ว

    It is don't move.

  • @firstangel1325
    @firstangel1325 2 ปีที่แล้ว

    It wont work

  • @askark4767
    @askark4767 2 ปีที่แล้ว

    nice

  • @suhasinikonda7903
    @suhasinikonda7903 3 ปีที่แล้ว

    not working please give source code

  • @vighneshmanjrekar5213
    @vighneshmanjrekar5213 4 ปีที่แล้ว

    Thank you

  • @MinhVu-vq4dp
    @MinhVu-vq4dp 3 ปีที่แล้ว

    So cute !

  • @willum7981
    @willum7981 3 ปีที่แล้ว

    Source code?

  • @williammoody4850
    @williammoody4850 3 ปีที่แล้ว

    what IDE are you using?

  • @PeterCooperUK
    @PeterCooperUK 4 ปีที่แล้ว

    Welcome back!

  • @tahid9688
    @tahid9688 4 ปีที่แล้ว

    Awesome explanation.... Just subscribed

  • @awliyomahamed9640
    @awliyomahamed9640 3 ปีที่แล้ว

    Your writing Icannot see

  • @ZuxworPro
    @ZuxworPro 4 ปีที่แล้ว

    great,,,

  • @schmusekai
    @schmusekai 3 ปีที่แล้ว

    Amazing idea!
    Following the tutorial step by step wont give a working version though! I guess there is just something small missing in the video. Would appreciate if you could upload the full code to github (even though the video is nearly a year old)!

    • @sealandland3959
      @sealandland3959 3 ปีที่แล้ว

      did u manage to solve the issue??????

    • @schmusekai
      @schmusekai 3 ปีที่แล้ว

      @@sealandland3959 I managed to modify the code so that the game works, yes 👍🏻
      I dont remember what exactly I changed, if you want I could send you the working version.

    • @007ajit1
      @007ajit1 2 ปีที่แล้ว

      @@sealandland3959 what was the issue please tell me

    • @MrSoggybear
      @MrSoggybear 2 ปีที่แล้ว

      @@schmusekai Hi! Can you share the code with me? Thanks!

    • @schmusekai
      @schmusekai 2 ปีที่แล้ว

      @@007ajit1 Hey! Sorry for the late reply, I must have overlooked the notification. I dont know what exactly I changed, since I modified the whole thing afterwards to fit my own needs. If you still need it, I can send you my modified version

  • @brianjenkins4962
    @brianjenkins4962 2 ปีที่แล้ว

    i can see the fuckin script pan into view idk wtf to write down because a parent of the code is off screen

    • @KnifeCircus
      @KnifeCircus  2 ปีที่แล้ว

      code is linked in the description

    • @brianjenkins4962
      @brianjenkins4962 2 ปีที่แล้ว

      @@KnifeCircus its not a safe link

  • @glitch_b0ss90
    @glitch_b0ss90 2 ปีที่แล้ว

    3:28

  • @ZuxworPro
    @ZuxworPro 4 ปีที่แล้ว

    good puppy

  • @pooryazarei7959
    @pooryazarei7959 3 ปีที่แล้ว

    Very funny 😊

  • @King_Wombleliciouse
    @King_Wombleliciouse 4 ปีที่แล้ว

    hay ummmmmm let me tell you real fast that your twitter and instagram links dont work because you dont have next to the www.

    • @KnifeCircus
      @KnifeCircus  4 ปีที่แล้ว

      Purpetuall that is correct... fixed it lol

    • @King_Wombleliciouse
      @King_Wombleliciouse 4 ปีที่แล้ว

      KnifeCircus also thanks for the tutorial. just started coding

  • @brianjenkins4962
    @brianjenkins4962 2 ปีที่แล้ว

    i fucking give up.... IVE DONE EVERTHING RIGHT. I EVEN MAIN 2 REPLICASE AND TYPED ONE LETTER AT A TIME

  • @cadindegano
    @cadindegano 3 ปีที่แล้ว

    5:13

  • @Wufyiofkes
    @Wufyiofkes 3 ปีที่แล้ว

    just a small suggession, if you would stop at points and explain briefly it would be helpful in understanding what you did here because at the end, the javascript file looked like a bunch of crap

  • @007ajit1
    @007ajit1 2 ปีที่แล้ว

    worst code ever he does not showing what he do in the last

  • @ayden865
    @ayden865 3 ปีที่แล้ว

    way too damn fast

  • @brianjenkins4962
    @brianjenkins4962 2 ปีที่แล้ว

    i cant get it to work .. I'm doing something wrong on my have script but I've typeded the have scripted 3 different times and all had 35 lines please help me
    for(var i=25;i>0;i--){
    let slider = document.createElement("div");
    slider.setAttribute("class","slider" animate");
    slider.setAttribute("id", "slider"+1);
    document.getElementById("game").append(slider);
    }
    function stopSliding(slider){
    var sliderCurrent = document.getElementById("slider"+slider));
    var sliderAbove = document.getElementById("slider"+(slider+1));
    if(slider==1){
    var sliderBelow = sliderCurrent;
    }else{
    var sliderBelow = document.getElementbyID("slider"-(slider-1));
    var leftBelow = window.getComputedStyle(sliderCurrent).getPropertyValue("left");
    sliderCurrent.classLst.remove("animate");
    sliderCurrent.style.left= left;
    var width = parseInt(window.getComputedStyle(sliderCurrent).getPropertyValue("width");
    var width = parseInt(window.getComputedStyle(sliderBelow).getPropertyValue("left"));
    left = parsInt(left);
    var difference = left - leftBelow;
    var absDifferene = Math.abs(difference);
    if(difference>0){
    left = left +absDifference;
    }else{
    left = left - difference;
    sliderCurrent.style.left= left.toString().concat("px");
    }
    var offset = (width - absDifference).toString().concat("px");
    sliderCurrent.style.width= offset;
    sliderAbove.style.width= offset;
    sliderAbove.style.visibility = "visible";
    var onclick = "stopSliding"
    }

  • @brianjenkins4962
    @brianjenkins4962 2 ปีที่แล้ว

    for(var i=25;i>0;i--){
    let slider = document.createElement("div");
    slider.setAttribute("class","slider" animate");
    slider.setAttribute("id", "slider"+1);
    document.getElementById("game").append(slider);
    }
    function stopSliding(slider){
    var sliderCurrent = document.getElementById("slider"+slider));
    var sliderAbove = document.getElementById("slider"+(slider+1));
    if(slider==1){
    var sliderBelow = sliderCurrent;
    }else{
    var sliderBelow = document.getElementbyID("slider"-(slider-1));
    var leftBelow = window.getComputedStyle(sliderCurrent).getPropertyValue("left");
    sliderCurrent.classLst.remove("animate");
    sliderCurrent.style.left= left;
    var width = parseInt(window.getComputedStyle(sliderCurrent).getPropertyValue("width");
    var width = parseInt(window.getComputedStyle(sliderBelow).getPropertyValue("left"));
    left = parsInt(left);
    var difference = left - leftBelow;
    var absDifferene = Math.abs(difference);
    if(difference>0){
    left = left +absDifference;
    }else{
    left = left - difference;
    sliderCurrent.style.left= left.toString().concat("px");
    }
    var offset = (width - absDifference).toString().concat("px");
    sliderCurrent.style.width= offset;
    sliderAbove.style.width= offset;
    sliderAbove.style.visibility = "visible";
    var onclick = "stopSliding"
    }