JRPG Turn Based Combat Tutorial in Godot 4

Sdílet
Vložit
  • čas přidán 6. 07. 2023
  • Making turn-based combat just like in older JRPGs,
    and this video is inspired by Final Fantasy Pixel Remaster
    - Asset -
    opengameart.org/content/js-mo...
    - Code -
    Character - pastebin.com/Ag5A8RSp
    Enemy Group - pastebin.com/KVwRa2i7
    Player Group - pastebin.com/dq2PwMVk
    - Music Used -
    - Hoogway x Softy - Words on Water
    - Provided by Lofi Records
    - Watch: • Hoogway x Softy - Word...
    - Download/Stream: fanlink.to/AlleyOfTrees
  • Jak na to + styl

Komentáře • 36

  • @16bitdev
    @16bitdev  Před 11 měsíci +10

    This is my whole project, if you are having any issue, feel free to check and tinker around.
    github.com/16BitDev/jrpg

  • @KaidenXIII
    @KaidenXIII Před 11 měsíci +13

    I was looking for something like this for ages, since Im trying to recreate an "Atlantica Online"-Style gameplay. Now I know where to start (I can code on university level, but im not so into godot and havent done a real big project yet). Also the videolayout is super good. 9 Minutes, straight to the point, no talking, just facts. Great !

    • @Gandaxifiziert
      @Gandaxifiziert Před 3 měsíci

      Wtf, just came here because I wanted to develop something in the style of Atlantica online too. How is it coming along? Did you code something?^^

    • @KaidenXIII
      @KaidenXIII Před 3 měsíci

      @@GandaxifiziertIm still on getting those mercs out of an inventory system onto the battlefield, but I have another sideproject for the multiplayer ... which is not coming along great :D

    • @Gandaxifiziert
      @Gandaxifiziert Před 3 měsíci

      @@KaidenXIII Awsome to hear, hit me up when you have something playable at some point, would love to get some inspiration. I will play around in godot a bit in the meantime and see what I can cook. Atlantica online was so fun back then, I hope we get something similar at one point. Maybe yours even^^

  • @miguelrainho9994
    @miguelrainho9994 Před 11 měsíci

    Great tutorial!
    Enjoyed every second of it!

  • @wandevv
    @wandevv Před 11 měsíci +3

    Really good tutorial👏🏼, I didn't know about that set(value) feature in gdscript😮, It's really helpful, The code become clean and readable

  • @dylamon6547
    @dylamon6547 Před 8 měsíci +3

    I have just started work on anj rpg based off of a ttrpg that me and my freinds made like a year ago and this is a huge help!

  • @1menity
    @1menity Před 9 měsíci +1

    Wow, there's a lot to learn in your video, thanks

  • @jackwinner4810
    @jackwinner4810 Před 7 měsíci

    Yours Tutorials are GREAT and the music really relax me for Study this.
    Thank you Very much my Teacher (YoutuBe teacher) !!!

  • @satheng931
    @satheng931 Před 22 dny

    This is awesome, thank you!

  • @oskar1504
    @oskar1504 Před 8 měsíci +1

    Perfect video. Thanks a lot. Jumpstarting my Dragon Quest 9 PC remaster project

    • @NightHawk3500
      @NightHawk3500 Před měsícem +1

      I'd love to play that! DQ IX is my favorite JRPG ever!

  • @isagarcia4752
    @isagarcia4752 Před 8 měsíci +6

    Great tutorial! Could you consider expand this kind of Jrpg tutorials? Like a party system where you can change companions out of battle, swap them in battle, etc.? Like persona or pokemon

    • @16bitdev
      @16bitdev  Před 8 měsíci +3

      Great idea 👍 I will look into it 👍

    • @isagarcia4752
      @isagarcia4752 Před 8 měsíci

      @@16bitdev thanks for considering!

  • @jboadas
    @jboadas Před 11 měsíci

    Nice tutorial, thanks

  • @ericspeak6110
    @ericspeak6110 Před 10 měsíci +1

    Thank you!!!!

  • @jamesgreen7226
    @jamesgreen7226 Před dnem

    hey there when i get to the testing of the code for the focus changing nothing happens even with the same code, i have checked the inputs in project settings and my up and down arrows are there but i cannot see why it won't happen, would you have any idea?

  • @justarandomgamer5648
    @justarandomgamer5648 Před 5 měsíci

    I have a problem, when I just have one character I think it gives the character 2 turns? because it attacks twice, the weird thing is that on the second attack the choice selection symbol is gone, as if its selecting another invisible character

  • @Natethegreat-tq4qh
    @Natethegreat-tq4qh Před 2 měsíci

    This was seriously a great video! But I do have a question. I have this error that says: Invalid call. Nonexistent function 'focus' in base 'Sprite2D'. For my Player Character (I only have One Player, why is this the case?

    • @16bitdev
      @16bitdev  Před 2 měsíci +1

      check if the player has focus function or not, maybe you named it different like _focus instead of focus, if there is no function like that, then define one.

  • @ON1VAS
    @ON1VAS Před 2 měsíci

    there are missing assets in the download link in description

  • @boxzoopa
    @boxzoopa Před 11 měsíci +1

    Nice tutorial. It’d be great if you could expand it by letting players choosing different attacks or another player deciding to heal instead

    • @16bitdev
      @16bitdev  Před 11 měsíci +1

      That's a great idea, I think I might do a magic system, like restoration Spells and destruction spells.

    • @rodcosta290
      @rodcosta290 Před 11 měsíci

      ​@@16bitdevthat would be great! Just descovered your channel and im learning a lot, thx so much

  • @rafaelrosal1879
    @rafaelrosal1879 Před 3 měsíci

    what do you do when your enemies or player die? using queue_free makes the code crash

    • @16bitdev
      @16bitdev  Před 3 měsíci

      you can hide the player/enemy, and skip the index while selecting them, also does it say any error on console or does it shut down completely?

  • @wehrwulf88
    @wehrwulf88 Před 11 měsíci +1

    thanks for the tutorial! I have tried to follow it through and I got this error when hittin "enter" on Attack button: "Invalid call. Nonexistent function 'unfocus' in base 'Caracter2D'. Could you please help me out?

    • @16bitdev
      @16bitdev  Před 11 měsíci +2

      I think you forgot to define the unfocus function in your CharacterBody2D, check whether this function exists or not, it looks like this,
      func unfocus():
      >>>_focus.hide()

    • @wehrwulf88
      @wehrwulf88 Před 11 měsíci +1

      @@16bitdev thank you for the quick reply! I had already copied/pasted the full codes of all 3 scripts and still it is not working :/ I think there is something wrong with my focus sprites/codes, because they are not showing up when I run the battle scene. I have followed the exact same steps in the video, connected the signals and so... the only difference is the position of my characters. I really would like to solve these problems... Sorry if I am being too picky, I am a game artist and I'm still learning how to code, so Iwanted to make a simple and playable demo for a game Im working on! Your tutorial is exactly what I need :D hopefully you can help me to make it out

    • @16bitdev
      @16bitdev  Před 11 měsíci

      @@wehrwulf88 github.com/16BitDev/jrpg

    • @16bitdev
      @16bitdev  Před 11 měsíci +2

      @@wehrwulf88 i uploaded my whole project in github, feel free to check and tinker around, i hope this helps you.

    • @wehrwulf88
      @wehrwulf88 Před 11 měsíci +1

      @@16bitdev thank you very much! I hope now it is going to work! I will try to use your project as a base, and then I will back later with updates about it!