screenCenter() method

193 views
Skip to first unread message

Geo Massar

unread,
May 7, 2016, 7:29:58 PM5/7/16
to HaxeFlixel
Upon reading Haxe Game Development Essentials book (Nov 2015), I found that  FlxSpriteUtil.screenCenter() method is not supported in Flixel version 4.0.0+. What is the equivalent for the new version?

I tried to find the solution at API Doc but no help.

-Geo
 

Dlean Jeans

unread,
May 8, 2016, 12:00:29 AM5/8/16
to HaxeFlixel
It has now moved to FlxObject, which means it can be called by any FlxObject without FlxSpriteUtil.
Reply all
Reply to author
Forward
0 new messages