Hello,
how to convert a Float to an Int ?
Thanks
You can use Std.int, Math.ceil, Math.round or Math.floor, to name a few
Std.int
Math.ceil
Math.round
Math.floor
http://api.openfl.org/Std.html http://api.openfl.org/Math.html