Here's an experiment in making a keyboard for entering stuff without using plugins, just Lua
I've only tried it on iOS, should be ok on android???
It's a bit hack 'n slash, landscape only and the keyboard graphics are rudimentary, so it's not that elegant
Still I hope it's useful to someone
cheers
evs
Comments
keyboard.lua is uploading.
Uploading finished.
keyboard.lua:33: fonts/arial-rounded.TTF: Error while reading font file.
stack traceback:
if a try to send to emulator only background graphics is displayed.
i miss something ?
is related to TTFont bug in 2012.2.2.1?
www.tntengine.com
See here: http://www.giderosmobile.com/forum/discussion/1008/ttfont-bug-in-2012.2.2.1#Item_6
You can easily use a bitmap font instead (still only tested by me on iOS), just change line 33 to
Note :-The € £ ¥ and • symbols are missing from it!
cheers
evs
You are not going to ever get any issues with including a bitmap font in your app, simply because you've generated it yourself from a TTF font on your machine, however if you ever decide to include a TTF font it would be a trivial matter for someone to look at your app and see what assets are included - TTF font's usually have quite strict licencing conditions, local use is one thing but including the font as an asset is classed as distributing it and could end you in a lot of trouble unless you have explicit permission to do so...
Just thought I'd mention it.
Likes: atilim
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
edit: not better than evs'
It's seems ironic that people will download a game for free and then complain about being asked to carry on playing and yet will have no problem with paying up front ???
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
Likes: luyimoon
(Oh I'm off topic )
I don't see a link or attachment.
They're still there!
cheers
evs
...
very slick!
Also, if anyone tries it and only sees the background on desktop player, it doesn't work because it uses touch events instead of mouse.
thanks @evs ! The best is the reviews that say "Great game but it should have been free"
I just shake my head at those... It's like they think the games just materialize out of thin air with no work involved.
I did notice that due to the large screen on my Droid X I can see the keyboard when it is in it's off screen resting position-- I am guessing this would be true on tablets as well though I can't test it myself
Anyway awesome library I will certainly have a use for something like this shortly. Thanks for sharing.
It works really well on the droid from my testing so far. Thanks
Sure - feel free!
cheers
evs
Likes: Teranth
I've already started my own virtual keyboard, but why invent the wheel all over again if I don't have to?
Hopefully he doesnt mind
http://appcodingeasy.com/Keyboard.zip
Unfortunately I've already come so far that it turnes out It's probably best for me to finish my own creation than using the one from @evs.
My solution however will be portrait only, and since the solution from @evs is landscape only I will share my creation here when I'm ready.
Likes: gorkem