You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.
Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.
while phy get collision data() <> 0
a =PHY GET COLLISION OBJECT A ()
b =PHY GET COLLISION OBJECT B ()
if a <> Alien and b <> Alien
if a = CC and b <> 1 and b < Bullet1
if a <> 1 and b = cc and b < Bullet1
`-check for collisions-
while phy get collision data ( ) = 1
c=phy get collision object a()
d=phy get collision object b()
if c=enemy1 and d=wall
Login to post a reply