RedWarriorKTF
Member
Hi all, I have experienced a number of issues when it comes to drawing graphics to the HUD. The current issue I am facing is a simple sprite scaling issue. For example when I collect a gem I would like my HUD gem to scale up slightly and then back down. I seem to be having problems with it. Am I approaching this in the wrong way? In my game I see no scaling, I apologise once again I am a noob but trying my best to find my feet.
Thanks in advance, code below.
Thanks in advance, code below.
GML:
if (gemCollected == true)
{
gemSize += 0.2;
}
if gemSize >= 1.2
{
gemSize -= 0.2;
if gemSize <= 1
{
gemSize = 1;
}
}