Help: Dragon Language Translator - buttons and stuff
Posted: Thu May 31, 2012 9:54 pm
Okay, so this is what I want to create:
I am trying to make a recreational application (hard to consider it a game) and what it does is to use this giant dictionary of english to dragon language words.
You type in a sentence, and then you press the button "Translate". The game tries to convert as many english words available for translation into dragon language and prints it right below. The words that cannot be translated are left as the original words.
Right now, I have the part where you can type in anything (only letters + numbers), and I am just trying to get the button to at least print something so I will know that I can move on to the translation part of the script. By the way, I am pretty mediocre or even lower about pure lua coding and love lua. I've only learned my knowledge on lua from a game called ROBLOX.
So my help here is pretty much to make the button work and for another question: is there a possible way where I can have a function from another script be usable in the main.lua? You will see my DragonLanguageTranslator.lua in my file. (Not done translating all the possible words, but it is still usable)
I see that I have some errors in this script, so I was wondering if anyone can help me. I am pretty sure that you will try to see what I mean from the coding. I have some notes for you in the coding.
And thank you so very much if you are willing to help me.
I am trying to make a recreational application (hard to consider it a game) and what it does is to use this giant dictionary of english to dragon language words.
You type in a sentence, and then you press the button "Translate". The game tries to convert as many english words available for translation into dragon language and prints it right below. The words that cannot be translated are left as the original words.
Right now, I have the part where you can type in anything (only letters + numbers), and I am just trying to get the button to at least print something so I will know that I can move on to the translation part of the script. By the way, I am pretty mediocre or even lower about pure lua coding and love lua. I've only learned my knowledge on lua from a game called ROBLOX.
So my help here is pretty much to make the button work and for another question: is there a possible way where I can have a function from another script be usable in the main.lua? You will see my DragonLanguageTranslator.lua in my file. (Not done translating all the possible words, but it is still usable)
I see that I have some errors in this script, so I was wondering if anyone can help me. I am pretty sure that you will try to see what I mean from the coding. I have some notes for you in the coding.
And thank you so very much if you are willing to help me.