T
Tazv1
Guest
Hi Guys,
Probably a really simple one, but i am having trouble loading in a sprite from an external file. It is not finding the file in the drive location, but it is there! sprite_add keeps returning -1.
Any ideas what i am doing wrong?
Probably a really simple one, but i am having trouble loading in a sprite from an external file. It is not finding the file in the drive location, but it is there! sprite_add keeps returning -1.
Any ideas what i am doing wrong?
GML:
thumbNail = "C:/Frontend/Wingman.png";
gameNum0_TN = sprite_add(thumbNail,1,false,false,0,0);
obj_gameNum0_TN.sprite_index = gameNum0_TN;