[Plugin] SpriteFont+

Post your completed addons to share with the community

Post » Wed Feb 01, 2017 1:01 am

Hi @thechriskent!

Thanks for this one, it makes life much more comfortable!

Just one thing. Could you please remove the
Code: Select all
console.log(this.charWidthJSON);
from the instanceProto.onCreate function? It really slows down object creation. I have leaderboards with thousands of entries and this one log slows it down by several seconds.

I can remove it myself for my own needs, but it would be good to have it clean in the official version. I presume it's just a remaining of your testings?

Cheers
ImageImageImage
B
27
S
16
G
73
Posts: 976
Reputation: 41,171

Post » Tue Feb 14, 2017 9:26 am

Thanks for your work @thechriskent

Do you think it's technically possible to add "Load image from URL" to your plugin SpriteFont+ ?
B
18
S
4
Posts: 84
Reputation: 2,085

Post » Tue Feb 14, 2017 9:30 am

amkp wrote:Thanks for your work @thechriskent

Do you think it's technically possible to add "Load image from URL" to your plugin SpriteFont+ ?



If you look at a user's profile, it lets you know the last time they visited.

Unfortunately the creator of this plugin hasn't been on here for over 2 years, so is unlikely to respond to your request.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,375
Reputation: 58,432

Post » Tue Feb 14, 2017 10:40 am

BackendFreak wrote:Hi @thechriskent!

Thanks for this one, it makes life much more comfortable!

Just one thing. Could you please remove the
Code: Select all
console.log(this.charWidthJSON);
from the instanceProto.onCreate function? It really slows down object creation. I have leaderboards with thousands of entries and this one log slows it down by several seconds.

I can remove it myself for my own needs, but it would be good to have it clean in the official version. I presume it's just a remaining of your testings?

Cheers


I also just removed this line of code.
I guess you can upload it here so others can use it as well ;)

Regards
Andy
Image Image iTunes: Match3 | Google Play: Match3
B
98
S
33
G
30
Posts: 1,117
Reputation: 27,791

Post » Wed Aug 16, 2017 11:37 am

AndreasR wrote:
BackendFreak wrote:Hi @thechriskent!

Thanks for this one, it makes life much more comfortable!

Just one thing. Could you please remove the
Code: Select all
console.log(this.charWidthJSON);
from the instanceProto.onCreate function? It really slows down object creation. I have leaderboards with thousands of entries and this one log slows it down by several seconds.

I can remove it myself for my own needs, but it would be good to have it clean in the official version. I presume it's just a remaining of your testings?

Cheers


I also just removed this line of code.
I guess you can upload it here so others can use it as well ;)

Regards
Andy


Hey, where to remove it?
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
89
S
30
G
22
Posts: 1,985
Reputation: 20,099

Post » Wed Aug 16, 2017 11:56 am

@megatronx

I've reposted cleaned version here viewtopic.php?f=153&t=195072
ImageImageImage
B
27
S
16
G
73
Posts: 976
Reputation: 41,171

Previous

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 6 guests