How To Make A Health Bar - Game Dev Tutorial

Поділитися
Вставка
  • Опубліковано 26 жов 2024

КОМЕНТАРІ • 75

  • @tyxorion3608
    @tyxorion3608 4 роки тому +2

    Can you please remake these old vidoes for the new Builbox version.

  • @sthdk7725
    @sthdk7725 5 років тому +2

    So.... Will buildbox update a easier way to do that in the future?

  • @mhk1992
    @mhk1992 7 років тому +10

    since you have made the fonts..why don't you give us the link to download it.. :D

  • @robertsaenz
    @robertsaenz 5 років тому

    So many steps. Finally was able to do it though. It can feel overwhelming to see the video at first. From the beginning there are so many steps ... and when you're new to BB it's very intimidating. But I finally made the thing work so thanks for the video.

  • @huethedev6537
    @huethedev6537 7 років тому +3

    Definitely awesome stuff Zach! Great job, thank you so much! 🤙

    • @Buildbox
      @Buildbox  7 років тому +2

      +Hue TheDev thank YOU, hue! (Totally rhymed)

  • @AaroArts
    @AaroArts 7 років тому +5

    I think it would be easier to just create 3 health bars in Photoshop, then have 3 Game UI’s with each one on, and use an Event Observer to move to the next UI.

  • @absolutecrazy
    @absolutecrazy 2 роки тому +1

    Invincibility won't work if you use this

  • @gbirbilis
    @gbirbilis 7 років тому

    for the pixelated heart, probably using scale down and then scale up again with some algorithm that doesn't do antialiasing would do the job, maybe applying some b&w filter at the end

  • @hypesy
    @hypesy 5 років тому

    Totally just did the inverse for a progress bar, thx Zach 👍

  • @uzairabdullah208
    @uzairabdullah208 3 роки тому

    Ok it works but now, the main menu and the restart buttons don't work on the game over screen

  • @joelmoreno1110
    @joelmoreno1110 7 років тому +3

    This is a pretty buggy solution. Sometimes the damage doesn't register and when the character finally dies and I try to play again by clicking the in-game restart button, the player will either instantly die or the restart button won't work. I also tried setting the restart button to get back to the main menu, however, once there and clicking play, the player will instantly die.

    • @ilyasnoukaila976
      @ilyasnoukaila976 6 років тому

      Hello, yes i'm facing the same problem, that's because when game restarts, points are already set to 3 and the UI takes you to the game over screen! please let me know if you found any solution to this, thanks!

    • @ilyasnoukaila976
      @ilyasnoukaila976 6 років тому +1

      Hey just found the solution, you have to set the event observer's event type to "session points'' instead of "total points", hope this helps!

    • @stefanhuber576
      @stefanhuber576 6 років тому

      Strangely for me it also adds another healthbar when I kill my first enemy.

    • @peaceandquiet
      @peaceandquiet 6 років тому

      ilyas, my head almost exploded haha, thanks a lot man you saved me :)

  • @timmim6097
    @timmim6097 4 роки тому +1

    Please help me again, I can’t move an Action in Buildbox there is only Object and Charakter

  • @lasseoffenbach7759
    @lasseoffenbach7759 11 місяців тому

    Fantastic - I am wondering though how I can put a medic-Icon in a scene and gain life to my healthbar.........Any idea?

  • @yenomeerf
    @yenomeerf 6 років тому +2

    complicated. I hope this can be more native in future release

  • @Bagas373
    @Bagas373 6 років тому +1

    Nice tutorial. However, there's a problem.
    1. When the player Collide with Enemy, the enemy destroyed as well. Any solution to do to make the enemy not destroyed when player collide with enemy?
    2. I want player have short time (3 seconds) invulnerability after take a damage. How should i do?
    3. I want to set the maximum health for my player. I know there's a way to do that, but how?
    That's up for now and sorry for my not so good English.

  • @greghuzzie4451
    @greghuzzie4451 6 років тому +1

    Svg is now available on anffinity as an export setting

  • @peaceandquiet
    @peaceandquiet 6 років тому

    Zach, I understand everything, but one question please, should we drop the fireball heath action in every enemy's defeated box? isnt it too much? what if we have a lot of enemies?

  • @ashishen123
    @ashishen123 6 років тому

    hey can any one help ,i am not able to combine it with a second chance button where i have set an checkpoint a purchase button but not able to go back to the checkpoint when i followed this tutorial

  • @pkerry12
    @pkerry12 6 років тому

    ok how did you get the "RESTART" to WORK in the game over after you did all this because after I did all this the restart didn't work any more and the game never resets.

  • @pajuiken
    @pajuiken 6 років тому +2

    Is this seriously STILL the health bar solution 1 year later?

    • @Buildbox
      @Buildbox  6 років тому +2

      Not with 3.0 :)

    • @pajuiken
      @pajuiken 6 років тому

      Buildbox noice! ETA on 3.0? Will our current games (2D) be transferable? A+ on all fronts then :)

    • @wackojacko345
      @wackojacko345 5 років тому

      @@Buildbox i really need help, i checked through the video 3 times, and for some reason, the health bar doesn't decrease, and i never die! I am looking for somebody to help me.

  • @camthedestroyer1490
    @camthedestroyer1490 6 років тому +1

    What is a “font book”? Is it on a Windows laptop?

    • @peaceandquiet
      @peaceandquiet 6 років тому

      I think you can just install the font normally on windows, just open the ttf file and click install.

  • @RenatoMeneses
    @RenatoMeneses 6 років тому

    It doesn't work well for me... It works only at an enemy type. I've got a bug that in the Game Over screen I can't get back to a Checkpoint. It simple get crazy and just closing to work again and at an only enemy type.

  • @gbirbilis
    @gbirbilis 7 років тому

    could one use this trick to make objects that change their image each time they're hit? e.g. when you have an arkanoid/breakout style game, some bricks take more than one hit to break and they appear more and more cracked till they break/disappear. Is there some other way to do it?
    Could probably place bricks one under the other, but without a way to group the bricks that are stacked in Z-order and then clone the whole group, it would be cumbersome to make levels.

  • @TheEhssan0
    @TheEhssan0 4 роки тому

    this is good way , but very complicated way!!! is there any easiest way?

  • @firdausismail2589
    @firdausismail2589 6 років тому

    Hi, did you try restart the game after lose a game? Bacause it caused total game over after first game in next game

  • @agentr9504
    @agentr9504 7 років тому

    Hey can you show how we can perform different action according to touching style. Like if i press 1 time it perform one action and if i press same button 2 times another action

  • @TheChristwentyone
    @TheChristwentyone 7 років тому

    I've followed the steps and sometimes the defeat animations does double damage. Instead of only registering as one hit it sometimes gets a double hit. It's not everytime, just sometimes. Any help?

    • @Buildbox
      @Buildbox  7 років тому +1

      So it's giving you two points instead of one? That's really odd. Try messing with the oversized collision shape. That might have something to do with it. (Zack)

    • @TheChristwentyone
      @TheChristwentyone 7 років тому

      Thanks mate! I'll mess around with it.

  • @peaceandquiet
    @peaceandquiet 7 років тому

    Hey man I've made like 2 games with buildbox but I still have zero downloads :(

  • @MrSonicTeam
    @MrSonicTeam 6 років тому

    use piskel is very good for pixelated animations and images!

  • @greenboy9396
    @greenboy9396 7 років тому

    Hey zack ....how do i make pop up window ....like when i prees buy and i dont have the mony a window shows up to tell me watch the video to get rewarded ....respon please

  • @kanishksachdeva6105
    @kanishksachdeva6105 6 років тому

    this glyphr thing is not working there is a problem in thier website

  • @SandraPlay
    @SandraPlay 6 років тому

    You guys should add after Coins and Points the Health Bar or Add Custom game coins

  • @campycheezy6633
    @campycheezy6633 7 років тому

    What should be the exact date release of BB3? and new features. please.

  • @Bagas373
    @Bagas373 6 років тому

    Can you add please how to displaying player lives remaining?

  • @pkerry12
    @pkerry12 6 років тому

    I better tell people if you use this for your health bar you CANNOT use coins collection as your score for leaderboards it won't let you. You have to use distance.

  • @zacharypeterson2568
    @zacharypeterson2568 7 років тому +3

    Will buildbox ever bring back the one time payment?

  • @zubairiqbal7047
    @zubairiqbal7047 6 років тому

    How to set 2 in game currencies?

  • @wisp6916
    @wisp6916 7 років тому

    Hey zack,How do you create the characters.Thanks

    • @lesercraft
      @lesercraft 3 роки тому

      Ik im too late but it's just animation labelled has "character"

  • @mohmmadhazaimeh4999
    @mohmmadhazaimeh4999 7 років тому

    how to make the bullet enemy range

  • @BenKaneJohns
    @BenKaneJohns 7 років тому

    Does anyone know how to refill the characters health in BB 2 ??

  • @SandraPlay
    @SandraPlay 7 років тому +2

    Can you add please how to make a Fightning game please

  • @muhammadgustasib3256
    @muhammadgustasib3256 5 років тому

    i want to add death animation when life ended can anyone explain me

  • @RyanScottForReal
    @RyanScottForReal 4 роки тому

    Has someone created a smart asset to do this because this should be 'coded away'

  • @theepicgamerpro3634
    @theepicgamerpro3634 6 років тому +5

    i think learning how to code is easier than all of this pain .

  • @bambambhaby93
    @bambambhaby93 5 років тому

    my healthbar doesnt go down

  • @talhahafeez2016
    @talhahafeez2016 6 років тому

    when you died by hitting other hurdles nd restart so there is glitch occur

  • @noreasonvideos5096
    @noreasonvideos5096 7 років тому

    nice tutorial i really learn new stuff every day, Thank you so much

  • @TheChristwentyone
    @TheChristwentyone 7 років тому +1

    Thanks for the tutorial Zack! I just updated my game Halloween Smash & Run using the heart health bar setup and it works great! If you're looking for some Halloween games to review, would be honoured if you could check out Halloween Smash & Run: ua-cam.com/video/10FQKt3KJTM/v-deo.html Built with Buildbox 2.2.9, Cheers!

  • @chaimaetaybi5811
    @chaimaetaybi5811 7 років тому

    Someone help me please.. I want add botton when user click this boutton It will earn points Is this possible? I will creat a simple app with buildbox Thank you

    • @kristijanbilanovic4278
      @kristijanbilanovic4278 7 років тому

      Aurilia Brand jusr add action with points then drag and drop action button and link it with action

  • @看完這部在睡
    @看完這部在睡 4 роки тому

    this not bar is *Box*

  • @jonuelalvarado8977
    @jonuelalvarado8977 4 роки тому

    Why so many steps for a simple thing?

  • @chackoandroidgaming
    @chackoandroidgaming Рік тому

    Heh bro this is not working for me please help to make my game😭😭😭😭😭😭

  • @mounirelamoud9194
    @mounirelamoud9194 7 років тому

    perfect

    • @Buildbox
      @Buildbox  7 років тому +1

      +mounir elamoud no, Mounir... YOU are perfect. It’s always been you.

  • @wow-patrick8919
    @wow-patrick8919 7 років тому

    Noot working

  • @Indigenouslive
    @Indigenouslive 7 років тому +6

    Show us something new. Don't copy paste other developer ideas.

    • @Buildbox
      @Buildbox  7 років тому +1

      +Indigenous new stuff incoming!

    • @luilui89
      @luilui89 5 років тому

      @@Buildbox Hey Zack! when will this be updated? BB2 really needs a health/energy/gas bar