How to Use React.js for Game Development - Tutorial

Поделиться
HTML-код
  • Опубликовано: 14 янв 2025

Комментарии • 23

  • @Sebastian_1190
    @Sebastian_1190 4 дня назад

    Hi! Just discovered your channel. Thanks so much for the work and content you delivered here. I hope a lot more views follow soon! All the best, Seb

  • @O-02
    @O-02 2 месяца назад +1

    Wow, i was looking forward for this tutorial, it made my day. Thanks!

    • @JSLegendDev
      @JSLegendDev  2 месяца назад +1

      I had you in mind when I made this, I knew you wanted to see react content on the channel.

    • @O-02
      @O-02 2 месяца назад

      @@JSLegendDev thank you. you're amazing🥹

  • @Nikhil-gm8ks
    @Nikhil-gm8ks 2 месяца назад

    Amazing Guide ! Keep up the Good Work 🙌

  • @rayyan1010
    @rayyan1010 3 месяца назад

    Cant wait to watch this one!

  • @jotaroisdarius1918
    @jotaroisdarius1918 25 дней назад

    How can I have a full screen background?

    • @JSLegendDev
      @JSLegendDev  25 дней назад

      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.

  • @hachetrescomacatorce2340
    @hachetrescomacatorce2340 2 месяца назад

    Awesome, but i have a question, why do you use Kaplay(before Kaboom) instead Phaser in all your projects? Greetings from Colombia.

    • @JSLegendDev
      @JSLegendDev  2 месяца назад +1

      Hi!
      I use Kaplay because it was the first library I learned and I really like its simple API.
      However, you might see Phaser tutorials on the channel in the future but I won't promise anything yet.

  • @hamudxd9497
    @hamudxd9497 3 месяца назад

    GREAT EFFORTS

  • @worldbest3097
    @worldbest3097 3 месяца назад

    wow made with reactttt

  • @username-y2f4p
    @username-y2f4p 2 месяца назад

    pls can you tell advantage of making games in react ,and make a big project in it

    • @JSLegendDev
      @JSLegendDev  2 месяца назад +1

      I think react shines when it comes to making UIs because you can easily create new UI components and manage their state in a way that is scalable. Also, you don't have to create UI elements from scratch in Kaplay anymore. There is so much you get for free by using React and HTML/CSS that for UI heavy games, I think it's the way to go. It doesn't have to be React it could be another framework/library but React is what I'm already familiar with and is the most popular.

  • @prashlovessamosa
    @prashlovessamosa 2 месяца назад

    thanks for free education.

  • @username-y2f4p
    @username-y2f4p 2 месяца назад

    hey i have a request .first make a small video discussing advantages of making games on react.Second how to handle very big projects.and third tell me what should i start with in gamedev in js kaplay phaser impact

    • @JSLegendDev
      @JSLegendDev  2 месяца назад

      For the first, you can read this : jslegenddev.substack.com/p/why-use-react-for-game-development

  • @karfagen86
    @karfagen86 3 месяца назад +1

    Vue.js better 😅

  • @reactnative049
    @reactnative049 3 месяца назад +1

    Интересно, изучим на досуге.