| View previous topic :: View next topic |
| Author |
Message |
LuMo
Joined: 21 Aug 2005 Posts: 410 Location: Austria
|
Posted: Mon Sep 19, 2005 12:45 am Post subject: LuaPlayer && Fonts && Typing && Nick |
|
|
1) well, is it just me or does the default font look not that great... SOLVED
2) typing... how do you input some stuff to a game... weird without keyboard, and you cant implement a whole editor with keyboard (and expect a user/child) to learn it... SOLVED
3) the only good part on entering text to a game is, that most of the time you only need a nick, which is usually quite short!
long speech short point ;)
thats my idea of selecting a nick in a childish way..
you can grab the sourcecode in a ZIP file on my homepage
the zip includes:
font
char-selector
lua sourcecode
i added some other pixfonts (ready2use for luaplayer) (and a link to another nice collection)
once again, feel free to grab the source and add it to your game
(and maybe add me in credits :)) )
as usual critics welcome
greets
Lumo
PS:
CREDITS GO TO LPut:
for math.round
and i modded the function for the ellipse to return me an array with x|y values instead of drawing em to screen |
|
| Back to top |
|
 |
ksilvert
Joined: 06 Sep 2005 Posts: 5
|
Posted: Mon Sep 19, 2005 1:52 am Post subject: |
|
|
| Looks nice!! I was thinking of something like this myself....Great work |
|
| Back to top |
|
 |
MikeHaggar
Joined: 18 Jul 2005 Posts: 116
|
Posted: Mon Sep 19, 2005 3:10 am Post subject: |
|
|
Nice work ;)
Some suggestions:
Shouldn't it be 0-9 instead of 1-9,0?
And how bout adding backspace (something like <-) and end? |
|
| Back to top |
|
 |
LuMo
Joined: 21 Aug 2005 Posts: 410 Location: Austria
|
Posted: Mon Sep 19, 2005 3:12 am Post subject: |
|
|
this can be easily fixed, cause the chars are taken from an string (which will be transformed to an array/table ;) )
heh, forgot to mention the controls
X --> adds the character
/\ --> remove an character
START ends input
note the typed stuff is shown on bottom (as in picture above) _________________ "Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com |
|
| Back to top |
|
 |
|