I’m programming a very simple proof of concept game in which bandits attack a knight. Nothing fancy.
I did Google and YT before I wrote this. 🙂
My questions :
a) How do I resize the sprite to scale? I found a way to do so by using Draw Mode – Sliced, but I lucked into a window where I could rescale the X and Y axis, but then I closed it.
b) How do I make it so that the bandit only does damage during a certain part of the animation? (the sword swing) I have the sprites and animation, but no idea how to isolate it.
Google and ChatGPT tell me to use a Sprite Mask but that’s not really what I want.
The process of making the game is fun but also challenging…is that part of the software design process in which you have to constantly be fixing things and finding better ways to iterate?
a) I tried to find a way back to the window and failed.
b) I thiinnnnkkk this might be a solution
https://forum.unity.com/threads/is-there-a-way-to-get-a-a-part-of-an-animated-object-to-appear-and-play-at-a-specific-keyframe.928347/
but I am not sure how to get it to work. Also my animator doesn’t display the actual animation for some reason.
tai an Zhou is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.