• Compiling lua to .exe
    12 replies, posted
Hi! I'm new to the language (Lua), but i've been trying to learn it. I made a little BlackJack game to test and I want to build an executable, but i have no idea how to use SrLua. I found a thread here about it, but the link there was old and didnt exist anymore, so if anyone could help me with... I'm using Lua For Windows on Vista. Thanks for helping.... [editline]03:28PM[/editline] SOLVED! I found this: [url]http://luaforge.net/projects/l-bia[/url] it's pretty simple and self explanatory
Can you upload your game so that we may try it? :v:
As soon as i finish tweaking it, ill do it. But the game has no UI, it's like windows CMD
Ah, ok. :v:
[QUOTE=Brunodess;22710042]As soon as i finish tweaking it, ill do it. But the game has no UI, it's like windows CMD[/QUOTE] It's a console application. The console is a type of UI.
Hah! I knew I'd find it eventually. [url]http://www.facepunch.com/showthread.php?t=700562[/url]
[QUOTE]I made a little BlackJack game to test[/QUOTE] That just instantly remind me of "Pirates of silicon valley".
[QUOTE=ShaRose_;22719647]Hah! I knew I'd find it eventually. [url]http://www.facepunch.com/showthread.php?t=700562[/url][/QUOTE] This looks better than wat i found, ill try it as well. Sorry it took me so long, i actually forgot to upload the game... It's ready, but still has no GUI (sorry about the "UI"), runs in console mode. Oh, i forgot to mention, it's in portuguese, and i'm kinda lazy, so it'll propably take more time until i translate it.
Ok, i translated it, not sure if I covered it all. Original(brazilian portuguese): [URL=http://www.4shared.com/file/p4EJzizb/BlackLua.html]BlackLua.rar[/URL] Translated to english: [URL=http://www.4shared.com/file/BBTvbSv7/BlackLua_ENG.html]BlackLua_ENG.rar[/URL] The ranking file must be on the same folder as the .exe file
[QUOTE=Brunodess;23747623]Ok, i translated it, not sure if I covered it all. [URL=http://www.4shared.com/file/3eqRV372/BlackLua.html]BlackLua.rar[/URL] The ranking.txt file must be on the same folder as the .exe file[/QUOTE] Does this work with files in folders as well?
[QUOTE=Diaklu;23756433]Does this work with files in folders as well?[/QUOTE] The files can be in any folder, as long as they are in the same one.
[QUOTE=Brunodess;23772595]The files can be in any folder, as long as they are in the same one.[/QUOTE] Sorry I didn't state my question clearly enough, I meant inclusion of files in several sub-folders. Thanks anyway.
[QUOTE=Diaklu;23786335]Sorry I didn't state my question clearly enough, I meant inclusion of files in several sub-folders. Thanks anyway.[/QUOTE] sorry, i still dont get it... You mean in general? Like in any program you write, if you can use (read/write) files in sub-folders?
Sorry, you need to Log In to post a reply to this thread.