LBP2-Torials 05: Health Bars and Addition Applications

Поделиться
HTML-код
  • Опубликовано: 28 сен 2024
  • Today we take a look at a robust health bar system using timers, signal percentages, and the addition thereof. Hope I didn't go too quickly!

Комментарии • 188

  • @manicmarty666
    @manicmarty666 12 лет назад +2

    ok... you do realise by making these tutorials you have significantly raised the bar for all creators which means awesome levels for us, by giving people the tools to make what they imagine. You sir are a true patriot to the lbp community. Im pretty sure 21690 people can make way cooler stuff now.

  • @1234567895182
    @1234567895182 Год назад +4

    Still to this day this is the best health bar tutorial. Everyone else uses counters, but this allows for a much larger range of control. I am currently using this type of system to make a tower defence level. By using a sequencer set to positional with batteries ranging from 10 - 100%, I can control the damage the "bullets" do by simply connecting a tag sensor (set to signal strength) to the sequencer. I can then connect the corresponding tag to a battery and adjust the % damage just by changing the battery %. The advantage is I can have a set of enemies that progressively get harder and harder as the waves pass without needing to have a whole bunch of emitters with the same enemy and different counters for health bars. This dramatically saves on thermometer space. (I hope this makes sense lol).
    This is game is old af but there is still a community around it. They have custom servers now and it has revitalized my motivation to continue making levels. Thanks again for your awesome tutorials! (:

  • @1ntheW0rldbutN0t0f1t
    @1ntheW0rldbutN0t0f1t 10 лет назад +1

    I actually just titled my impact sensor "Damage," and hooked up batteries to the tags (also titled damage) that are attached to whatever is dealing the damage. That way I could get any number of damage types I wanted without having to make logic for each. I also needed to place tag sensors on the circuit boards, that are turned on by the timer, instead of the various battery strengths. I set them to signal strength instead of closeness, so that they could pick up the signals coming in from the 'damage dealers.' I hope that this makes sense. I did notice someone who commented wondering how to implement this with about 24 different damage scales. This is the best way that I know how.

  • @benjols6202
    @benjols6202 6 лет назад +1

    the gate he used to combine all of the inputs has a "add inputs" options which makes it easier to add several dmg outputs.

  • @Auberry126
    @Auberry126 10 лет назад

    Thanks so much for the help, a dual-stick, or top down shooter is something i've always tried to make on LBP, but never could. Took me a while to work out my mistakes. But thanks for uploading this. VERY helpful!!

  • @sonofbrave
    @sonofbrave 13 лет назад

    Got the function for the number of hits needed.
    y = 97.1(.846)^x
    where x is the number hits needed
    and y is the battery percent with a .1 timer(subtraction timer)
    and round up (numbers may not be exact)
    To hit different hp values, multiply the original battery percent by the damage you want.

  • @MRJTHEGAMER329
    @MRJTHEGAMER329 10 лет назад

    :) ty for help dude. Kept missing out important links like timer speed not on off sequence.

  • @Studabreaker
    @Studabreaker 12 лет назад

    Thanks a metric sack ton for these vids. Yes I am going to ape your health bar mainly because its quite easy to manage weak and strong attacks once its all set up.

  • @shalomony
    @shalomony 6 лет назад

    A note using signal strength is easier to see than a timer. Also you could use a negative signal and 'or gates' set to addition to cut the amount of logic considerably.

  • @TheLegitGuyonYT
    @TheLegitGuyonYT 11 лет назад

    You can also make it do continuous damage by attaching the impact sensor to another timer that resets itself and connect the output to the reset input of the 1st timer. That is, if you plan on enemies following you to deal damage.

  • @The1Kmacho
    @The1Kmacho 12 лет назад

    Thank you! Yesterday I was slowly dying trying to figure out how to make an efficient health bar because the projectile sensor cant reset and the counter was too slow, this will work perfectly. :)

  • @TheMightyMunden
    @TheMightyMunden 13 лет назад

    Absolutely incredible, again!

  • @Leo11967
    @Leo11967 13 лет назад

    @Zanmatt2g I think what i'll do is finish the level the way I said, and then afterwards try and tinker with it and get it to work the way you explained

  • @ZeroZ30o
    @ZeroZ30o 13 лет назад

    @LBPlanetorials: Okay, that was nice, I was wondering how to make a precise counter, but there's one thing you didn't say:
    If you put the "damage battery" to 20%, it means you can only take 5 of those hits?
    If 10%, 10 hits? I need this to be precise, and if I make a boss I would need to make the player die at the 4th hit. So it would be 25%?

  • @Leo11967
    @Leo11967 13 лет назад

    @Zanmatt2g I Found out how to do it, you have to put a paint sensor on the circuit board of the sackbot and change how many paint balls you want it to take to kill it. But you can't have varying damage.

  • @TehFlashster
    @TehFlashster 13 лет назад

    What did you put in the circuit board of the materials hitting you? Please tell me how to tweak it.

  • @weiler999
    @weiler999 13 лет назад

    I'm trying to do an inFamous level and am stuck on incrementing and decrementing energy based on which power is used, as it is in the game. Also, I am trying to figure out how to increment energy (as with the energy drain in game). Would you be able to explain that if possible? Thanks in advance and keep up the great work!

  • @Teknoman
    @Teknoman 13 лет назад

    @DJspre
    LBP2torials = LBP "two"torials. The sound from saying two takes the place of the tu in tutorials.

  • @therandomchannel78
    @therandomchannel78 13 лет назад

    Ok so I get how this works.But let's say that when I pick up the health bar,I dont want it to just stay there,I want it to go away when picked up.How do I do this?

  • @GhillieNova
    @GhillieNova 13 лет назад

    I love these tutorials.

  • @Leo11967
    @Leo11967 13 лет назад

    Hey Compher, This is really helpful, but i've got a dilemma. I want to know if there is a way to make it so that paintinators lower the health, instead of having something emitted. I put quite alot of time into a lvl and if there is no way to make paintinators lower health bars, then it'll kinda suck. If you could reply that would be helpful so that I could know if I should move onto another project yet or not.

  • @litdan
    @litdan 13 лет назад

    I got this to work but when i wire the second timer to a destroyer, my player controlling the sackbot dies and is ejected out of the controlinator, and the sackbot unharmed and the bar refills, any help?

  • @AngrySanta
    @AngrySanta 13 лет назад

    It's not mentioned: If you copy your red hit 1(for example) Then change the tag to say Blue and name it Health(The name is irrevelant) then wire it to the positive of the directional combiner then it will add health back to your health bar. (assuming you have for example a block of material with the match tag) =)

  • @gekkowolf
    @gekkowolf 13 лет назад

    @therandomchannel78 impact sensor, include touching, possibly require tag if you wanna be mor proficient and make it not dissapear if anything hits it, just ur sackbot wich has a tag, and connect it to a destroyer.

  • @kelvind09
    @kelvind09 13 лет назад

    what does the angle snap feature do ? i mean we already have grid

  • @ryanrudofsky945
    @ryanrudofsky945 7 лет назад

    Hey, I'm programming an enemy's hp, the level I'm making is 4P with 8 sackbots to choose from. I've noticed with my logic, if two bots were to attack the enemy at the same time it would only register for one, how would you handle this situation? Ideally I want it to add the attacks of any players attacking simultaneously.

  • @cohanesian00
    @cohanesian00 13 лет назад

    @sonofbrave I have this problem too. i tried redoing it a couple times and still ended up with that result. since i'd like an exact number of hits to kill the sackbot, i'd like a solution to the problem as well

  • @lucinakingmelee9871
    @lucinakingmelee9871 4 года назад +1

    ah, i miss the days when everyone would play lbp2, i miss those days

  • @ColorCracked
    @ColorCracked 13 лет назад

    how do i make it go hp bar go down contiuestly until its not being touched or sencerd?

  • @cammykitten
    @cammykitten 13 лет назад

    These are really helping me out :D keep it up!

  • @Gsoccer11
    @Gsoccer11 13 лет назад

    Your tutorials are great subbed....

  • @TukaihaHithlec
    @TukaihaHithlec 13 лет назад

    Anyone wanna explain the initial timers' setting to me? The ones reset by the impact sensors. I don't get why their outputs are inverted and stuff. Thanks in advance.

  • @jensonjack
    @jensonjack 12 лет назад

    To be honest, I find sackbots quite sexy to be honest, it wouldn't exactly be a bad experience.

  • @TheMightyMunden
    @TheMightyMunden 13 лет назад

    @goldenguns4u a specific tag that that has the same coulour (and name) as the impact sensor

  • @VoltWolf
    @VoltWolf 13 лет назад

    HOORAY! i needed this tutorial!

  • @DaShonuff
    @DaShonuff 11 лет назад

    This is a god send, really thank you.

  • @goldenguns4u
    @goldenguns4u 13 лет назад

    What do you put on the projectile so it does damage

  • @LBPlanetorials
    @LBPlanetorials  13 лет назад

    @Smudgeurfudgemuffin The electricity was on the thin layer, so he was never in any danger.

  • @AF0818
    @AF0818 13 лет назад

    Is there a way to make it so that health is regained slowly instead of instantly? Thx in advance! And great tutorials btw =D they really helped me a BUNCH

  • @YoHomieClarence
    @YoHomieClarence 12 лет назад

    can da healthbar lose health by geting hit by the paintgun plz replay

  • @Cysilx
    @Cysilx 13 лет назад

    How the heck did you learn all of this? Do you take LBP classes or something?

  • @moviedevil12
    @moviedevil12 12 лет назад

    I have a problem.
    I have my health bar ready. But if I hit the hologram with 1 loop done nothing! Can anyone help me?

  • @FingerboardStylez
    @FingerboardStylez 9 лет назад

    what if I want more than 100 damage? what do I do then? Just make it so they get hit twice by a 100 damage attack?

  • @TheIndigoNinja
    @TheIndigoNinja 13 лет назад

    Keep it up! Luv your vids!

  • @ColorCracked
    @ColorCracked 12 лет назад

    exactly y mm ditched the cooling early version of lbp2

  • @vanthursday
    @vanthursday 13 лет назад

    I want to make my hero/character to regen itself everytime like rpg games...
    cn you help me how to make them...

  • @Nich547
    @Nich547 10 лет назад +2

    As soon as I got all of this done my system froze.................

  • @MAJ4K
    @MAJ4K 12 лет назад

    how do you make an over shield like in halo

  • @youngaustin111
    @youngaustin111 12 лет назад

    use a counter. and on the logic board for the sackbot put a paintinator counter so it goes down as u get shot .

  • @sonofbrave
    @sonofbrave 13 лет назад

    @ACCallODuty thank you very 'very' much! :D

  • @voltaicgamer5096
    @voltaicgamer5096 8 лет назад +1

    im using this and bending it to my needs making a jak sackbot that can turn into a darkeco jak and it has a eco bar that runs out over time and as you use the abilitys and can be refilled by waiting as normal jak

    • @Jay-LT_513
      @Jay-LT_513 5 лет назад

      I know this it has been two years but you could also make the regen for the eco higher or lower depending on the environment. It's how his powers work in universe

  • @TerminatorZombie
    @TerminatorZombie 12 лет назад

    @LBPlanetorials Thank you for this video!!!! I really needed a health bar if i make a level with this...I did exactly like you but anyway. I do a level with this health bar and i give credits to you.
    It will have some stuffs from your tutorials. But i give credits to you.

  • @EnzerPyro
    @EnzerPyro 11 лет назад

    Yeah.... About the LBP2 plays as its sort of the same on the Vita.

  • @cringefulidiots9577
    @cringefulidiots9577 8 лет назад

    How do you do something like a Game over with the hp bar?

    • @hyenaedon
      @hyenaedon 8 лет назад

      Just connect the timer to a NOT gate, and connect that to your game over screen =}

  • @forthewinlbp
    @forthewinlbp 12 лет назад

    my checkpoints glitch out with the bar

  • @XanderWalrus
    @XanderWalrus 12 лет назад

    what about toping up health

  • @Mrtommie96
    @Mrtommie96 13 лет назад

    Good tutorial, but it won't wok for me and it seems like it not works for you either. You see, the percent doesn't match with the timer. When I did exactly like you but had 50% on the battery th time went down with 1/3. Something is wrong.

  • @jshuai
    @jshuai 13 лет назад

    i love your intro

  • @ColorCracked
    @ColorCracked 13 лет назад

    @2112Addyboy yes i guess i messed up while typing sorry!

  • @331manfred
    @331manfred 12 лет назад

    im trying to make a level im quite young it very detailed but knowone play them for some reason please someone awswer

  • @SirGerman3
    @SirGerman3 13 лет назад

    Can you make a tutorial on how to make movies please?

  • @robbot14
    @robbot14 12 лет назад

    the is an lbp vita if that helps

  • @manicmarty666
    @manicmarty666 12 лет назад

    @CRUNKLYBUMXANDER ,
    simple dude just add a small percentage from the battery instead of 100 percent. have fun.

  • @southern_dude_20
    @southern_dude_20 11 лет назад

    SUBSCRIBED!!!!!!

  • @aydenbelille9634
    @aydenbelille9634 11 лет назад

    Who Noticed he put it to RED HIT 3 to 30% instead of 20%

  • @Titan0l
    @Titan0l 12 лет назад

    wow... epic!!!

  • @forthewinlbp
    @forthewinlbp 12 лет назад

    thank you very much

  • @PrenzT
    @PrenzT 13 лет назад

    My timer is always empty :S

  • @zolatofu
    @zolatofu 13 лет назад

    @GetPatriotized put the tag (hit 1, hit 2, hit 3, one of those) and put it on your zombie.

  • @richguy4922
    @richguy4922 7 лет назад

    I REALL LIKE INTRO SO COOLL

  • @evildeevid
    @evildeevid 13 лет назад

    damn i need my dad to explain it more lol

  • @wickfordboyz
    @wickfordboyz 13 лет назад

    How did you learn this stuff lol

  • @deyjahsaraiyahpatterson546
    @deyjahsaraiyahpatterson546 9 лет назад

    Can you make a energy bar too

  • @Rafita1018
    @Rafita1018 10 лет назад

    You were about to say health problems weren't you

  • @mariolastepien1254
    @mariolastepien1254 8 лет назад

    niesamowite

  • @skatefilter360
    @skatefilter360 10 лет назад

    I figured it out on my way easy instead

  • @blackcat0099
    @blackcat0099 12 лет назад

    I know this sounds stupid but could someone play levels... my PSN is the same one I'm using now...

  • @davidwatt6867
    @davidwatt6867 9 лет назад

    I wanted to make a Five Nights at Freddy's level. I don't know how to make a power bar though. Could you make a tutorial?

    • @ianfights6008
      @ianfights6008 9 лет назад +1

      Maybe you could use this and attach a looping timer witch goes into an and gate and the other input being however you detect whether something is on, and wire that to a damage system. repeat that system to do it for each thing that takes up power. Hope this helps

  • @ColorCracked
    @ColorCracked 12 лет назад

    right.

  • @ACCallODuty
    @ACCallODuty 13 лет назад

    @sonofbrave Your are very very smart.

  • @Mrassassinman1
    @Mrassassinman1 13 лет назад

    Good but more detail! Couldn't do it!

  • @Glitchlover87
    @Glitchlover87 12 лет назад

    wen the health bar got all the way down, u did'nt die -_-

  • @ColorCracked
    @ColorCracked 12 лет назад

    i knew someone would hav trouble

  • @jango5550
    @jango5550 10 лет назад

    The multiple design is too complex. All you need to do is to tweak the or gate to add signals instead of highest input

    • @TheCroned
      @TheCroned 10 лет назад

      This video was made before that option was added to OR gates in the DC Universe DLC update.

    • @jango5550
      @jango5550 10 лет назад

      Elliot N Ah, okay. Thanks. I'd played a while back, but lost my copy. I missed tons of updates in that time.

  • @YoHomieClarence
    @YoHomieClarence 12 лет назад

    do you have a ps3 account i need help

  • @bgn0131
    @bgn0131 10 лет назад

    lol i just put a or gate with my paintanaitor and connected it to my destroyer on a sackbot then shot and killed it

  • @Titan0l
    @Titan0l 12 лет назад

    boring in a way... but still, EPIC!!!

  • @theheavysoldier
    @theheavysoldier 13 лет назад

    I really can't follow you lol. I guess I just need to get used to the way Little Big Planet works.

  • @tayloregleston
    @tayloregleston 13 лет назад

    @demonskater123 hahaha

  • @ColorCracked
    @ColorCracked 13 лет назад

    @thezombiekillerTZK hmmph i hate sarcasim

  • @thecopsrcoming
    @thecopsrcoming 11 лет назад

    The less complicated way: get a visible counter, get a tag[s] and each raises by 1

  • @TukaihaHithlec
    @TukaihaHithlec 13 лет назад

    @ColorCracked XD You mad?

  • @ColorCracked
    @ColorCracked 12 лет назад

    received to many negative votes right...

  • @youngaustin111
    @youngaustin111 12 лет назад

    it wont? fuck it ill just buy lbpKart

  • @tayloregleston
    @tayloregleston 13 лет назад

    only 1 dislike!?! who disliked this

  • @xXhiro1Xx
    @xXhiro1Xx 12 лет назад

    Somebody accidentally pressed the dislike button

  • @JonathanPanda
    @JonathanPanda 8 лет назад +2

    Something I added to this cool health bar stuff is a health regenerator, all I did was created an OR gate put all the hit signals into it and that OR gate is plugged into a timer's reset. The timer is set to about 5 seconds and the timer is put into a microchip activation input (because percentages) and inside is a battery with 1% and that is put into the positive input in the direction combiner!

    • @jackalkin6757
      @jackalkin6757 7 лет назад

      Jonathan Panda Nic idea. If you were to have Training Mode in a fighting game on LBP3 (or LBP2) then that would be completely useful, you know. Plus I will be making a fighting game on LBP3 soon.

  • @jakobcampos3667
    @jakobcampos3667 9 лет назад

    I've been trying to make a sideview RPG similar to Denjo92's work but it started to get a bit complicated just for myself, so I'm asking for others to help me on this to speed up this project of mine, or rather ours. Musicians are need aswell, nothings better with some original music. I do not intend or wan't hearts or attention as I wish to make this level for its playability. Keep this in mind! (I live in a PST time zone) PSN: LinkedApart

  • @Rovelius
    @Rovelius 12 лет назад

    LBP Vita is commonly referred to as LBP3. It has all of LBP2's tools, enhanced, as well as new ones.

  • @LBPlanetorials
    @LBPlanetorials  13 лет назад

    @wickfordboyz Practice, diligence, and the support of a large community of very intelligent people.