Quest: Ghost Mansion
Challenge: Flashlight Visuals
Feel free to share your solutions, ideas and creations below. If you get stuck, you can find some ideas here for completing this challenge.
Quest: Ghost Mansion
Challenge: Flashlight Visuals
Feel free to share your solutions, ideas and creations below. If you get stuck, you can find some ideas here for completing this challenge.
Bit stuck on this one. The hint says to use local position but I’m not sure how that helps. Moving it wont make it smaller. I changed the localScale of the flashlight game object which worked for the mask but not the light.
I think the hint assumes you’re scaling the game object holding the sprite mask. The mask would scale around its center, rather than the flashlight, and need to reposition. However, if you apply the scale to a parent game object centered on the light origin, you don’t need to modify the mask’s position.
To adjust the light, I modified the outer radius of the Light2D, since transform scaling didn’t seem to do anything.