Friday, May 5, 2023

DAY 8 (not late, enemy throws tomatoes now)

 BOOO TOMATO TOMATO yes the enemy will now throw tomatoes at you upon entering its range! :3 

em .. ... had some struggling on 1) making the tomatoes despawn appropriately (turns out the Destroy() function takes an optional time delay which is cool), 2) actually detecting the player (i should've just put the sphere collider on the Enemy parent gameobject), 3) hitting the player (i just increased the force and decreased the angle of the projectile so that it'd hit you roughly at every point within the detection area)


I still have an issue where the amount damaged will be twice the amount I want it to be (yikes) but whatever it's fine

SHOTS FIRED
  

yeah yeah yeah you see the issue

No comments:

Post a Comment

day like 24 or something

  crawls out of shallow grave AUHHHH after like 14 hours of combined sims 4 play time over the last two days im proud to say i basically am ...