So , i’m having 2 sprites , 1 - a gift box , 2 - a spring fist coming out . What I want is , when the player press the ‘E’ key while he touch the gift box , the second sprite - “spring fist coming out” will come and replace the gift box .And if the player touches the object , his health will be reduced by 30% . The spring fist sprite will be continuously playing and not be going back to the gift box sprite .
Heres a rough sketch
Will be good if anyone explains what to do .
Hope to see from you ,
(W)itcher
Thank-you