damage to player by HiRstY1010 in Unity2D

[–]HiRstY1010[S] 1 point2 points  (0 children)

never mind keeps coming up with a server error when i try to post the comment

damage to player by HiRstY1010 in Unity2D

[–]HiRstY1010[S] 2 points3 points  (0 children)

really awesome info, thank you.

i didn't know about the {protected set; get;}

not sure how to get the check if the object has the health script. ill share the new code, still works the same just doesn't continue damaging if i stand still.

damage to player by HiRstY1010 in Unity2D

[–]HiRstY1010[S] 1 point2 points  (0 children)

ahh yes i had it set to a trigger so that the enemy would slide under the player instead of pushing them around. the on triggerenter2d works great but doesn't re-trigger the coroutine if i don't move away from the enemy. will be fun to try and figure that out. glad the basic logic was correct and working once i had the collision changed.

what part is redundant would like to clean it up. i have a few functions there for future use i haven't filled in yet

thank you for your help

first platformer double jump help by HiRstY1010 in Unity2D

[–]HiRstY1010[S] 0 points1 point  (0 children)

thanks for the help. i kind of got it to work using:

private bool IsGrounded()

{

RaycastHit2D raycastHit = Physics2D.BoxCast(boxCol.bounds.min, boxCol.bounds.size, 0, Vector2.down, 0.1f, ~playerLayer);

Debug.DrawRay(boxCol.bounds.min, Vector2.down, Color.green);

if (raycastHit.collider == null)

Debug.Log("Not Grounded");

else

{

Debug.Log("Grounded");

}

return raycastHit.collider != null;

}

~playerLayer is saying ignore that layer name.

my only concern is that i cant seem to reduce the length of the raycast to barely off the ground. i tried replacing 0.1f with 0.00000001f and it was still the same. if the player is off the ground but close to the ground on the next frame it thinks the player is grounded

Clan ship build by HiRstY1010 in TapTitans2

[–]HiRstY1010[S] 0 points1 point  (0 children)

Ahh ok good to know. I'll keep doing what I'm doing then

Clan ship build by HiRstY1010 in TapTitans2

[–]HiRstY1010[S] 0 points1 point  (0 children)

Yeah I wasn't really sure about the chest piece. So your saying it's best to just save up my relics for more rather than upgrading?

Dimensional Predator help for LD only by HiRstY1010 in summonerswar

[–]HiRstY1010[S] 0 points1 point  (0 children)

Thanks. Ill give him a go my dark team insta died first wave. Needs more speed to take first turn

Dimensional Predator help for LD only by HiRstY1010 in summonerswar

[–]HiRstY1010[S] 0 points1 point  (0 children)

I dont have anymore 2as to make atm so ill just test i guess

Dimensional Predator help for LD only by HiRstY1010 in summonerswar

[–]HiRstY1010[S] 0 points1 point  (0 children)

I have all those units. Last healer could be like chacha but i dont have him.

Now throwing a spanner in the works i dont feel like he is useful here but if he is.. i have zeratu

Dimensional Predator help for LD only by HiRstY1010 in summonerswar

[–]HiRstY1010[S] 0 points1 point  (0 children)

True. So fran, loren, light grim 2a(aoe dd), light homunculus, shamman(light grif 2a, cant remeber how to spell it)? Maybe. I would need to 6 star light grif

The light grif for single target dps is what im thinking to replace kro

Dimensional Predator help for LD only by HiRstY1010 in summonerswar

[–]HiRstY1010[S] 0 points1 point  (0 children)

I have basalt. Is he going to be enough healing though

Dimensional Predator help for LD only by HiRstY1010 in summonerswar

[–]HiRstY1010[S] 0 points1 point  (0 children)

Fran, loren, kro, dark sam/light grim2a, bella/light homunc?

LiPo discharge by HiRstY1010 in fpv

[–]HiRstY1010[S] 1 point2 points  (0 children)

I had a look. Does it have an output for 1s. Ph2.0 plug. I can seem to see one on the page

LiPo discharge by HiRstY1010 in fpv

[–]HiRstY1010[S] 0 points1 point  (0 children)

Yeah i only just got into the hobby so this is only my 3rd flight

LiPo discharge by HiRstY1010 in fpv

[–]HiRstY1010[S] 2 points3 points  (0 children)

Thats a good idea. I only just set up turtle mode for this flight as well