HaxeFlixel / flixel

Free, cross-platform 2D game engine powered by Haxe and OpenFL
https://haxeflixel.com/
MIT License
1.99k stars 438 forks source link

Make angles consistent across FlxAngle / FlxSprite / FlxPath #956

Open Gama11 opened 10 years ago

Gama11 commented 10 years ago

http://haxeflixel.com/forum/?place=msg%2Fhaxeflixel%2F_sswbI-GBW0%2F_RxeYfAZt3UJ

SeiferTim commented 9 years ago

FlxPoint.angleBetween uses 0 as UP, instead of 0 as RIGHT, which is weird. Also, angleBetween is only in FlxPoint, without anything comparable in FlxAngle (determine the angle between 2 FlxPoints)

DleanJeans commented 8 years ago

FlxPoint.angleBetween uses 0 as UP

That's what the comment says, but actually 0 is DOWN.