Return to Starling Playback Library

BitmapFontTextRenderer

Questions related to Starling playback library should be asked here.

BitmapFontTextRenderer

Postby anton » May 25th, 2015, 5:42 am

Is it possible to use feathers BitmapFontTextRenderer for gaf textfields?
If yes, then how?
Thanks!
User avatar
anton
 
Posts: 47
Joined: February 9th, 2015, 7:20 am

Re: BitmapFontTextRenderer

Postby Назар Левицкий » May 26th, 2015, 5:13 am

User avatar
Назар Левицкий
 
Posts: 12
Joined: June 6th, 2014, 12:01 am

Re: BitmapFontTextRenderer

Postby anton » May 27th, 2015, 2:46 am

I've compiled the example and all I see is a red font:
http://joxi.ru/wGrqMJoFRjOyrz
User avatar
anton
 
Posts: 47
Joined: February 9th, 2015, 7:20 am

Re: BitmapFontTextRenderer

Postby anton » May 27th, 2015, 2:48 am

Oh. That's the way it shot be :) thanks!
User avatar
anton
 
Posts: 47
Joined: February 9th, 2015, 7:20 am

Re: BitmapFontTextRenderer

Postby anton » May 27th, 2015, 2:53 am

Each textfield with bitmap fonts still adds additional drawcall. Is that correct?
User avatar
anton
 
Posts: 47
Joined: February 9th, 2015, 7:20 am

Re: BitmapFontTextRenderer

Postby Назар Левицкий » May 27th, 2015, 3:04 am

You can try to set "useSeparateBatch" property of BitmapFontTextEditor to false.
More details here - http://forum.starling-framework.org/top ... same-batch
User avatar
Назар Левицкий
 
Posts: 12
Joined: June 6th, 2014, 12:01 am

Re: BitmapFontTextRenderer

Postby anton » May 27th, 2015, 3:23 am

Settings useSeparateBatch to false didn't help and I still get extra drawcall per each textfield.
Ok, thanks...I'll try to investigate that
User avatar
anton
 
Posts: 47
Joined: February 9th, 2015, 7:20 am

Return to Starling Playback Library

Who is online

Users browsing this forum: No registered users and 2 guests