If you're getting "The type or namespace name 'Image' could not be found" make sure to include using UnityEngine.UI (Check line 2 at 7:59 for reference) ● Support the channel on Patreon or UA-cam: www.patreon.com/pandemonium_games ua-cam.com/channels/pkMj5b5kl2_YApDvgUCVQQ.htmljoin ● Subscribe to the Weekly Pandemonium Newsletter: www.pandemonium-games.com/#:~:text=About%20Me-,Weekly%20Pandemonium,-Subscribe%20to%20our
You doing a great job. We as the viewers can always pause or rewind. :) The main goal is information, and you convey it perfectly. And oh God, the scripts, the fact that you give access to them, really saves endless hours for newbies. This makes your videos much (MUCH) more useful than all the tutorials that are without scripts.
I will admit that I do find myself rewinding quite a bit, but I feel that overall the pacing is fairly good and that if somebody misses something they can simply rewind.
It's nice revisiting these tutorials years later to see how much I have improved. This also allows me to appreciate just how good you are. Will forever be grateful for this series.
Hey, if anybody doesn't like the collider on the saw, and you can't change it the way you want it to be because it has a box collider 2D, then you can add an "Edge Collider 2D" and then edit the collider on the saw the way you want it to be, and don't forget to put "Is Trigger" on the edge collider so it can damage your player. Oh and it's safe to remove the box collider 2D component if you're going to do this.
These videos are amazing, this video series makes Unity way more manageable to grasp. I recently got into learning Swift for iOS and macOS dev, I also mess around with Arduino and the very low-level C programming language it uses, it's cool to see so many similarities in the C# code language and that keeps me motivated and hungry for more. I love your delivery, you keep a fast enough pace to keep it interesting. Thanks so much for the thoroughness in explanation! Subscribed!
As a 3D artist who sometimes does pixel art, I can tell you that making the animations is difficult lmao. However, this tutorial is clear cut, and very easy to follow, as well as being compatible for custom animations.
When recording an animation I found it useful to duplicate the last sprite. For example if the last sprite is on the 0.20 frame, then double it and set new last sprite at 0.24 frame so the duration of each sprite of an animation will be equal. Otherwise the last frame is always shorter than the rest and it results in a bit twitchy animation.
Error CS0246 The type or namespace name 'Image' could not be found (are you missing a using directive or an assembly reference?) i get this error in the Healthbar script. Can't find the reason
Assets\scripts\Healthbar.cs(10,30): error CS0246: The type or namespace name 'Image' could not be found (are you missing a using directive or an assembly reference?) do i have to watch previous tutorials /:
11:42 When did the Transition Structure of the Animator change? I did not see you make a transition from Any state to both Attack and Jump. You only made it for Any State to Jump initially but now out of no where it's changed.
Keep up the great work man! As a ten year old who's been coding for ~5 years, even I was able to get through these videos with my limited attention span!
Not sure if anyone else had this issue but when you add the sorting layers, make sure the global light it set to target all sorting layers, not just the default,. all my sprites we're rendering black when i sorted them into their respective layers since they weren't being targeted by the global light.
I think i lost somewhere but at 11:32 i didnt have the same animations structure as you, I have idle to attack and idle to jump, can i just change the transitions as you have em there? .w.
If all of your sprites are also black find Global Light 2D in the hierarchy and under Light 2D in the inspector set Target Sorting Layers to 'All'. (Or just delete the Global Light 2D object entirely.)
I've noticed in the animator you put an transition from any state to attack? when you did that? I have two transitions from idle to attack and from attack to idle. If I change the transition like yours in 11:20, will it brake the game?
hey im havinga problem that when i damage the player the healthbar wont update and its just stays full health even tho i already damage my character 3x already and the hurt and death animation works fine, its just the health wont decrease.
the saw movement(sideways) worked greatly the first try, but for the next tries it doesnt move anymore. why? edit: I solved it, making the animation dragging the frames like you did somehow also saved the coordinates. I just hade to remake the animation the old way.
guys, just a suggestion cuz i had nothing better to do: at 19:50, you can type transform.position += new vector3(speed * time.deltatime, 0, 0); for getting it a bit compact. same for leftMovement...
This is amazing! I used an enum to create a few different cases and with the damage and health made this awesome. I have an item that does 25 damage every time It hits the object. The object has 100 health and gets down to 0. When it gets down to 0 it should delete itself, but it does not. I have to hit it one more time for it to delete.
@@PandemoniumGameDev yeah i figured it out! I had it set to an if the health is above zero, then an else, so then when the enemy reached zero it didnt reach the else until the next call, so i turned it into a embedded if statement and it works great! Thank you so much for these videos! The way you explain the methods and whatnot really make things click for me.
Please Help!!! at 17:41 the saw is not moving . the player is taking damage but whenever it hits the saw the all the animation stops and freezes at hurt in animator. then only the player can move across the ground without any animation (the animator stops at hurt).
When I die my player still keeps moving while i have this in my script "GetComponent().enabled = false;" The player just walks in the direction of the last pressed button
ive got an animation for my health bar, is there a way i could just have it change to a new sprite on hit as my character will have 5 hits of health before death and ive got 5 different sprites to represent that
Hey ive got a problem after the Healthbar script: Assets\C#\Health\Healthbar.cs(12,50): error CS1061: 'HealthBar' does not contain a definition for 'currentHealth' and no accessible extension method 'currentHealth' accepting a first argument of type 'HealthBar' could be found (are you missing a using directive or an assembly reference?) please help
Health.cs(16,17):error CS0111: Type 'Health' already defines a member called 'TakeDamage' with the same parameter types Health.cs(10,18):error CS0111: Type 'Health' already defines a member called 'Awake' with the same parameter types I'm struggling with this an I don't know what to do about it, please help🙏
Hey. I'm loving those unity tutorials. They are teaching me a lot. I've heard that a lot of people use Aseprite as well to help with art stuff. I've also used it to design the health bar needed in this tutorial. Do you recommend Aseprite? and what program do you use?
I don't do pixel art tbh, I use Inkscape but my experience as an artist is very, very limited. I heard good things about Aseprite from good artists though, so give it a shot if you didn't already :D
after using the {get; private set;} it says healthbar does not contain a def for 'currentHealth' and no accessible extension method 'currentHealth' accepting a first argument of type 'Healthbar' could be found any reason why this could be happening?
привет! у меня немного другой скрипт..и когда я добавил ваш у моего персонажа проигрывается анимация смерти, но он просто начинает перемещаться в бок..в чем может быть проблема?
Your videos are saving my project! Really big help ; if I want to implement a second player, what are the big things I need to look out for when re-using the scripts (apart from the right tags and calling the right script names). Big fan really like your personality keep up the good work :)
Thanks a million for the support! Well first of all you'll need to set different controls for each player(movement, attack etc). Other than that you need to create another UI object for the second player health, the rest of the scripts should work fine the way they are.
whenever i take damage from trap, my game stops and throws me this error NullReferenceException: Object reference not set to an instance of an object Health.TakeDamage (System.Single _damge) (at Assets/Scripts/Health.cs:25) Trap.OnTriggerEnter2D (UnityEngine.Collider2D collision) (at Assets/Scripts/Trap.cs:12)
If it happens that at the moment when you are injured and you have the last health, if you run into a saw and you accidentally pick up a heart that happens to be nearby, the player will die but you will be given a heart. So it's a bug - and it should be fixed.
And I think it would be good to add some max-health. I mean why those eight extra sprites that are hidden? unless maybe in the future you will add that there is a maxhealth?
Great tutorial ! how would you go for making the Saw moving up and down ? I've tried copying the scripts logic and changing the transform.position.y, but the saw went up and never came back -_-. What am I missing ?
I got a new problem haha, i got an error that says that 'image' does not contain a definition for 'fillAmount' and no accesible extension method 'fillAmount' accepting a first argument of type 'image' could be found.
Never mind I fixed it 👍it’s something with the target display in the canvas I had my camera display on 2 and the target display was 1 in the canvas just changed it to target display 2 good tutorial by the way
some one please help i get an error with the hurt and die animation it says object referance not set to an instance of an object for 3 lines of code 1: anim.GetComponent(); 2: anim.SetTrigger("hurt"); 3: anim.SetTrigger("die"); im almost having to give up on the project because i cant find out what is wrong also i made sure that the hurt and die animations are spelt the same in the animator window and my code
I was following your tutorial, and an issue that came up was that the player was not taking damage from the saw and wasn't interacting with the line of sight mechanism for the melee enemy. Would u a solution to fix this?
I have this weird thing happening where the saw is working perfectly, showing up perfectly in Scene mode, but not game mode😂 Probably something dumb I'm overlooking. And it doesn't matter what sorting layer I have on it, no show on game view. Thanks!
Assets\Scripts\Health\Healthbar.cs(17,52): error CS1061: 'Health' does not contain a definition for 'currenthealthBar' and no accessible extension method 'currenthealthBar' accepting a first argument of type 'Health' could be found ( i dont know what is wrong)
Did you call the Health script exactly like that? This error usually pops up when you change the names of the script or just call it differently from the start.
If you're getting "The type or namespace name 'Image' could not be found" make sure to include using UnityEngine.UI (Check line 2 at 7:59 for reference)
● Support the channel on Patreon or UA-cam: www.patreon.com/pandemonium_games
ua-cam.com/channels/pkMj5b5kl2_YApDvgUCVQQ.htmljoin
● Subscribe to the Weekly Pandemonium Newsletter: www.pandemonium-games.com/#:~:text=About%20Me-,Weekly%20Pandemonium,-Subscribe%20to%20our
You doing a great job. We as the viewers can always pause or rewind. :) The main goal is information, and you convey it perfectly.
And oh God, the scripts, the fact that you give access to them, really saves endless hours for newbies. This makes your videos much (MUCH) more useful than all the tutorials that are without scripts.
@@MusicFlowDaily Highly appreciated, very glad I'm helping. Let me know if you have any issues.
I will admit that I do find myself rewinding quite a bit, but I feel that overall the pacing is fairly good and that if somebody misses something they can simply rewind.
is this some kind of sick joke
@@baseddino huh?
It's nice revisiting these tutorials years later to see how much I have improved. This also allows me to appreciate just how good you are. Will forever be grateful for this series.
Hey, if anybody doesn't like the collider on the saw, and you can't change it the way you want it to be because it has a box collider 2D, then you can add an "Edge Collider 2D" and then edit the collider on the saw the way you want it to be, and don't forget to put "Is Trigger" on the edge collider so it can damage your player. Oh and it's safe to remove the box collider 2D component if you're going to do this.
Thanks. Didn't realise there were more colliders. There's a wheel collider at the bottom so that could be fitting for this circular saw
Thanks forever
A new Brackeys is here! Thank you!
Thank you very much, man! Your help to grow future game developers is invaluable
These videos are amazing, this video series makes Unity way more manageable to grasp. I recently got into learning Swift for iOS and macOS dev, I also mess around with Arduino and the very low-level C programming language it uses, it's cool to see so many similarities in the C# code language and that keeps me motivated and hungry for more. I love your delivery, you keep a fast enough pace to keep it interesting. Thanks so much for the thoroughness in explanation! Subscribed!
Thanks a lot, good luck with it and let me know if need help :)
I Lost Intrest in Unity few months ago but this tutorial is regerating my Intrest. Thank you for this best content! Love You
oh man, it's Zelda's health system. So cool. I love it
Hey! loving the series so far, i've dabbled with a few other styles of games but never a platformer! Will you be continuing this series?
Yes, episode 8 will be about iFrames and 2 new types of enemies.
Not gonna lie ..i am just watching this one...and its so cool...its just PERFECT MAN!..THANKS A TON
I made a mistake when i changed the layering i forgot to add a layer for fire ball so they were not showing lol just a tip just incase
As a 3D artist who sometimes does pixel art, I can tell you that making the animations is difficult lmao. However, this tutorial is clear cut, and very easy to follow, as well as being compatible for custom animations.
When recording an animation I found it useful to duplicate the last sprite. For example if the last sprite is on the 0.20 frame, then double it and set new last sprite at 0.24 frame so the duration of each sprite of an animation will be equal. Otherwise the last frame is always shorter than the rest and it results in a bit twitchy animation.
Error CS0246 The type or namespace name 'Image' could not be found (are you missing a using directive or an assembly reference?) i get this error in the Healthbar script. Can't find the reason
ok i found the problem. i didn't add the UnityEngine.UI line on top
@@Geckotr Thank you!! I missed that detail as well
your tutorials make it simple and fun to learn unity!
If anyone has a problem with the Saw not moving, just set MovingLeft bool as true and that should be it.Btw great tutorials
Assets\scripts\Healthbar.cs(10,30): error CS0246: The type or namespace name 'Image' could not be found (are you missing a using directive or an assembly reference?)
do i have to watch previous tutorials /:
someone else had the same problem you need "using UnityEngine.UI;"
11:42 When did the Transition Structure of the Animator change? I did not see you make a transition from Any state to both Attack and Jump. You only made it for Any State to Jump initially but now out of no where it's changed.
I was really confused by this
@@ngaophongvan3116 I was too but its working right??
If you want the "die" animation to look better then just add "None" sprite in the last key of die animation 😄
I have added the die animation but I'm not getting in the game
Thank you very much for these courses you have done here. It makes me very eager to do projects with unity.
Keep up the great work man! As a ten year old who's been coding for ~5 years, even I was able to get through these videos with my limited attention span!
Not sure if anyone else had this issue but when you add the sorting layers, make sure the global light it set to target all sorting layers, not just the default,. all my sprites we're rendering black when i sorted them into their respective layers since they weren't being targeted by the global light.
my health bar aint taking damage can someone please help me ive tried everything
I miss the "Mission passed. Respect +1" outro. It was really rewarding.
Gotta bring it back for future videos
thx a lot! i also added a weak heart that gives you a half a ordinary heart! :) :) :)
You could change position of saw just by adding sinus function of time to initial saw position, but your approach is also good
I think i lost somewhere but at 11:32 i didnt have the same animations structure as you, I have idle to attack and idle to jump, can i just change the transitions as you have em there? .w.
I suspect that was somthing he was working on off camera? I noticed that also, but I'm keeping mine the way we set it earlier just in case :)
@@scorpiusjones5436same issue here
I think i can just go on.
God helps😂
such a good video, also your pacing is fine, I watch your videos on 1.5x sometimes 1.75x speed haha.
I also think it's a bit slow, but hey I'm not a beginner 😁
Great content. Im new to the channel, and have been following along with about one video per night. Learning a lot, hoping to learn more!
Awesome, you're a champ!
this is the most organized thing ever
If all of your sprites are also black find Global Light 2D in the hierarchy and under Light 2D in the inspector set Target Sorting Layers to 'All'. (Or just delete the Global Light 2D object entirely.)
Thank you for making these videos! They're a lot of help
I've noticed in the animator you put an transition from any state to attack? when you did that? I have two transitions from idle to attack and from attack to idle. If I change the transition like yours in 11:20, will it brake the game?
I have the exact same problem! And yeah it did break the game
Same problem
Same problem god hellllp
hey im havinga problem that when i damage the player the healthbar wont update and its just stays full health even tho i already damage my character 3x already and the hurt and death animation works fine, its just the health wont decrease.
the saw movement(sideways) worked greatly the first try, but for the next tries it doesnt move anymore. why?
edit: I solved it, making the animation dragging the frames like you did somehow also saved the coordinates. I just hade to remake the animation the old way.
guys, just a suggestion cuz i had nothing better to do:
at 19:50, you can type transform.position += new vector3(speed * time.deltatime, 0, 0); for getting it a bit compact. same for leftMovement...
Good suggestion
A reminder if the health bar doesn't work for you: Link the scripts to your player!
And then link things to the script (images, health)
"I really love you, man. If someday you come to Argentina, I'll invite you to an 'Asado'."
Best thing I heard in a while, thank you!
This is amazing! I used an enum to create a few different cases and with the damage and health made this awesome. I have an item that does 25 damage every time It hits the object. The object has 100 health and gets down to 0. When it gets down to 0 it should delete itself, but it does not. I have to hit it one more time for it to delete.
Id love to send it to you on discord if you were up for it
In this case check your if statement. I think you set are checking currentHealth
@@PandemoniumGameDev yeah i figured it out! I had it set to an if the health is above zero, then an else, so then when the enemy reached zero it didnt reach the else until the next call, so i turned it into a embedded if statement and it works great! Thank you so much for these videos! The way you explain the methods and whatnot really make things click for me.
I can't drag the HealthBar image to HealthbarTotal at 6:55. It just displays Healthbar_0 instead. How can I fix it?
This is an amazing tutorial! 10/10
I’m having trouble getting the heart to add health 😢. All the code looks exactly the same to me. Please helppp
About the die animation, when I tried it, it plays while the Player is jumping, idle, and running, but not while hanging on a wall (wall jump).
Really really thanks for making these videos... It really helps in understanding the topic
finally finished this point
When i select the 'set native size' the heart remains single. (Not becoming 10)
You probably dragged in the single heart sprite, not the healthbar
@PandemoniumGameDev no I didn't,
Nevermind I somehow solved it. Best tutorial btw
@@lucifergamer4067 what did you do to solve it? I have the same problem
@marcnicholejasmin2253 select multiple in image edited tab
@@lucifergamer4067 mine is automatically set to multiple, and now i tried to set it on single then the problem was solved HAHAHAHA
Well done tutorials. Thank you.
Glad it was useful, thanks for watching them!
Great content, thank you!
Thank you my RASSIAN friend!
😂I'm not russian, although I'm very glad to help!
I got an error saying for the healthbar at script saying that’s there’s no image origin what do I do??
at 8:02 type using unity engine .ui at the top it should fix it
I have a question about the saw thing, what should I put in my code if I wanted the saw to face the direction that it is moving towards.
i need the answer too XD
Please Help!!! at 17:41 the saw is not moving . the player is taking damage but whenever it hits the saw the all the animation stops and freezes at hurt in animator. then only the player can move across the ground without any animation (the animator stops at hurt).
When I die my player still keeps moving while i have this in my script "GetComponent().enabled = false;"
The player just walks in the direction of the last pressed button
had this issue too but then I turned exit time to 0 and transition duration to 0 which resolved the issue for me.
don't worry, that's normal because you don't have a death animation yet and "zaros3433k" (the previous reply) is probably right
when did he change the transitions from idle - attack to anystate - attack? did i miss something?
Same problem
bruhhhh. same problem
ive got an animation for my health bar, is there a way i could just have it change to a new sprite on hit as my character will have 5 hits of health before death and ive got 5 different sprites to represent that
Thank you so much for this video!
Thank you , you helped me so much ❤
@@salsdding6724 you're very welcome 🙌
Hey ive got a problem after the Healthbar script: Assets\C#\Health\Healthbar.cs(12,50): error CS1061: 'HealthBar' does not contain a definition for 'currentHealth' and no accessible extension method 'currentHealth' accepting a first argument of type 'HealthBar' could be found (are you missing a using directive or an assembly reference?)
please help
Did you find the fix as ive got the same error?
my player is not taking damage from saw ; after enabiling isTrigger on in saw; pls help me out
Health.cs(16,17):error CS0111: Type 'Health' already defines a member called 'TakeDamage' with the same parameter types
Health.cs(10,18):error CS0111: Type 'Health' already defines a member called 'Awake' with the same parameter types
I'm struggling with this an I don't know what to do about it, please help🙏
i got another problem that the saw is not showing in the game screen but the player is getting damage when go through it?????😒😒😒😒😒😒
Check the sprite renderer component and change the sorting layer
@@PandemoniumGameDev thanks bro but it was the z-axis btw are you making some new same type of videos for beginners???🥲🥲
@@Game-rw1ov you can try the new top down series, it's a bit more complex though
i can see my heart bar in the Game view but not in the Scene view. Can someone help?
try to zoom out the scene
Hey. I'm loving those unity tutorials. They are teaching me a lot. I've heard that a lot of people use Aseprite as well to help with art stuff. I've also used it to design the health bar needed in this tutorial. Do you recommend Aseprite? and what program do you use?
I don't do pixel art tbh, I use Inkscape but my experience as an artist is very, very limited. I heard good things about Aseprite from good artists though, so give it a shot if you didn't already :D
Hello, what should I do when I downloaded the healthbar.png, but when I add it unity, only 1 heart is displayed instead of 10?
Check the import settings on the sprite, maybe it's set to multiple, change it to single
Works Great!
after using the {get; private set;} it says healthbar does not contain a def for 'currentHealth' and no accessible extension method 'currentHealth' accepting a first argument of type 'Healthbar' could be found
any reason why this could be happening?
Подскажите. Почему у меня healthbar движется вместе с камерой и персонажем?? Как исправить?
Great video bro
in the script, what was the image private? I tried to do it and it said the the namespace couldn't be found
Hey, can you please tell me why does my character fall off forever whenever I touch any object with Box Collider 2D (is trigger ON)? PLEASE HELP
привет! у меня немного другой скрипт..и когда я добавил ваш у моего персонажа проигрывается анимация смерти, но он просто начинает перемещаться в бок..в чем может быть проблема?
So how would I be able to make a health bar without the filler tool, specifically using different images every time I take damage
Your videos are saving my project! Really big help ; if I want to implement a second player, what are the big things I need to look out for when re-using the scripts (apart from the right tags and calling the right script names). Big fan really like your personality keep up the good work :)
Thanks a million for the support!
Well first of all you'll need to set different controls for each player(movement, attack etc).
Other than that you need to create another UI object for the second player health, the rest of the scripts should work fine the way they are.
A big help for me was:
[SerializeField] private KeyCode left;
this permits you to get inputs from specific keys at one time
whenever i take damage from trap, my game stops and throws me this error
NullReferenceException: Object reference not set to an instance of an object
Health.TakeDamage (System.Single _damge) (at Assets/Scripts/Health.cs:25)
Trap.OnTriggerEnter2D (UnityEngine.Collider2D collision) (at Assets/Scripts/Trap.cs:12)
I just made Animator public from private in Health script and somehow it worked!! IDK what happened ? Could you explain me ??
i have the same problem wdym you set animator to public how did u do that
If it happens that at the moment when you are injured and you have the last health, if you run into a saw and you accidentally pick up a heart that happens to be nearby, the player will die but you will be given a heart. So it's a bug - and it should be fixed.
And I think it would be good to add some max-health. I mean why those eight extra sprites that are hidden? unless maybe in the future you will add that there is a maxhealth?
thank you for helping me from uas, glad i fnd this channel
Glad you found it too! Good luck learning
Hello, i want to ask why did the saw disappear on game but it's appear on scene, it became invisible deadly trap
My Healthbar script, has an error, It shows error C0246: Type or namespace name "image" could not be found
I remember you said in one spisode „you can do that if youre a massacist“ Hashshahhahs and i dobt know why its so funny for me now lol
Great tutorial ! how would you go for making the Saw moving up and down ? I've tried copying the scripts logic and changing the transform.position.y, but the saw went up and never came back -_-. What am I missing ?
I don’t have any anchor presets icon or menu when setting the anchor
If i also have jump animation which is also transit from any state, it wont trigger hurt animation during jumping animation. Any idea how to fix that?
Something is wrong with the script whenever I am trying to make an enemy to do damage to me it doesn't work.
It keeps saying 'tyoe or namespace name 'Health' could not be found. What does this mean? What do I need to do?
my die animation doesnt work I did everything you do but it doesnt trigger the animation
I got a new problem haha, i got an error that says that 'image' does not contain a definition for 'fillAmount' and no accesible extension method 'fillAmount' accepting a first argument of type 'image' could be found.
Hi I just can’t see the hearts in the game scene can anyone help me with that everything else is fine.
Never mind I fixed it 👍it’s something with the target display in the canvas I had my camera display on 2 and the target display was 1 in the canvas just changed it to target display 2 good tutorial by the way
At 10.26 when I start my health bar starts of black and I press E and nothing happens but I’m not sure what I did wrong
some one please help i get an error with the hurt and die animation it says object referance not set to an instance of an object for 3 lines of code
1: anim.GetComponent();
2: anim.SetTrigger("hurt");
3: anim.SetTrigger("die");
im almost having to give up on the project because i cant find out what is wrong also i made sure that the hurt and die animations are spelt the same in the animator window and my code
2 months gone by and im still stuck on this error
omg fixed it under private void awake i put anim.GetComponent(); instead of anim = GetComponent(); idk weather to be sad or happy rn
i can pick up health, every system works, but i can't see the health that i'm picking up (the image doesn't show when i run the game)
Maybe your Sprite Renderer -> order in Layer is the reason?
I was following your tutorial, and an issue that came up was that the player was not taking damage from the saw and wasn't interacting with the line of sight mechanism for the melee enemy. Would u a solution to fix this?
I have this weird thing happening where the saw is working perfectly, showing up perfectly in Scene mode, but not game mode😂 Probably something dumb I'm overlooking. And it doesn't matter what sorting layer I have on it, no show on game view.
Thanks!
Check the Z position of the saw object, it's supposed to be 0.
@@PandemoniumGameDev thank god i had the same issuse right now, love the tutorials btw helping me alot
I dont know why but 11:39my base layer is empty. No entry no idle nothing is there. But my game is working. How can I solve it
I closed unity and reopened it. It solved. I dont know whats the problem but this solved it.
What if the saw takes 2 hearts why is the heart bar not working correctly? Thank you
so when i downloaded this project and open and played in unity fireballs weren't working it just showed some animation
how did you make those hearts perfectly fit in unity slider values??? i was trying to make my own tiles for health, but it didnt worked properly
nevermind, just solve it, but the video is still so good, my case was just a bit different
i did everything that you did and in the final, when i try to pickup the heart, he don't dissapear..
Assets\Scripts\Health\Healthbar.cs(17,52): error CS1061: 'Health' does not contain a definition for 'currenthealthBar' and no accessible extension method 'currenthealthBar' accepting a first argument of type 'Health' could be found ( i dont know what is wrong)
@Nuri Yildiz Thanks Bro!
Thank you so much!
The type or namespace name 'Health' could not be found (are you missing a using directive or an assembly reference?)
????????????????/
Did you call the Health script exactly like that? This error usually pops up when you change the names of the script or just call it differently from the start.