Flixel-ui follow camera

50 views
Skip to first unread message

Xiao Yu

unread,
May 25, 2015, 11:43:04 AM5/25/15
to haxef...@googlegroups.com
Hi all, How do I make flixel-ui widgets follow camera?

Thanks!!

Gama11

unread,
May 25, 2015, 12:38:54 PM5/25/15
to haxef...@googlegroups.com, cane...@gmail.com
Have you tried scrollFactor.set(1, 1)?

Xiao Yu

unread,
May 25, 2015, 2:17:14 PM5/25/15
to haxef...@googlegroups.com, cane...@gmail.com
you mean:

_ui.scrollFactor.set(1, 1); ?

tried, didn't work

Gama11

unread,
May 26, 2015, 12:34:49 PM5/26/15
to haxef...@googlegroups.com, cane...@gmail.com
No, I meant on the widget in question. I doubt there's a global scrollFactor setting.

Xiao Yu

unread,
May 27, 2015, 9:55:30 AM5/27/15
to haxef...@googlegroups.com, cane...@gmail.com
I see, Thanks a lot! would it be possible to set it in the XML though? That would be nice.

Gama11

unread,
May 27, 2015, 11:56:36 AM5/27/15
to haxef...@googlegroups.com, cane...@gmail.com
I'm almost certain that this is not supported. You could try opening an issue with a feature request over at the flixel-ui repo.

Xiao Yu

unread,
May 27, 2015, 4:04:54 PM5/27/15
to haxef...@googlegroups.com, cane...@gmail.com
Right! Many thanks
Reply all
Reply to author
Forward
0 new messages