Wow, that worked amazingly well. Thankyou. And I ended up going with the second piece of code because unfortunately I have no grasp of for loops.
Addedly, would there be any way to find out the position of each subimage and their bounding boxes for use in collision checking?
For loops are really usefull. basicly a for loop is this
for(i=0; 1<100;1++)
{
//do stuff
}
i starts as 0.check if i = less then 100 (it is, you initialized it as 0 so now it is zero)
do some stuff between the brackets and add 1 to i (making it 1)
i is now 1,
check if i is still less then 100 (it is, it is 1)
do some stuff again and add 1 to i again (making i 2)
This is very usefull if you use that 'i' variable in the "do stuff" part since everytime it loops trough the code i has a different number.so lets say you want to create 10 objects 15 pixels apart from aeach other you can put this in the "do stuff " part
instance_create(15*i,100,object_thing).
now every loop it will check i and create an instance of the object at 15*i.
If you want 10 objects the loop will be
for (i=1;i<=10;i++)
{
instance_create(15*i,100,object_thing)
} it basicly does this:instance_create(15*1,100,object_thing)
instance_create(15*2,100,object_thing)
instance_create(15*3,100,object_thing)
instance_create(15*4,100,object_thing)
instance_create(15*5,100,object_thing)
instance_create(15*6,100,object_thing)
instance_create(15*7,100,object_thing)
instance_create(15*8,100,object_thing)
instance_create(15*9,100,object_thing)
instance_create(15*10,100,object_thing)
creating 10 instances of object_thing 15 pixels from eachother. Really something to look into, just play around with it and you'll get the hang of it quite quick



Find content
Not Telling
