TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Extensions
→
Text Input Extension [1.2]
Pages:
1
2
Text Input Extension [1.2]
greatanthony
Posts: 166
April 04, 2018, 03:59:31 am
Text Input Extension
[3.4+]
(v.1.2)
blocks, features, documentation , Instructions, version-History and DOWNLOAD
HERE
« Last Edit: September 07, 2018, 10:56:23 pm by greatanthony »
https://gadvilla.blogspot.com/2017/06/home.html
designpeg
Posts: 731
April 05, 2018, 01:47:56 am
Hi, should this work on all platforms? I can't get it working on iOS.
greatanthony
Posts: 166
April 05, 2018, 01:59:55 am
hi,
i don't know about ios, or android and other platforms as i have untested on them.........
but does it show the "pretyped text" on the game on ios? i think that will determine whether this purely unworks or have some issues...
Anthony
https://gadvilla.blogspot.com/2017/06/home.html
greatanthony
Posts: 166
April 05, 2018, 02:05:42 am
i also assume there that ios may not have built-in support for fonts that are in this extension......
try testing this.......
IN WHEN CREATED EVENT
https://gadvilla.blogspot.com/2017/06/home.html
designpeg
Posts: 731
April 05, 2018, 03:40:08 am
Hi, thanks for the help. I'm pretty sure the issue is the font not being available in IOS - as it compiles and works on Mac desktop.
I see that choosing the font to use in the text block sets the font via Tin.setfont( INTEGER );
if I create a font in Stencyl I can call it by using
getFont(MY FONT INTEGER );
I tried using a code bloc and setting Tin.setfont(MY FONT INTEGER) and Tin.setfont(getFont(MY FONT INTEGER ));
but neither worked. Is there a way to select one of the fonts created in stencyl to use?
greatanthony
Posts: 166
April 05, 2018, 03:44:42 am
hi again,
very much thanks to let me know that this extension works on mac...
Tin.setfont( INTEGER ); i used this to choose btween 3 fonts in the extension.......
Yes I remember one way to add stencyl fonts , but since it was too lengthy method , i didn't include that in the extension.......
can you give me some minutes? I'll illustrate here how to add stencyl fonts to the input box......
https://gadvilla.blogspot.com/2017/06/home.html
designpeg
Posts: 731
April 05, 2018, 03:58:52 am
cool thanks!!
greatanthony
Posts: 166
April 05, 2018, 04:42:27 am
hi again ,
it's some sad news.....
The method I knew was that to name that font's actual name in hx file....But now I found, that method would only be working if user has that font installed....
Since stencyl uses BitmapFonts as Images of Fonts and not Actual Fonts to display them.......
it's not possible to get those stencyl fonts working in the text input box other than those built in
But I would be exploring other ways to achieve this.......... who knows might get these fonts to work!!
« Last Edit: April 05, 2018, 04:53:25 am by greatanthony »
https://gadvilla.blogspot.com/2017/06/home.html
designpeg
Posts: 731
April 05, 2018, 05:40:44 am
Ok, thanks for the help. If I find a solution I'll post it here.
greatanthony
Posts: 166
April 06, 2018, 04:53:02 am
o.k....... thought to write here....
This Extension's compatibility ==>
FLASH (player and browser) : WORKS
MAC: WORKS
IOS : UNTESTED
LINUX: UNTESTED
ANDROID : WORKS
WINDOWS: UNTESTED (should work)
HTML5 :WORKS WITH BUGS
« Last Edit: June 18, 2018, 08:52:59 am by greatanthony »
https://gadvilla.blogspot.com/2017/06/home.html
Wasanni
Posts: 136
June 11, 2018, 05:48:30 am
Hey Guys, just tested this on Android 7.0 (Galaxy Note 5) and it seems to be working fine.
I used it to input a value, store it, and add it to another value.
Thanks for the extension, it is quite helpful!
greatanthony
Posts: 166
June 18, 2018, 08:52:39 am
hi there,
it is great to hear some feedback ( i wasn't expecting much feedback though
)
thanks for writing and letting to know it's mobile compatibility (updated it)
https://gadvilla.blogspot.com/2017/06/home.html
greatanthony
Posts: 166
September 07, 2018, 10:55:25 pm
added block enabling custom fonts,
1) grab out your preferable font from any free source ( say
google fonts
)
2) put the fontfile in your game's extras folder.
3) use this block to set that font ...( write the name of file along with it's extension (
.ttf
,
.otf
)
link to the extension remains in the first post..
feel free to let me know any bugs
Anthony
https://gadvilla.blogspot.com/2017/06/home.html
LIBERADO
Posts: 2720
September 08, 2018, 01:20:00 am
@greatanthony
, thank you very much.
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.
squeeb
Posts: 1617
September 08, 2018, 10:30:24 am
Great feature!
I will be adding text to my maps engine soon
Like my page
https://www.facebook.com/FirstPassProductions/
Check out my apps and games, more to come
https://play.google.com/store/apps/developer?id=First+Pass+Productions&hl=en
Pages:
1
2