Request for an update of the page's Tutorial

86 views
Skip to first unread message

JustGabe

unread,
Feb 21, 2016, 11:50:16 AM2/21/16
to HaxeFlixel
These are a couple of outdated stuff and the errors that I found while trying to do the Flixel Tutorial and that I (and future programmers) would appreciate if they get fixed with the proper code, so I can complete the tutorial properly:

_btnPlay.screenCenter();
"flixel.ui.FlxButton has no field screenCenter"

velocity.rotate(FlxPoint.weak(0, 0), mA);
"flixel.ui.FlxPoint has no field rotate"

super.update(elapsed);
Too many arguments

 override public function update(elapsed:Float):Void
Field update overloads parent class with different or incomplete type 


TIA!

Gama11

unread,
Feb 21, 2016, 1:43:08 PM2/21/16
to HaxeFlixel
You're using an outdated Flixel version. All of these are compatible with the recently released Flixel 4.0.0.

JustGabe

unread,
Feb 21, 2016, 1:44:48 PM2/21/16
to HaxeFlixel
Lol, really? How can I update it?

Gama11

unread,
Feb 21, 2016, 1:45:33 PM2/21/16
to HaxeFlixel
haxelib update flixel.

JustGabe

unread,
Feb 21, 2016, 3:19:59 PM2/21/16
to HaxeFlixel
Still same problem...

Gama11

unread,
Feb 21, 2016, 3:20:40 PM2/21/16
to HaxeFlixel
What does haxelib list say?

On Sunday, February 21, 2016 at 9:19:59 PM UTC+1, JustGabe wrote:
Still same problem...

JustGabe

unread,
Feb 21, 2016, 4:50:22 PM2/21/16
to HaxeFlixel
After writing the update request:
std@host_resolve
flixel is up to date

But when trying to code it throws the same errors.

JustGabe

unread,
Feb 28, 2016, 1:47:23 AM2/28/16
to HaxeFlixel
Problem solved, for some reason "haxelib install flixel" worked instead of "update".

Gama11

unread,
Feb 28, 2016, 4:44:40 AM2/28/16
to HaxeFlixel
Yeah, I've had that issue in the past as well. haxelib is pretty broken..
Reply all
Reply to author
Forward
0 new messages