Construct 3 Tutorial: Adding Dialogue to Your Construct 3 Projects

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2024

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

  • @umzer0aesquerda
    @umzer0aesquerda 4 หลายเดือนก่อน +1

    Thank you very much, your tutorial helped me a lot, you speak very well and explain it very well.
    Say hi to Brasil 🇧🇷👋

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

    I've been looking for a tutorial to add text to my game. Thank you so much for uploading this. I plan on working on this tonight when I get off work.

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

    Great job, thanks, we want more complex dialogs now 🙂

  • @Marlin-Gamedev
    @Marlin-Gamedev ปีที่แล้ว +3

    Very nice system!! Great explanations in ALL your videos 👍

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

      Thank you! :)

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

      ​​@@deltastarstudios2809 sooo i have a problem! I'm only using the free version witch means I only have maximum two layers and I have one layer for the game and one for the background. What should I do? I mean I can't make the HUD then!

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

      @@stormfiretheog9183 you could use layer 0 for all the game art and layer 1 for the HUD. Or you might try the anchor behavior on you hud elements.
      www.construct.net/en/make-games/manuals/construct-3/behavior-reference/anchor

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

      @@deltastarstudios2809 Oh okay! Thank you so much you're a lifesaver!

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

      @@deltastarstudios2809 one small problem I have. It's a bit hard for me to understand! I have a problem when reading I can't understand things. That's why I always go for videos. So is it possible that you could make a short video on how to do it, please?? It's okay if not just a video idea.

  • @giirog
    @giirog 11 หลายเดือนก่อน +1

    Thank you very much for the tutorial! It was exactly what I needed!

  • @keve8586
    @keve8586 10 วันที่ผ่านมา

    great tutorials, thank you! the one concept I dont understand is why do you put the coordinate of the text box where they are on the Object Sheet and not the actual level? thank you again

  • @toniconge7003
    @toniconge7003 7 หลายเดือนก่อน +1

    Thank you very much.

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

    While this is a great video and it worked perfectly, what if I want to bring up the dialogue again after the box disappears. You mentioned in the video that you would remove the "set id to -1" to repeat the dialogue. Which I tried that, but the last line of text just repeats until I make the character step away from the dialogue area, and even then, it would repeat a couple of times until it's gone.
    That's also another thing, when the dialogue box does show up, how do I make the player not able to move when it shows up until it disappears again?

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

      To disable movement, set player sprite movement (platform/8 direction, etc...) to disabled during dialogue box and then re-enable it afterward. (Platform > set enabled)
      For repeating text, like a sign, after triggering the dialogue, the first action ahould set the trigger to -1, so it can't be retriggered. Then at the end of dialogue event, add a small wait, like 1 second, then set the trigger back to its original setting so it can be used again.
      So the event would ready
      1. Set Id to -1
      2. Disable movement
      3. Call dialogue
      4. Wait for signal
      5. Destroy dialogue
      6. Re-enable movement
      7. Wait 1 second
      8. Set trigger id back to whatever it was.

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

      @@deltastarstudios2809 Thank you!
      Also, I've been looking everywhere for how to do dialogue portraits for different characters and have their names above the dialogue box but there's nothing I could find about it or at least I'm aware of. Could it be possible to make a video tutorial about that?

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

      @@JeffKyler14 try adjusting the size and location of the text box, and spawn a portrait sprite after calling the createDialogue function. That's how we'd do it :)

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

      @@deltastarstudios2809 I tried that, but it didn't work. But luckily, I found a different way to go about it.
      I had a layer dedicated to the HUD or Portraits, then place the Portrait sprites in that layer and where I want them to appear. Set the sprite to invisible. Then when the dialogue box is being called, I set it to visible. Then I can change the character, or "animations" accordingly.
      Thank you again!

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

      @@JeffKyler14 elegant solution!

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

    didnt work i have 0 idea what i did wrong i rewatched the video and still cant find it

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

      what i did notice is that the text bubble isnt visable until he hits space while mine isnt

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

      @@seethan9109 your text bubble is visible from the start? If so, notice we create these objects on a separate layout called Object Database (1:06), and only spawn them when the function is called. They should not exist on any of your levels in the editor.
      You may consider adding a separate layout to store items like this, otherwise move them offscreen.
      Edit: if nothing shows up ever, you may need to right click the bottom of your event sheet and "include eventsheet" on the event sheet being used for that layout. Include the dialogue event sheet.

  • @VladKiw
    @VladKiw 23 วันที่ผ่านมา

    Thanks 🙏

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

    nice tutorial, thank you very much!

  • @Zach_97
    @Zach_97 11 หลายเดือนก่อน +1

    Great video! Everything works as intended. However when I add new functions to the dialogue like you do at the very end, the system breaks a bit. Everything works fine with as many functions as I need at first until I get to the very end of them. It seems like the destroyDialogue isn't getting called for some reason in that scenario. Instead the final dialogue gets repeated over and over. It's called fine with just a single function.

    • @deltastarstudios2809
      @deltastarstudios2809  11 หลายเดือนก่อน

      Hi Zach,
      There should only be one function that is used to create dialogue. Its parameter is used to display different text :)
      The destroy dialogue should be called at the end of your cutscene after the final wait for signal.
      It's interesting the final dialogue is repeated. Feel free to email me your project file and I can take a look :)

    • @stormfiretheog9183
      @stormfiretheog9183 8 หลายเดือนก่อน

      ​@deltastarstudios2809 I'm having that same problem! Have no idea what to do because I want the object to be interacteble as much as needed. But it just won't stop repeating the same dioluge at the end for some reason...

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

    how come the dialogue system doesn't work with the camera? i can't figure out how to fix it.

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

      Ensure you are creating these elements on A HUD layer, and the parallax is set to 0x0 :)
      See 3:12

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

      @@deltastarstudios2809 would it be the same if it was for an RPG as well? Or do I need to do some different coding?

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

      @@dragonhany6728 same technique regardless if it's top-down, platformer or 3d :)

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

      @@deltastarstudios2809 ok, that's good to know. Thank you ^\\\\^

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

      @@deltastarstudios2809 One, more question. I have multiple things I want dialogue for and I changed the box ID for them so they can all run separately. but now only one works. and when I take the camera movement off, then they all work fine. is there a way to fix that?

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

    How do you know the location to put the dialogue box?

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

      It's based on where on your HUD layer you want it to appear. 3:07 is how the coordinates are derived for this example :) if you place your text box on your hud layer where you want it to display, you can copy those coordinates. At 3:58 you can see how it's positioned relative to the viewport (the dashed line rectangle)

  • @L.JStrike
    @L.JStrike 10 หลายเดือนก่อน +1

    I know this video was a while ago, but i copied this exactly for my own project but no text box or dialogue showed up when i pushed my chosen key

    • @deltastarstudios2809
      @deltastarstudios2809  10 หลายเดือนก่อน +1

      Hi Strike,
      Could be caused by many things. Most common is forgetting to include the event sheet on your main event sheet.

  • @aleksdeveloper698
    @aleksdeveloper698 4 หลายเดือนก่อน

    Where can I download this project file?

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

    Please I want to ask you a question, can I merge two projects into one project on constuct 3 ?

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

      It is possible.
      You'll need to:
      1. Open both projects in the same editor
      2. Rename any objects and variables that share a common name in both projects (like if both have a sprite called Sprite1) so there isn't a conflict.
      3. Copy and paste layouts first
      4. Copy and paste event sheets last
      It takes some trial and error but that's the main method.
      Pay attention to any errors you get and address them. Like it may say a certain object (like audio) needs to be added back into the project before the copy/paste will work.

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

      @@deltastarstudios2809 thank you very much

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

      @@ayatwaly welcome!
      You also may need to rename variables :)

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

      @@deltastarstudios2809 okay thank you very much🌹

  • @user-hm8ci2dh3x
    @user-hm8ci2dh3x ปีที่แล้ว +1

    the text and text bg are showing from the start before i trigger the scene trigger but if i reach my trigger it overlaps the dialogue function, how can i fix this?

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

      Are the text obj and bg on your layout in the editor (not during runtime)? If so, move them off screen or to another unused layout.

    • @user-hm8ci2dh3x
      @user-hm8ci2dh3x ปีที่แล้ว +1

      @@deltastarstudios2809 it works, thank youuuu

    • @user-hm8ci2dh3x
      @user-hm8ci2dh3x ปีที่แล้ว +1

      sir, i run in in some problem, if you have a scroll to behavior on your character it wont trigger the scene trigger, please help me

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

      @@user-hm8ci2dh3x is it possible your scene trigger is on the HUD layer by accident? If so, you'll never be able to reach it, since it would always be off screen. Or maybe the event sheet wasn't included on your layouts event sheet? Make your scene trigger visible so you can confirm you are acutally colliding with it.

    • @user-hm8ci2dh3x
      @user-hm8ci2dh3x ปีที่แล้ว +1

      @@deltastarstudios2809 ididnt notice that the trigger is on the hud layer by accident, i just fixed it, thank youuuu

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

    YOU'RE THE BEST, THIS SAVED MY LIFE!!!! THANKSS!!