- 47
- 369 929
Hundred Fires Games
Приєднався 24 бер 2019
This channel is dedicated to helping the game development community to create all types of games!
3D Platformer Unity C# Tutorial - 04.OBJECTS
Welcome to my new 3D Platformer tutorial series!
If you are brand new to Unity, I recommend you check out my How To Make A Game Tutorial For Beginners series, otherwise, follow along with me and make a cool platformer game. We will be using some premade assets from the Asset store, creating a couple assets in Blender, as well as creating our own C# scripts throughout the series. From basic level design to UI, from free assets to custom coding, we will be creating a unique world to explore. Lets have fun, and hopefully learn something new!
How to make a game in unity beginner series: ua-cam.com/play/PLLtCXwcEVtunkLYONWvg7salGzsnYFLas.html
Objects Folder:
drive.google.com/open?id=1kkN_a1ySAxIzBbvxElQ9TrhPuf9dv_71
If you are brand new to Unity, I recommend you check out my How To Make A Game Tutorial For Beginners series, otherwise, follow along with me and make a cool platformer game. We will be using some premade assets from the Asset store, creating a couple assets in Blender, as well as creating our own C# scripts throughout the series. From basic level design to UI, from free assets to custom coding, we will be creating a unique world to explore. Lets have fun, and hopefully learn something new!
How to make a game in unity beginner series: ua-cam.com/play/PLLtCXwcEVtunkLYONWvg7salGzsnYFLas.html
Objects Folder:
drive.google.com/open?id=1kkN_a1ySAxIzBbvxElQ9TrhPuf9dv_71
Переглядів: 804
Відео
3D Platformer Unity C# Tutorial - 03.ASSET CREATION
Переглядів 1385 років тому
Welcome to my new 3D Platformer tutorial series! If you are brand new to Unity, I recommend you check out my How To Make A Game Tutorial For Beginners series, otherwise, follow along with me and make a cool platformer game. We will be using some premade assets from the Asset store, creating a couple assets in Blender, as well as creating our own C# scripts throughout the series. From basic leve...
3D Platformer Unity C# Tutorial - 02.LEVEL SETUP
Переглядів 2675 років тому
Welcome to my new 3D Platformer tutorial series! If you are brand new to Unity, i recommend you check out my How To Make A Game Tutorial For Beginners series, otherwise, follow along with me and make a cool platformer game. We will be using some premade assets from the Asset store, as well as creating our own C# scripts throughout the series. From basic level design to UI, from free assets to c...
3D Platformer Unity C# Tutorial - 01. BEGINNER SERIES
Переглядів 6765 років тому
Welcome to my new 3D Platformer tutorial series! If you are brand new to Unity, i recommend you check out my How To Make A Game Tutorial For Beginners series, otherwise, follow along with me and make a cool platformer game. We will be using some premade assets from the Asset store, as well as creating our own C# scripts throughout the series. From basic level design to UI, from free assets to c...
23: :(
Переглядів 16 тис.5 років тому
Thank you all for following my series! This has been a fun experience for me being able to teach you some of the basics of Unity. Be sure to keep an eye out for more tutorials coming in the future. Thanks again for watching!
Topdown 2D RPG In Unity - 22 Player Stats
Переглядів 10 тис.5 років тому
In this video, we will be setting up our leveling system so our player can grow stronger.
Topdown 2D RPG In Unity - 21 KnockBack
Переглядів 13 тис.5 років тому
Check out my latest video! : "Topdown 2D RPG In Unity - 22 Player Stats" ua-cam.com/video/9eh41WPlD_g/v-deo.html ~ In this video, we will be adding a knock back effect to our enemy when we attack.
Topdown 2D RPG In Unity - 20 Attacking the Enemy
Переглядів 9 тис.5 років тому
Check out my latest video! : "Topdown 2D RPG In Unity - 22 Player Stats" ua-cam.com/video/9eh41WPlD_g/v-deo.html ~ In this video we will be attacking and killing our enemy using our new attack animations.
Topdown 2D RPG In Unity - 19 Attacking
Переглядів 23 тис.5 років тому
Check out my latest video! : "Topdown 2D RPG In Unity - 22 Player Stats" ua-cam.com/video/9eh41WPlD_g/v-deo.html ~ In this video, we will be finally attacking our skeleton enemy! We will use a C# script to control our attack animations.
Topdown 2D RPG In Unity - 18 More Animations
Переглядів 5 тис.5 років тому
Check out my latest video! : "Topdown 2D RPG In Unity - 22 Player Stats" ua-cam.com/video/9eh41WPlD_g/v-deo.html ~ In this video, we will setting up our attack animations. We will use a blend tree to control which direction we want to attack in.
Topdown 2D RPG In Unity - 17 Hurt Flash
Переглядів 3,7 тис.5 років тому
Check out my latest video! : "Topdown 2D RPG In Unity - 22 Player Stats" ua-cam.com/video/9eh41WPlD_g/v-deo.html ~ In this video, we will be adding in a simple flash effect so we can visualize when we get hurt.
Topdown 2D RPG In Unity - 16 Health Bar
Переглядів 4,9 тис.5 років тому
Check out my latest video! : "Topdown 2D RPG In Unity - 22 Player Stats" ua-cam.com/video/9eh41WPlD_g/v-deo.html ~ In this video, we will be creating a basic health bar to display our health.
Topdown 2D RPG In Unity - 15 Health System
Переглядів 6 тис.5 років тому
Check out my latest video! : "Topdown 2D RPG In Unity - 22 Player Stats" ua-cam.com/video/9eh41WPlD_g/v-deo.html ~ In this video, we will create a simple health system for our player with a new C# script.
Topdown 2D RPG In Unity - 14 Hurt Player
Переглядів 7 тис.5 років тому
Check out my latest video! : "Topdown 2D RPG In Unity - 22 Player Stats" ua-cam.com/video/9eh41WPlD_g/v-deo.html ~ In this video, we will be using a new C# script to hurt our player.
Topdown 2D RPG In Unity - 13 Annoying Warnings
Переглядів 3,4 тис.5 років тому
Check out my latest video! : "Topdown 2D RPG In Unity - 22 Player Stats" ua-cam.com/video/9eh41WPlD_g/v-deo.html ~ In this video, we will be fixing those annoying warnings that keep randomly popping up.
Topdown 2D RPG In Unity - 12 Enemy AI
Переглядів 27 тис.5 років тому
Topdown 2D RPG In Unity - 12 Enemy AI
Topdown 2D RPG In Unity - 11 Enemy Animations
Переглядів 11 тис.5 років тому
Topdown 2D RPG In Unity - 11 Enemy Animations
Topdown 2D RPG In Unity - 10 Area Transitions
Переглядів 12 тис.5 років тому
Topdown 2D RPG In Unity - 10 Area Transitions
Topdown 2D RPG In Unity - 09 Camera Bounds
Переглядів 13 тис.5 років тому
Topdown 2D RPG In Unity - 09 Camera Bounds
Topdown 2D RPG In Unity - 08 Minor Fixes
Переглядів 7 тис.5 років тому
Topdown 2D RPG In Unity - 08 Minor Fixes
Topdown 2D RPG In Unity - 07 Collisions
Переглядів 17 тис.5 років тому
Topdown 2D RPG In Unity - 07 Collisions
Topdown 2D RPG In Unity - 06 Camera Follow
Переглядів 42 тис.5 років тому
Topdown 2D RPG In Unity - 06 Camera Follow
Topdown 2D RPG In Unity - 05 Tilemaps
Переглядів 19 тис.5 років тому
Topdown 2D RPG In Unity - 05 Tilemaps
Topdown 2D RPG In Unity - 03 Animation
Переглядів 15 тис.5 років тому
Topdown 2D RPG In Unity - 03 Animation
Topdown 2D RPG In Unity - 04 Idle & Face Correct Direction
Переглядів 25 тис.5 років тому
Topdown 2D RPG In Unity - 04 Idle & Face Correct Direction
Topdown 2D RPG In Unity - 02 Movement
Переглядів 20 тис.5 років тому
Topdown 2D RPG In Unity - 02 Movement
Basic Movement Unity3D - Controlling A Player
Переглядів 1035 років тому
Basic Movement Unity3D - Controlling A Player
How to make A Video Game in Unity - BUILD (E18)
Переглядів 2095 років тому
How to make A Video Game in Unity - BUILD (E18)
How to make A Video Game in Unity - END GAME (E17)
Переглядів 1005 років тому
How to make A Video Game in Unity - END GAME (E17)
If your using a version of Unity that's updated to use TextMeshPro make sure to add "usingTMPro;" to the top of your script by the other imports, also instead of "public Text hpType" type "public TextMeshProUGUI hpText" . That should solve any issues you have :)
Damn I followed this tutorial all the way... I guess I am on my own now lol. Thanks Dustin this was a great tutorial
there is a issue when i did the knockback script is that: when i hit the skeleton, he got knockback and he got stuck into the wall. Can you help me with this
im still here
I was stuck in idle and there was no way out, parameters said 1, conditions set to if>1 then walk but nope. Forget the horX vertY stuff. Just say condition IF SPEED >0.1 ! One line, and my player is walking and idling!
It helped!
How do u maked ur enemy follow the player? my script don't show any errors but nothing happend
@@iop313 difference between points. If you still haven't done i can write how i did it
@@gxplay2270 It Ok man The day afther it work
Thank you so much for helping me understand programming a lot more. I am currently developing a small demo for a school project and you helped my out a ton. The way you explained every step helped me find my passion in programming :). I do actually hope that we could be seeing something new from you in the Future even if it has been 4 years since you posted this video!
I love your videos, but the intro sound volume is too loud and your audio voice is so low.
what if it is text mash pro?
Oh also great video I really needed this keep up the good work man! I am a begginer, thanks!
what version are you using
the new version of unity provide TextMeshPro instead of text, so to catch the reference you need to use public TextMeshProUGUI hpText; instead of public Text hpText; Also, add using TMPro; to the top lines next to using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI;
With this, I get the tile problem again in the previous video of gaps between tiles when I bump into something. With the various fixes, the material fix and setting the output to 1920x1080, texture is set to point, some of the tearing went. However to fix it with this, I had to create a Sprite Atlas. You just create one, drag your overworld texture file into it and set the properties on it to compression none and filter mode to point, and it seems to resolve all the issues.
Rather than duplicate the last frame, you can check the 'Loop Pose' option in the inspector when you navigate to your Animation folder and click on your animation. You can also avoid dragging out the frames and instead set the Speed property by opening the Animator window and clicking on your state (e.g. WalkUp). (These might be recent additions to unity)
if your diagonal idles not wroking, but up,down,left,right idles are working fine, then change this code: in script, in update() when you SetFloat to lastMoveX and lastMoveY, instead of using 'GetAxisRaw' use 'GetAxis'
how to deal with new input system, my diagonal idle wont work using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.InputSystem; public class PlayerController : MonoBehaviour { [SerializeField] private float moveSpeed = 2f; private Vector2 movement; private Rigidbody2D rb; private Animator animator; private void Awake() { rb = GetComponent<Rigidbody2D>(); animator = GetComponent<Animator>(); } private void OnMove(InputValue value) { movement = value.Get<Vector2>(); animator.SetFloat("Horizontal", movement.x); animator.SetFloat("Vertical", movement.y); animator.SetFloat("Speed", movement.sqrMagnitude); if (movement.x == 1 || movement.x == -1 || movement.y == 1 || movement.y == -1) { animator.SetFloat("LastMoveHorizontal", movement.x); animator.SetFloat("LastMoveVertical", movement.y); } } private void FixedUpdate() { rb.MovePosition(rb.position + moveSpeed * Time.fixedDeltaTime * movement); } }
u saved my life <3
thank you so much
guys i got a problem, with the new generation of unity your can not just put some text on the healthBar. there is legacy text ( which doesnt work) or text mesh pro (who doesnt work neither).. what do i do guys heeeeeeeeelp plz
Yes i have this probl3m as well, and I didn't know what to do, did you sort this out
I just used the Legacy version and followed the guide, it allowed me to drag the Text into the box and it updated the values, it just doesnt look as crisp and fresh but it does still work
Although this was 4 years ago, it still helped get these animations right, very well teaching and explaining, Thank you, though I got issues of all of my direction is inverted 😂and have no idea how to fix it.
When I press T to use the attack I get an error: "Parameter 'isAttacking' does not exist." I have created the keydown event and setbool in the playerController but it is not working as intended.
Wow... Realized this issue was all because I had put a space after the phrase 'isAttacking" in the parameters list for the animator. LOL
Copied 5 tutorials word for word and never worked. Thanks bro
Thanks a lot!
Thanks very much for making this tutorial.
If anyone else has had the problem of your character facing in the wrong direction when hit play -- a sprite's animation will default to the very first animation created for it, and I don't believe there's any way to change it after the fact. So when you start making animations for your character, make sure the first one you create is the one you want it to be by default.
hw would you organize the transitions, like if you had 50
ı wonder why it doesnt work if ı divide horizontal and vertical if controls. only the first if control works and it only face horizonal idles
im so sad even after 3 years later T-T this help me alaot bro, love you:((
TYAHK U
Also how do you make it so you can go behind the barn? Or like jump on top of stuff?
Why do we have to set the rigid body collision type to kinematic? Can't we just delete the rigidbody component all together?
i couldn't fix the health continuously going down and the bool isTouching not setting on false even if i wrote the same code(checked multiple times) anyone help?
The best tutorials i've found, thank you so much!
The condition in line 21 will always be met. Vector3 targetPosition = new Vector3(target.position.x, _target.position.y, transform.position.z); it need to raise above the condition, and compare with targetPosition
great video! But for some reason my idle diagonals won't work. they work very occasionally which makes me even more confused.
I have found they work if you let go of both directional buttons at EXACTLY the same time, which comes down to hundredths of a second. It will otherwise default to either one.
I just read that it worked for someone changing the SetFloat of ''lastMoveX'' and ''lastMoveY'' to Input.GetAxis instead of Input.GetAxisRaw ... I don't know if it actually works but you can try
Thank you awsome tutorial respect
you are a great person, your video tutorials are very detailed and easy to understand, thank you very much
These are super helpful for top down rpgs. There are lots of top down shooting tutorials, but top down melee is surprisingly hard to find. Thanks!
Doing this in 2023. I'm not getting these warnings and have not set values in the script. I am working with Unity 2021.3.18f1 and Visual Studio 2022 17.4.5. It could be that VS has resolved this bug. I'm not sure if this helps but I also put my [SerializeField] and private float nameOfVariable; on the same line like this: [SerializeField] private float speed;
VERY EASY AND STRAIGHTFORWARD TUTORIAL EVER BRO. HOW DO I DONATE SOME $ FOR YOUR TIME AND DEDICATION. YOU ARE REALLY HELPING ME LEARN TO CREATE MY WORLD
Making people sad and happy after years. This was fun to follow and was just the right pace for me.
it is so sad news 😭
Awesome thanks
awesome vid
3 years out and I am currently doing your 2D game tutorial. I have learned a lot from your series and I am not sure what you are doing now with your time, but you are a very good teacher and I would consider tutorial videos again if I were you. Thank you for the great instructions throughout everything!
its Great!😎ахуенно
public class CameraMovement : MonoBehaviour { public Transform target; void Update() { transform.position = new Vector3(target.position.x, target.position.y, -10); } } make sure to drag the player into the target box in the inspector (:
Not all heroes wear caps👑
THANK YOU
This is really helpful,, Thanks bro👍👍👍
After setting the boundaries my camera doesn’t follow the player anymore
Help It doesn’t the play the down l or up l/r animation when I’m moving diagonal .
Really easy to implement, used part of your method to make it work with my 2D character.. Really appreciate it man, thanks for positing this 3 years ago, hope you're doing well... Stay safe 👍
I just switch the trigger position, the first is to Move Right and the second is Move Left, is working.