Reputation
Top tag
Next privilege 75 Rep.
Set bounties
Badges
4
Impact
~2k people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Aug
22
awarded  Popular Question
Nov
9
accepted Calculating bullet travel knowing coordinates and radian
Nov
9
comment Calculating bullet travel knowing coordinates and radian
Nevermind I was being dumb. It works, thanks :)
Nov
9
comment Calculating bullet travel knowing coordinates and radian
After doing this: this.bullets[i][0] = 5 * Math.cos(this.bullets[i][3]); this.bullets[i][1] = 5 * Math.sin(this.bullets[i][3]); the bullets don't even appear, although they are being updated and drawn. I guess they're outside of the viewport?
Nov
9
awarded  Scholar
Nov
9
accepted Set sprite to face direction of mouse
Nov
9
asked Calculating bullet travel knowing coordinates and radian
Nov
9
awarded  Student
Nov
9
awarded  Editor
Nov
9
revised Set sprite to face direction of mouse
added 129 characters in body
Nov
9
asked Set sprite to face direction of mouse