![EPIC Game Dev](/img/default-banner.jpg)
- Видео 10
- Просмотров 594 975
EPIC Game Dev
Бразилия
Добавлен 24 авг 2022
Tutorials and vlogs on game development :)
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
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...
the orange kid font looks so good. saving it for future dialog
25:26 animations do take more time to implement. dont worry its a long video, its actually one of the short ones i found
good
What is your screen recorder?
I built the rest of my game already and ran into this episode 💀😭 What do I do
I can’t drag the assets into the pallette
Is it the same for macOS?
Little late Have not seen other videos, yet, but May i suggest A better Recording software (OBS) to improve quality.🙂
Hi
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
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!
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)); } }
Dude, I need to use external speaker to be able to hear your voice. You asked what you could improve. This would be it.
Your videos are genuinely very useful loved it
Has anybody released any games recently?
cute video 2 to 3 randomly has player going from moving on screen to screen moving around player with no explanation at all.
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)
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
You can just slice it a bit thinner and then put the head and leg in the correct spot
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
I dont know what happend with the audio but this video is very usefull thought
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); }
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.
hello i have problem can you write your discord and i write my problem pls
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.
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! :)
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; } }
How do you make the unity console load so fast? After any change made on C# scripts, it takes forever for it update...
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
How did you assign it to the movement keys???
Help i cant see the movment speed
i have the problem that the tiles dont show up when i'm trying to put these int the Solidobject Layer
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; } }
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; } }
I got a error
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.
Hav you changed pixels per unit in the sprite? 5:25
@@P13DR0 That solved the problem, thank you! Don't know how I missed it.
@@lobbywww Yeah I missed it too XD
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.
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!
Ojalá supiera hablar ingles
Love this tutorial , thanks for making it simple
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
I followed this tutorial to the T. The textbox doesn't show up when interacting, but it writes in the console
you are doing great i am learning allot thanks!
Cool
How do you place a tile behind or in front of another? When you select the square it brings the grey with it.
Been a little while, but did you figure this out?
@@ByThePowerOGreyskul1 I did! Lost some hair in the process :D
@@gamertonic9398 how did you manage it? I spent like 3 hours fiddling around with crap and I'm almost bald :D
@@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.
@@gamertonic9398 thank you!! It's so simple I could kick myself
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?
Try it with the “L” in overlap as a lowercase
@@maxthullen6408 it didnt work, do you got anything else?
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.
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.
I hope you're doing well, take as long as you need to come back friend
Very cool videos, they helped me a lot. Thank you! I'm looking forward to more great videos from you.
Do you have a document with the code completed and typed so we can compare