Advertisement
lavalevel

Can touch Well_DropItem

Feb 5th, 2012
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.47 KB | None | 0 0
  1.    
  2.     local group = self.view
  3.     local groupHitBoxes = display.newGroup()
  4.     local Well_DropItem = display.newRect(0, 0, 60, 60)
  5.     groupHitBoxes:insert (Well_DropItem)
  6.     Well_DropItem:setFillColor(0xFF, 0x00, 0x00)
  7.     Well_DropItem.x, Well_DropItem.y = 276, 212
  8.     group:insert(groupHitBoxes)
  9.  
  10.     -- None of these below see, to affect, the just return nil/  
  11.     --Well_DropItem.isVisible = false
  12.     --group.Well_DropItem.isVisible = false
  13.     --group.groupHitBoxes.Well_DropItem = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement