GameEngine2D

Reply
Accepted Solution

How to change the label size?

The fontmap image is too big size when the application use big size font and big charset (ex. when the charset include kanji character). I want to solve this problem by using small size font and chaging the size of font image when the font image are pasted to label.


So, I want to know how to change the Sce.Pss.HighLevel.GameEngine2D.Label's size. I think I should set SpriteRenderer.ISpriteShader of Label, but I don't know the way of settings.

 

Thank you.

Please use plain text.

Re: How to change the label size?

Use the HeightScale property
1.0f is normal scale so just reduce it

reference
http://www.psschina.net/en/classSce_1_1Pss_1_1HighLevel_1_1GameEngine2D_1_1Label.html#a71d571f6dd2fc...

cheers!!
Please use plain text.

Re: How to change the label size?

Thanks. I looked for this way!!
I made a wrong guess X(
Please use plain text.
Announcements

Welcome to the PlayStation Mobile Developer Forums


This is a community for the discussion of technical topics with other developers and SCE engineers. Posting ideas/requests are also appreciated. Join the discussion!

PlayStation®Mobile開発者フォーラムでは世界中の開発者の皆様と一緒に、議論や情報交換が可能です。SCEも議論に参加し、皆様の開発をサポートします。アイデアやリクエストも大歓迎です。ぜひご参加ください。

PSM Developer Registration (for free) on PSM DevPortal is required to post on the forum.
Please sign out then sign in again to the forum and PSM DevPortal after you have completed the registration.

フォーラムへ投稿をするにはPSM DevPortalへの登録(無料)が必要です。
登録後はフォーラムと PSM DevPortalを一度ログアウトし、再度ログインしてください。