Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
manage objects automatically
#7
Thanks, I'll try. Smile

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:


Attached Files
.zip   ejemplo-imagenes.zip (Size: 100.78 KB / Downloads: 3)
Reply


Messages In This Thread
manage objects automatically - by aliensoldier - 11-11-2023, 07:01 PM
RE: manage objects automatically - by Marcus - 11-11-2023, 09:46 PM
RE: manage objects automatically - by Marcus - 11-12-2023, 09:10 AM
RE: manage objects automatically - by Marcus - 11-13-2023, 02:57 PM
RE: manage objects automatically - by aliensoldier - 11-13-2023, 05:04 PM
RE: manage objects automatically - by Marcus - 11-14-2023, 04:30 PM
RE: manage objects automatically - by Marcus - 11-16-2023, 04:13 PM
RE: manage objects automatically - by Marcus - 11-14-2023, 07:47 PM
RE: manage objects automatically - by Marcus - 12-09-2023, 09:28 PM
RE: manage objects automatically - by Marcus - 12-18-2023, 04:08 PM
RE: manage objects automatically - by Marcus - 12-18-2023, 05:11 PM
RE: manage objects automatically - by Marcus - 01-18-2024, 04:49 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)