Actions
Bug #790
openCollisions not working properly on skewed bobs
Start date:
06/27/2021
Due date:
% Done:
0%
Estimated time:
Affected version:
Description
Move over the text for collision, then click and move over it for no collision unless you are at the non-skewed position:
#splashScreen:False
text 20,20,"testing collisions with this bob of text"
get image 1,18,0,270,30:get image 2,22,10,5,5
bob 1,200,200,1
flash off:curs off:cls:ink 1:box 200,200,270,30
locate 0,2:print "Click to skew. Collision detection only works on non skewed position."
do
bob 2,x mouse,y mouse,2
if bob col(1,2) then locate 0,0:print "Collision" else ink 0:bar 0,0,300,50
if mouse key<>0 then bob skew 1,1,0.5
wait vbl
loop
Using Beta 8, update 14
Actions