dimdst bug?

    Mar 21 2014 | 12:56 am
    I am at my wit's end! Trying to simply overlay an image on another image at a random location. Problem is there is some sort of de-sync between startdim and enddim and the image gets all fat and skinny instead of staying in proportion. The code is a little tangled because I've been trying different stuff for over an hour to no avail. What am I overlooking?

    • Mar 21 2014 | 2:52 am
      I think your problem was that the trigger you were using to bang out the distdim business was being banged twice, since the message box (dstdimstart $1 $2, dstdimend $3 $4) is going to make that trigger bang twice rather than once. I think this fixes it. You might also want to look at jit.rota....