58 posts
Posted 19 April 2013 - 09:46 AM
I keep seeing these links to download something from lua.org
and people making these independent programs with lua. So I began wondering,
how would I do this??? Can someone fill me in on how this works, can I make a window (desktop window) and have things be written, pictures and ect, just like I would with CC?
All information is much appreciated!
1214 posts
Location
The Sammich Kingdom
Posted 19 April 2013 - 09:57 AM
There are a few Lua libraries that allow you to make standalone Windows applications. You can use Love2D to make games too. You could probably also use Love2D to make some applications but I am not sure.
58 posts
Posted 19 April 2013 - 10:05 AM
Would it be this?
https://love2d.org/Looks cool! Although, I've gotten quite accustomed to CC and is there anyway I can import the APIs folder inside the zip of CC into the engine?
1214 posts
Location
The Sammich Kingdom
Posted 19 April 2013 - 10:07 AM
If the API's are in plain Lua then you can. But a lot of the API's(Such as the FS API) are made in Java.
58 posts
Posted 19 April 2013 - 10:11 AM
It's the one I wanted lol, dat file editing ya know :D/>
But you think this would work for rather simple things?
818 posts
Posted 19 April 2013 - 10:12 AM
I think the closest to that would be cc emulator then, but it's still not what you desire fully
182 posts
Posted 19 April 2013 - 10:12 AM
And also, alot of the APIs won't work unless it's
in CC
1190 posts
Location
RHIT
Posted 19 April 2013 - 10:42 AM
You can do graphics outside of CC using GUI wrappers such as wxLua. It can be complex at times though, so I'd recommend sticking with Love, which is less so. A lot of functions in ComputerCraft are specific to ComputerCraft only: especially the term library. It is possible to emulate these functions in a regular Lua environment, but it would probably not be easy.
58 posts
Posted 19 April 2013 - 12:07 PM
Well thanks for the feed back guys! I shall try this Love2D thingy… Good day!