… í function init(self) sprite.play_flipbook("#sprite", hash("amulet")) end function final(self) print ("Amulet removed") end function update(self, dt) if self.deleted then return end end function on_message(self, message_id, message, sender) if message_id == hash("contact_point_response") then if message.group == hash("player") then print ("Collision with player") self.deleted = true msg.post(self.creator, "amulet_deleted") end end if message_id == hash("creator") then self.creator = message.creator end end @main/amulet.script" creator­«ÛÃÂýŒ­˜R