So I have used this command a bunch of time. I works fine in every other instant of the program, but I am getting an error on this 1 line that I just can't shake.
media folder contains guy.png and guy subimages.txt
guy subimages says:
guy1:0:0:32:32
guy2:32:0:32:32
guy3:64:0:32:32
guy4:96:0:32:32
and program says:
guysheet = loadimage("guy.png")
global guyframe as integer [4]
for i = 1 to 4
guyframe[i] = loadsubimage(guysheet, "guy" + str(i))
next i
I don't know what I'm doing wrong?
i have renamed the png, renamed the subimages in the txt file, renamed the loaded image, renamed the subimage in the program, verified the img type and txt document.
Any help would be greatly appreciated.
One smart fellow, he felt smart. Two smart fellows, both felt smart. Three smart fellows all felt smart...