Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FUNCTION check_hit:
- LOCAL col
- FOREACH m IN s[]
- FOREACH bc IN b[]
- col = SPRCOLL(1, m.x, m.y, 3, bc.x, bc.y)
- //IF col = TRUE THEN END
- IF col = TRUE
- DELETE bc
- ENDIF
- NEXT
- IF col = TRUE
- DELETE m
- ENDIF
- NEXT
- ENDFUNCTION
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement