EPIC Game Dev
EPIC Game Dev
  • Видео 10
  • Просмотров 594 975
Unity 2D - RPG Tutorial 2024 - Part 10 Adding Battle Zones
This is a tutorial on how to build a battle zone for your game.
I'm finaly back!
Thank you so much for all the love and support!!!
Chapters:
00:00 - Why I was absent (You can skip this)
05:16 - Intro and explanation
08:10 - Implementing the battle zone
22:15 - Testing
Links
Discord Community: discord.gg/cVPCpGUSYW
Character Sprite: github.com/kiyama14/tutorial-art
Просмотров: 36 998

Видео

Unity 2D - RPG Tutorial 2024 - Part 09 Battle System Design
Просмотров 29 тыс.Год назад
This is a tutorial on how to build a database for your game. Thank you so much for all the love and support!!! I will try to post every Friday :D Chapters: 00:00 - Intro 1:46 - What is a battle system? 3:10 - How to build a battle system? 10:00 - How to build the logic of your game 12:24 - Creating the database structure for your game 26:24 - Final thoughts and appreciation to you all :D Links ...
Unity 2D - RPG Tutorial 2024 - Part 08 Adding Dialog (Video 2 of 2)
Просмотров 17 тыс.Год назад
My computer fan was screaming in this recording :( Getting a new computer soon to record better quality audio and video! Chapters: 00:00 - Continuing the implementation 11:25 - Testing 12:10 - Debugging Links Discord Community: discord.gg/cVPCpGUSYW Character Sprite: github.com/kiyama14/tutorial-art
Unity 2D - RPG Tutorial 2024 - Part 07 Adding Dialog (Video 1 of 2)
Просмотров 19 тыс.Год назад
My computer fan was screaming in this recording :( Getting a new computer soon to record better quality audio and video! Chapters: 00:00 - Intro and demo 02:00 - Creating the GameController 14:14 - Implementing the logic for the dialog box 26:45 - Testing the game Links Discord Community: discord.gg/cVPCpGUSYW Character Sprite: github.com/kiyama14/tutorial-art
Unity 2D - RPG Tutorial 2024 - Part 06 Interfaces
Просмотров 20 тыс.Год назад
I got a new mic! Hopefully this will make it better :D Chapters: 00:00 - Intro and demo 01:50 - Theory of Interfaces in Unity 04:02 - Adding an object in Unity 07:50 - Implementing an Interface in Unity 13:55 - Testing the game Links Discord Community: discord.gg/cVPCpGUSYW Character Sprite: github.com/kiyama14/tutorial-art
Unity 2D - RPG Tutorial 2024 - Part 05 Adding NPCs
Просмотров 28 тыс.Год назад
THE AUDIO SOUNDS TERRIBLE!!! I am buying a mic immediately :( Sorry everyone I will improve!!! Chapters: 00:00 - Intro and demo 00:16 - Adding the NPC Object 05:06 - Adding collisions to NPC 08:04 - Debugging :D 09:20 - Adding an interaction to the NPC 10:50 - Theory for interactions in unity 12:08 - Back to interaction implementation Links Discord Community: discord.gg/cVPCpGUSYW Character Spr...
Unity 2D - RPG Tutorial 2024 - Part 04 Collisions
Просмотров 35 тыс.Год назад
Sorry for this video's bad editing :( I will improve! Chapters: 00:00 - Intro 00:12 - Recap 00:56 - Theory on collisions 02:50 - Create Layers 03:59 - Create the object 08:02 - Coding the logic 14:33 - Debugging 15:54 -Testing the game Links Visual Studio Download: visualstudio.microsoft.com/downloads/ Character Sprite: github.com/kiyama14/tutorial-art
Unity 2D - RPG Tutorial 2024 - Part 03 Character animation
Просмотров 51 тыс.Год назад
Please let me know how to improve this series :D Chapters: 00:00 - Intro 00:31 - Creating the animations 09:13 - Theory on animations 10:25 - Continuing the Idle implementation 11:32 - Adding code to our PlayerController 15:07 - Debugging 16:33 - Implementing the Walk animation 21:42 - Unity Editor tips 22:37 - Debugging again :D 24:51 - Testing the game Links Visual Studio Download: visualstud...
Unity 2D - RPG Tutorial 2024 - Part 02 Character movement
Просмотров 104 тыс.Год назад
Please watch the video till the end, then do it yourself :D Chapters: 00:00 - Intro 01:06 - Concept explanation 03:08 - Importing character sprite 06:05 - Creating the script file 09:00 - Coding the movement 25:35 - Testing the game Links Visual Studio Download: visualstudio.microsoft.com/downloads/ Character Sprite: github.com/kiyama14/tutorial-art
Unity 2D - RPG Tutorial 2024 - Part 01 Adding Background
Просмотров 255 тыс.Год назад
Sorry for the terrible audio! I'm gonna improve :D Please watch the video till the end, then do it yourself :D Chapters: 00:00 - Intro 00:37 - Creating a project 01:57 - Walkthrough of Unity 03:15 - Free Assets 04:05 - Adding assets to Unity 06:55 - Creating Background Object 07:30 - Creating a Tile Palette Links Unity Download: unity3d.com/get-unity/download Visual Studio Download: visualstudi...

Комментарии

  • @IlianLivshitz
    @IlianLivshitz День назад

    the orange kid font looks so good. saving it for future dialog

  • @IlianLivshitz
    @IlianLivshitz 5 дней назад

    25:26 animations do take more time to implement. dont worry its a long video, its actually one of the short ones i found

  • @刘淋滔
    @刘淋滔 6 дней назад

    good

  • @jshmaxer8413
    @jshmaxer8413 11 дней назад

    What is your screen recorder?

  • @CK.477
    @CK.477 14 дней назад

    I built the rest of my game already and ran into this episode 💀😭 What do I do

  • @ms1-Alex
    @ms1-Alex 15 дней назад

    I can’t drag the assets into the pallette

  • @ms1-Alex
    @ms1-Alex 16 дней назад

    Is it the same for macOS?

  • @RehanBotes
    @RehanBotes 18 дней назад

    Little late Have not seen other videos, yet, but May i suggest A better Recording software (OBS) to improve quality.🙂

  • @DinnerbotYT.
    @DinnerbotYT. 19 дней назад

    Hi

  • @CK.477
    @CK.477 19 дней назад

    How are your graphics so good when you play your game ? I’ve just went past episode one but when I play my game The graphics there looks so blurry and is not as clear as the scene

  • @sergioduckx
    @sergioduckx 27 дней назад

    Great videos, easy to understand and very well explained. Is a same that you haven't continued the series, but anyway glad for the knowledge and I hope you the best of lucks!

  • @matthewlavigueur6210
    @matthewlavigueur6210 Месяц назад

    Had to make an adjustment as my player wasn't moving (even though I had the exact game code). This fixed it for me. Added to variables: //set Vector 3 in scope private Vector3 targetPos; and replace your first if statment with this: if (input != Vector2.zero) { // Calculate the target position targetPos = transform.position + new Vector3(input.x, input.y, 0) * moveSpeed * Time.deltaTime; // Start moving towards the target if not already moving if (!isMoving) { StartCoroutine(Move(targetPos)); } }

  • @nsNiccer
    @nsNiccer Месяц назад

    Dude, I need to use external speaker to be able to hear your voice. You asked what you could improve. This would be it.

  • @satyam6585
    @satyam6585 Месяц назад

    Your videos are genuinely very useful loved it

  • @AceExoticZ
    @AceExoticZ Месяц назад

    Has anybody released any games recently?

  • @PixelPioneer-t3q
    @PixelPioneer-t3q Месяц назад

    cute video 2 to 3 randomly has player going from moving on screen to screen moving around player with no explanation at all.

  • @baoduc3579
    @baoduc3579 Месяц назад

    could u show the art progress pls (when I draw map some of leftovers of map assest(there are some blue color on the picture when I attact the pic in to the map the blue part are also in the map)) I think it is about over overwrite pic on another pic)

  • @meewooo_
    @meewooo_ Месяц назад

    hii, idk if anyone would answer its been a while, but when the player is facing the npc, the npc legs show above his head, what could be the problem

    • @_NullVoid_
      @_NullVoid_ Месяц назад

      You can just slice it a bit thinner and then put the head and leg in the correct spot

  • @rastamichal8306
    @rastamichal8306 Месяц назад

    I would like to ask i us VS as well but mine doesnt show me what commands and all the variables does if i move cursor up on em so im jsut curious if u use extension for it or something

  • @qjarishekka5426
    @qjarishekka5426 Месяц назад

    I dont know what happend with the audio but this video is very usefull thought

  • @hezzalenko
    @hezzalenko Месяц назад

    If you're like me and was having some issues with the chat box appearing at the start of the game, I added the following line to the DialogManager script "private void Awake()" private void Awake() { Instance = this; dialogBox.SetActive(false); }

  • @hezzalenko
    @hezzalenko Месяц назад

    Enjoying this and really helpful! only feedback is keep up the breaks in coding and showing what's happening in the interface. There was a lot of logic happening in that final part of the vid which is tricky to go back over and follow all the code.

  • @SeVii77769
    @SeVii77769 Месяц назад

    hello i have problem can you write your discord and i write my problem pls

  • @MiguelPerez-ui2gy
    @MiguelPerez-ui2gy Месяц назад

    Hey man great video, you are truly a reference! Btw, in case you are interested, I suggest to replace the code: targetPos.x += input.x; targetPos.y += input.y; with this one targetPos += (Vector3) input; Its a one liner and considers the z coordinate of input as 0, which is exactly what we want.

  • @squarecircle1473
    @squarecircle1473 Месяц назад

    I think the best way to go about it is to learn c# first. I'd love making a game like this, but I'm currently only doing c#. Managed to make a text-based RPG console app with a leveling system and currently building a console-based library management system lol. I know its simple but I feel proud of it :D I am very much enjoying coding tbh. It's surprisingly creative in that you're actively building stuff, but its also abstract and requires problem-solving which I enjoy. My area of expertise is visual arts, so coding is a really nice supplement to that and game dev is a great way of bringing that together. I'm looking forward to learning more c# and getting more intuitive with it. I''ll come back to these lessons when ready. I think your teaching style is great! :)

  • @Nassehwindowcleaning
    @Nassehwindowcleaning Месяц назад

    using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { public float moveSpeed; private bool isMoving; private Vector2 input; private Animator animator; private void Awake() { animator = GetComponent<Animator>(); } private void Update() { if (!isMoving) { input.x = Input.GetAxisRaw("Horizontal"); input.y = Input.GetAxisRaw("Vertical"); Debug.Log("This is input.x" + input.x); Debug.Log("This is input.y" + input.y); if (input.x != 0) input.y = 0; if (input != Vector2.zero) { animator.SetFloat("moveX", input.x); animator.SetFloat("moveY", input.y); var targetPos = transform.position; targetPos.x += input.x; targetPos.y += input.y; StartCoroutine(Move(targetPos)); } } animator.SetBool("isMoving",isMoving); } IEnumerator Move(Vector3 targetPos) { isMoving = true; while ((targetPos - transform.position).sqrMagnitude > Mathf.Epsilon) { transform.position = Vector3.MoveTowards(transform.position, targetPos, moveSpeed * Time.deltaTime); yield return null; } transform.position = targetPos; isMoving = false; } }

  • @copeboar
    @copeboar Месяц назад

    How do you make the unity console load so fast? After any change made on C# scripts, it takes forever for it update...

  • @shujin9027
    @shujin9027 Месяц назад

    Very good, thank you very much, helped a lot. I also added diagonal movements, unfortunately there's no sprites for this, so I've sticked up with up and down

  • @nickreaper6624
    @nickreaper6624 Месяц назад

    How did you assign it to the movement keys???

  • @CodeGAMERQT
    @CodeGAMERQT Месяц назад

    Help i cant see the movment speed

  • @Gonk-s2o
    @Gonk-s2o Месяц назад

    i have the problem that the tiles dont show up when i'm trying to put these int the Solidobject Layer

  • @user-yt3kx9pm7e
    @user-yt3kx9pm7e 2 месяца назад

    using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { public float moveSpeed; private bool isMoving; private Vector2 input; private Animator animator; private void Awake() { animator = GetComponent<Animator>(); } private void Update() { if (!isMoving) { input.x = Input.GetAxisRaw("Horizontal"); input.y = Input.GetAxisRaw("Vertical"); Debug.Log("This is input.x" + input.x); Debug.Log("This is input.y" + input.y); if (input.x != 0) input.y = 0; if (input != Vector2.zero) { animator.SetFloat("moveX", input.x); animator.SetFloat("moveY", input.y); var targetPos = transform.position; targetPos.x += input.x; targetPos.y += input.y; StartCoroutine(Move(targetPos)); } } } IEnumerator Move(Vector3 targetPos) { isMoving = true; while ((targetPos - transform.position).sqrMagnitude > Mathf.Epsilon) { transform.position = Vector3.MoveTowards(transform.position, targetPos, moveSpeed * Time.deltaTime); yield return null; } transform.position = targetPos; isMoving = false; } }

  • @user-yt3kx9pm7e
    @user-yt3kx9pm7e 2 месяца назад

    using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { public float moveSpeed; private bool isMoving; private Vector2 input; private Animator animator; private void Awake() { animator = GetComponent<Animator>(); } private void Update() { if (!isMoving) { input.x = Input.GetAxisRaw("Horizontal"); input.y = Input.GetAxisRaw("Vertical"); Debug.Log("This is input.x" + input.x); Debug.Log("This is input.y" + input.y); if (input.x != 0) input.y = 0; if (input != Vector2.zero) { animator.SetFloat("moveX", input.x); animator.SetFloat("moveY", input.y); var targetPos = transform.position; targetPos.x += input.x; targetPos.y += input.y; StartCoroutine(Move(targetPos)); } } } IEnumerator Move(Vector3 targetPos) { isMoving = true; while ((targetPos - transform.position).sqrMagnitude > Mathf.Epsilon) { transform.position = Vector3.MoveTowards(transform.position, targetPos, moveSpeed * Time.deltaTime); yield return null; } transform.position = targetPos; isMoving = false; } }

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

    I got a error

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

    I've done everything like in the video but when I try to "paint" from the palette, the sprites are way smaller than yours. Doesn't actually fill whole "one grid spot. Don't know what am I doing wrong. I would appreciate any help.

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

      Hav you changed pixels per unit in the sprite? 5:25

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

      @@P13DR0 That solved the problem, thank you! Don't know how I missed it.

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

      @@lobbywww Yeah I missed it too XD

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

    A little tip I got stuck on, for attaching your dialog box to the dialog manager script - you'll have to use the legacy/standard Text component, NOT TextMeshPro (UI), it won't allow you to attach it otherwise.

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

    Excellent Tutorial!Thanks from China. I can't find a good tutorial in my country's local social media, finally ,I find this. Very useful!

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

    Ojalá supiera hablar ingles

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

    Love this tutorial , thanks for making it simple

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

    has anyone wonder how did he managed to get those clouds around the well??? coz its been 20 minutes and I cant figure out how the heck he did that xD

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

    I followed this tutorial to the T. The textbox doesn't show up when interacting, but it writes in the console

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

    you are doing great i am learning allot thanks!

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

    Cool

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

    How do you place a tile behind or in front of another? When you select the square it brings the grey with it.

    • @ByThePowerOGreyskul1
      @ByThePowerOGreyskul1 10 дней назад

      Been a little while, but did you figure this out?

    • @gamertonic9398
      @gamertonic9398 10 дней назад

      @@ByThePowerOGreyskul1 I did! Lost some hair in the process :D

    • @ByThePowerOGreyskul1
      @ByThePowerOGreyskul1 10 дней назад

      @@gamertonic9398 how did you manage it? I spent like 3 hours fiddling around with crap and I'm almost bald :D

    • @gamertonic9398
      @gamertonic9398 10 дней назад

      @@ByThePowerOGreyskul1 Go to the layer option and you then have to manually put in the number, so pavements would be 100 for example as you're never going to go behind them and a plant pot would be 99 because it sits on top. You'll need to select your pixels first though.

    • @ByThePowerOGreyskul1
      @ByThePowerOGreyskul1 9 дней назад

      @@gamertonic9398 thank you!! It's so simple I could kick myself

  • @zygarde.r6461
    @zygarde.r6461 3 месяца назад

    been following the whole tutorial and everything works great until now. i get an error saying Physics2D does not contain a definition for OverLapCircle. does anyone know how to fix this?

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

      Try it with the “L” in overlap as a lowercase

    • @zygarde.r6461
      @zygarde.r6461 2 месяца назад

      @@maxthullen6408 it didnt work, do you got anything else?

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

    man my issue is that my character is only intereacting from above and below the npc. I'm using the movespeed*Time.deltatime after the inputs for x and y at the beginning so that my character can get closer to the objects but found that the time.deltatime multiplier is causing my character to only interact from above and below. if anyone has a fix pls reach out. thx.

    • @trevorl860
      @trevorl860 Месяц назад

      its likely an issue with the way you made your vectors, if your vector3 to handle the x axis is incorrect (ie. you may have made a vector using the xinput as the y value). If you're 100% sure that the movespeed*Time.deltaTime is causing the issue, then I think you should revise your code that contains that input since it sounds like you're using it as your y input instead of your speed. If its not either of those then I don't think I have enough information to give you a better answer.

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

    I hope you're doing well, take as long as you need to come back friend

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

    Very cool videos, they helped me a lot. Thank you! I'm looking forward to more great videos from you.

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

    Do you have a document with the code completed and typed so we can compare