Smooth Camera in JavaScript games

Поділитися
Вставка
  • Опубліковано 18 жов 2024

КОМЕНТАРІ • 16

  • @jon_good
    @jon_good Рік тому +1

    Nice video! I actually achieved this recently using a different method, I used a CSS transition, "transition: all 0.3s ease-out" on the .map class.
    I had tried a LERP function, but the CSS transition felt smoother.

  • @valterbarros5032
    @valterbarros5032 24 дні тому

    Nice tutorial, do you prefer dom manipulation over canvas?

  • @sebastiankoziel8055
    @sebastiankoziel8055 Рік тому +1

    cool stuff!

  • @atrex4943
    @atrex4943 Рік тому

    Your videos are massively motivational, very glad you came back! I'm proficient in JS / React and I keep trying to make games with Godot but I find myself returning to JS because many things are just easier to deal with given all of the libraries available and the ability to distribute via Electron and Tauri. Do you struggle with a similar conundrum at all or are you fully on board with Godot at this point?

    • @DrewConley
      @DrewConley  Рік тому +1

      Thanks for the kind words.
      I am right there with you... swapping back and forth often. I'm way more fluid with JavaScript and the web ecosystem, but I'll probably reach for Godot if the project involves heavy movement and animation. Also, Godot 4 has a lot of JS-like patterns now, which helps when switching back and forth.
      One thing I've learned in releasing games... most of the time, players won't know or care _how_ you built the game. It's important to stay focused on making something very fun and unapologetically picking tech that jives the best with you to get it done.

    • @atrex4943
      @atrex4943 Рік тому

      @@DrewConley That's encouraging, thanks!

  • @JY-xv7ic
    @JY-xv7ic Рік тому +1

    Nice tutorial..
    Maybe on the next video you can create how to locate or follow other character, from video multiplayer game before..

  • @Kryptonite099
    @Kryptonite099 Рік тому

    nice! helped a lot!

  • @worldbest3097
    @worldbest3097 Рік тому +1

    great1!!!

  • @udaramanula915
    @udaramanula915 Рік тому

    Hello, Can you make a video that teach us making desktop apps with Electron?

  • @tricky6353
    @tricky6353 Рік тому

    Hey Drew can you help me
    When the dpad buttons are clicked or hold then the character starts moving but when the button is released then the character doesn't stop
    I used many codes but didn't work
    Please help

  • @KenKacet
    @KenKacet Рік тому

    How we create interactive objects and itens in cenario? I tried it by miselfy and the image followed the character.
    Liked your videos, are helping me alot :)

    • @DrewConley
      @DrewConley  Рік тому +1

      It’s a bit of a departure for the scope of this video, but try wiring up an action button press that checks for an object at the character’s x/y. Some of my other videos cover this kind of thing in more depth. Maybe try mixing in some of those ideas! Stoked to see what you make

    • @KenKacet
      @KenKacet Рік тому

      @@DrewConley Thx

  • @artcadedev
    @artcadedev 11 місяців тому

    What is font used in vscode?

    • @DrewConley
      @DrewConley  11 місяців тому

      Just the default font 😄