position reaction problem
BlitzPlus Forums/BlitzPlus Beginners Area/position reaction problem
| ||
My whole problem is that when two image's y axis positions align (one image on top on image on bottom) I want the top image to fall on the other image. as much as I have tried I can not get it to work. :( can anyone help? Thanks |
| ||
I think the code should be something like this:;if images are on above each other if image01_x = image02_x then ;and image 01 is above image 2 if image01_y < image02_y - image01_height then ;move image 01 down image01_y = image01_y + 1 end if end if |
| ||
image01_height ? |
| ||
never mind I get it. thanks! it works perfectly :) |