Monday, 19 January 2015

DAY 58

Today I created a potion sprite for the potion object I also made. I got the correct code from Ty's computer for how the health and stamina etc. is  created. It is very basic due to it being drag and drop. All I did was create a potion object and added the potion sprite to it, then I made it so when the player object is touching the potion, it destroys, and sends a variable to increase the hp to +20. This was actually quite easy, and didn't take me too long. Below is the potion sprite I created.


No comments:

Post a Comment