object collision
Posted: Tue Feb 11, 2014 4:36 pm
Hi guys im making little fake app of Fluffy bird
for fun but if bird touch the pipe it doesnt do anything my code
and for moving
Thanks



Code: Select all
if intersect( button "Box" , image "pipe1" ) then
answer "You Are DEAD"
end if
Code: Select all
set the left of the image "pipe1" to the left of the image "pipe1" - 4
if the right of the image "pipe1" < 0 then
set the left of the image "pipe1" to the right of the card "level1"