11-14-2023, 04:30 PM
(11-13-2023, 05:04 PM)aliensoldier Wrote: Thanks, I'll try.
I was trying to do it as I wanted and I made an example, what do you think?
Code:function LoadImage(path,numFiles)
array = []
for i = 0 to numFiles
array[i] = loadimage(path+i+".png")
next
return array
endfunc
I'm going to try to modify this function with the code you showed me and see if I can do it.
I'll give you the entire example:
Tried the example, and it seems to work good