Ads skipped

Unity Player Health and Health bar Tutorial

34K views · Mar 22, 2022 · Gaming

Comments · 58

  • @t.b.g113 · 4 years ago (edited)

    Bro...How come no one on YouTube explain Unity Tutorials as simple as you!? I literally found you by an accident while looking through a million video on how to move my character in a platformer way! I can&apos;t believe i will witness a great channel like yours grow slowly from the start<br><br>I already know how to make a health bar...But i really should have waited for you it&apos;s Alot leas complicated your way<br><br>Edit:I have just realized the 360 Slide from your video thx so much pro❤️❤️

    17

  • @cheery-hex · 4 years ago

    thank you muchly!! tried several others but always ran into roadblocks.. yours stuff is super easy to follow! works every time &nbsp;:)

    2

  • @ftdtxiace5829 · 4 years ago

    THANKS BLAKEY! I finally got it to work.

    1

  • @donutercz · 3 years ago

    Bro thank you so much, you saved me so many hours

  • @dandidan123 · 4 years ago

    you are the best develeper

    4

  • @angiebui2887 · 2 years ago

    Thanks so much! Great tutorial!

  • @bluaurax · 2 years ago

    Phenomenal video bro!

  • @ilypavan · 3 years ago

    Enjoying

  • @ZFilms-AT · 2 years ago

    Thanks!

  • @Mintypeets · 4 years ago (edited)

    <a href="https://www.youtube.com/watch?v=bRcMVkJS3XQ&amp;t=113">1:53</a> that would have been so usefull back when i made games with unity! i used to spend so much time adjusting the position of my menu buttons and then having to test it out and again and again xD<br>very nice tutorial dude!

    1

  • @galberger3937 · 2 years ago

    Hi.<br>Can you shoe how to create items that can be pickued up and increse player health?

    1

  • @mrlongchops3758 · 1 year ago

    The image field wont appear<br>CODE:<br>using UnityEngine; <br>using UnityEngine.UI; <br>using System.Collections; <br>using System.Collections.Generic; <br> <br>public class playerhealth : MonoBehaviour <br>{ <br> &nbsp; &nbsp;public float health; <br> &nbsp; &nbsp;public float maxhealth; <br> &nbsp; &nbsp;public Image healthbar; <br> &nbsp; &nbsp;// Start is called once before the first execution of Update after the MonoBehaviour is created <br> &nbsp; &nbsp;void Start() <br> &nbsp; &nbsp;{ <br> &nbsp; &nbsp; &nbsp; &nbsp;maxhealth = health; <br> &nbsp; &nbsp;} <br> <br> &nbsp; &nbsp;// Update is called once per frame <br> &nbsp; &nbsp;void Update() <br> &nbsp; &nbsp;{ <br> &nbsp; &nbsp; &nbsp; &nbsp;healthbar.fillAmount = mathF.Clamp(health / maxhealth, 0, 1); <br> &nbsp; &nbsp;} <br>}

Up next

LIVE

Unity 2D Player Move and Jump with Groundcheck Tutorial

MoreBBlakeyyy · 69K views

LIVE

Health Slider Bar (Unity Tutorial)

Night Run Studio · 17K views

LIVE

Unity 2D Player Animations Tutorial

MoreBBlakeyyy · 11K views

LIVE

Rockstar is freaking out now..

Asmongold Clips and Asmongold TV · 974K views

LIVE

Trump Pushes Jensen Huang NVIDIA Return, Says "Sex Sells" & He "Protected" Elon Musk: A Closer Look

Late Night with Seth Meyers · 247K views

LIVE

How to make AWESOME Scene Transitions in Unity!

Brackeys · 1M views

LIVE

TOP DOWN Movement - Unity Tutorial

Sasquatch B Studios · 42K views

LIVE

GAME 1343 - Combat Upgrade: Health & Health Bars

NCTC Game Development · 12 views

LIVE

Player Health System #1: Taking Damage (Unity Tutorial)

Night Run Studio · 41K views

LIVE

Unity 2D Smooth Camera Follow Tutorial

MoreBBlakeyyy · 11K views

LIVE

How to Import a 2D Character Sprite Sheet and Use in a GameObject in Unity (2021)

Chris' Tutorials · 236K views

LIVE

6 Minute PAUSE MENU Unity Tutorial

BMo Dev · 147K views

LIVE

Improve your Platformer’s Jump (and Wall Jump) | Unity

Dawnosaur · 213K views

LIVE

Fade UI & Scene Transitions In Unity (Coroutines & Canvas Groups)

SpeedTutor · 10K views

LIVE

JENSEN RETURNS TO NVIDIA. THE CIRCUS MUST CONTINUE.

Gamers Nexus · 612K views

LIVE

A Great Way To Setup POWERUPS In Your Unity Game

BMo Dev · 98K views

LIVE

Update from Ukraine | Putin Is Losing Control! Ukraine Strikes Again: Oil Refineries and Ships

Denys Davydov · 437K views

LIVE

Creating SMART enemies from scratch! | Devlog

Challacade · 602K views

LIVE

Simple collectible coin system Unity Tutorial

MoreBBlakeyyy · 60K views

LIVE

Game Over Screen Unity Tutorial

MoreBBlakeyyy · 70K views

YouTube, with the door locked.

Aegis plays a clean stream instead of YouTube's player, so pre-roll ads, trackers, and fingerprinting never ride along. Drop Shields any time if you want the official player back.