Skip to content

Instantly share code, notes, and snippets.

@hex13
Created October 13, 2013 17:45
Show Gist options
  • Save hex13/6965103 to your computer and use it in GitHub Desktop.
Save hex13/6965103 to your computer and use it in GitHub Desktop.
missile.x = this.x + this.img.width / 2 - missile.img.width / 2;
missile.y = this.y - missile.img.height;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment