Questions tagged as 'lua'

0
answers

Scroll web multiframe in web browser Luakit

I have been using Luakit regularly for a few weeks. The truth is that for those of us who are used to using vim as a text editor is a little wonder. If you use awesome and you like Lua , it's the perfect combination. However some pag...
asked by 27.08.2016 / 12:43
2
answers

Problem subtracting points with a counter

I created this script to subtract points from a game, and it works, but not as I want, I explain: "initialtime" shows me 500 on the display, at this 500 I want to subtract the elapsed time of the "clockText" counter every time "ball" touches...
asked by 28.10.2016 / 20:41
1
answer

Using trim in php

I have a file called instructions.txt that is filled with the information that the user writes in a textfield, by clicking on the save button. when creating a new line every time I click through the fwrite code line ($ file, $ content.PHP_EOL);...
asked by 20.05.2017 / 23:13
1
answer

Access JSON Chained

I am working in the lua language of CORONASDK and I run into a JSON of this type: [ { "data":{ "online":true, "peerId":1, "id":"5af10ec611686d7373de1b98", "scriptData":{ "PROF...
asked by 08.05.2018 / 11:18
1
answer

How can I play sound in lua language?

Is it possible to play sound in lua (from your library) or is it possible to play directly from the OS something like os.playsound() , if there is a way please can you help me? Thanks in advance!     
asked by 08.07.2017 / 05:06
1
answer

Count number of syllables with LUA

I have a txt file that contains the following: pumpkin dices pencil harvest. I want to perform a function that tells me the number of syllables that each word in that text file has. How can I read the letter a of the alphabet again? I h...
asked by 04.06.2017 / 19:48