I want to make a shield that absorbs all damage for one hit. How do you do that?
How about you make when overlay pressed make them go into a barrier
Not a overlay just a passive, first hit is negatated
Is it going to be a button pressed or what?
So im making a game where you choose a character and the next one im making had a shield just that fully absorbs one hit
You could probably use a lifecycle , health granter and zone
How would i know what health to grant?
Theres like a lot of gadgets
Should the player be starting the game with the shield equipped? As in a barrier surrounding the player? (start game as in after character chosen)
Or is it like an ability but you can’t move.
That’s gonna be a tough one.
I know this isn’t as memory efficient but using a zone in a certain area that has the ability to block projectiles? I forgot if it has a collision setting
+400 memory
You can move. Yeah you start with it
Well, you can’t spawn in a shield to the player, but perhaps activating a trigger loop that is connected with a health granter?
I don’t mean a barrier i mean like a battle game, one character you can have doesnt get hit the first time you sh0ot him
So how would i detect what gadget and how much hp to grant
Also each character has a custom dmg boost
Well, you could just add max HP every second when it is activated for like 3 seconds. How you would tell how much the player initially had is unknown to me.
So like i would grant max hp each tick then remove after i get hit?
I don’t know if you would get hit in the first 3 seconds
Well the damage boost make when the player clicks the button for the character it grants damage with what you set it to
How do i know when you get hit
Use a lifecycle when player fires gadget grant health maybe
But i want them to be able to move, it isn’t a button/overlay ability
Its a passive
Ok thanks for telling me!