Timeline for Accurate sprite rotation with mouse movement
Current License: CC BY-SA 3.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 14, 2014 at 22:56 | vote | accept | Brandon | ||
Aug 13, 2014 at 17:22 | comment | added | Brandon | I posted my answer, hopefully it's enough info to help someone in the same spot. | |
Aug 13, 2014 at 17:22 | answer | added | Brandon | timeline score: 0 | |
Aug 13, 2014 at 17:10 | comment | added | Alexandre Desbiens | If you answered your own question, feel free to write an answer to your post and mark it as the accepted answer. | |
Aug 13, 2014 at 17:08 | comment | added | Brandon | Totally right. I must have just derped when translating. | |
Aug 13, 2014 at 17:07 | comment | added | Alexandre Desbiens | You should put Game.HEIGHT instead of WIDTH if you want the vertical size of the screen... | |
Aug 13, 2014 at 17:03 | history | edited | Brandon | CC BY-SA 3.0 |
added 477 characters in body
|
Aug 13, 2014 at 1:48 | comment | added | Alexandre Desbiens | 1) Did you make sure player.setRot() take a degrees argument instead of a radian one? 2) You can remove the (float) castings, they will not change anything in your case. 3) How did the rot == 360 semi-fixes the problem? Have you made more test cases with different values? | |
Aug 12, 2014 at 22:59 | history | edited | Brandon | CC BY-SA 3.0 |
added 117 characters in body
|
Aug 12, 2014 at 21:37 | history | edited | Brandon | CC BY-SA 3.0 |
added 189 characters in body
|
Aug 12, 2014 at 21:17 | answer | added | Alexandre Desbiens | timeline score: 0 | |
Aug 12, 2014 at 20:40 | answer | added | BrianBrain | timeline score: 0 | |
Aug 12, 2014 at 20:36 | answer | added | Ollegn | timeline score: 0 | |
Aug 12, 2014 at 20:14 | history | asked | Brandon | CC BY-SA 3.0 |