do you see it?josefnpat wrote:
I can't see the one you posted but I can see the one I posted, wierd...the link is not broken or anything.
O.K, I have attached it to this post directly. I think now everyone can see it...
do you see it?josefnpat wrote:
Code: Select all
if text.vis then --if the text box is visible then
--enter user input
if key and key:match('^[%w%s]$') then --pattern to match and find all letters with key pressed
if text.input:len() < 31 then --limit to 31 characters (length of text box)
text.input = text.input..key
end
end
--delete user input
if key == "backspace" then
text.input = text.input:sub(1, -2)
end
end
Code: Select all
function map(t,f)
for i=1, #t do
return f(t[i])
end
end
There are two problems with this. The first is that the breakdown of the sentence is grammatically incorrect.Ekamu wrote:Basically I have most of the code set up besides one important feature. The Text Parser/Verb-Noun Parser.
Lets get into how words are generally structured. In the screenshot I input the command "my wish is for you to die"
How would a human understand this?
my = noun/object
wish = verb
is = connective_equator similar to =
for = connective_object (for all objects of ..)
you = noun/object
to = connective_action similar to do...end
die = verb
Nothing wrong with dreaming bigEkamu wrote:As you said that sort of thing is way too advanced, sometimes I like to dream about impossible things but I'm very aware that its something I cant achieve any time soon (and is also very unnecessary).
https://github.com/ejmr/LNVLEkamu wrote:Thanks, good luck to you to.
about visual novel engines, is it possible to link me to your project so I can learn a few things myself?
(which as I know now are not entirely simple but doable at my level)
No need to say ‘sorry’ for anythingEkamu wrote:sorry for the crap English example. we speak English a little differently in my country (@_@)
Code: Select all
--lexicon comparison
function lex_txt(str,i)--compares user_data string_text
if user_data.txt[i] == str then
return true
else
return false
end
end
function lex_num(num,j)--compares user_data string_numbers
if user_data.num[j] == num then
return true
else
return false
end
end
Code: Select all
--used to check user input text data
if lex_txt("yes",1) then jump("label_yes",0) end --if user inputs yes then jump to the label "label_yes" at page 0
Code: Select all
--used to store user input e.g players name
if user_data.txt[1] ~= nil then first_name = user_data.txt[1] end -- 1 == first word
if user_data.txt[2] ~= nil then second_name = user_data.txt[2] end --2 == second word
--max of 4 words at a time
Yeah, you have to copy src/settings.lua.example to src/settings.lua. But even if you did that the example scripts would not run because I still haven’t added the assets they use or rewritten them to use different/free assets.Ekamu wrote:You project gives me this error immediately I try to run it. I think I'm missing somefile or something.
Thanks for sharingOh and you/anyone can use my custom made font "Lunar Console Sans Serif" its free!
invert the color in any image editor to get white text (the one I use) this one is more visible on the forums.
That looks pretty good, thanks!Ekamu wrote:Oh and you/anyone can use my custom made font "LuNar Console Sans Serif" its free!
invert the color in any image editor to get white text (the one I use) this one is more visible on the forums.
Users browsing this forum: Ahrefs [Bot] and 11 guests