Robinson

Unregistered less info
45 reputation
3
bio website
location
age
visits member for 2 years, 8 months
seen Nov 9 '11 at 19:41

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