Search found 3 matches
- Fri May 27, 2011 12:59 am
- Forum: Support and Development
- Topic: Command line parameters
- Replies: 9
- Views: 10109
Re: Command line parameters
I revised the script as follows: -- This is main.lua function love.load () print("Program name", arg[0]) print("Arguments:") for l = 1, #arg do print(l," ",arg[l]) end end I got some funny results on a Microsoft Windows based system, but I will try this on Unix, when I ...
- Thu May 26, 2011 9:57 pm
- Forum: Support and Development
- Topic: Command line parameters
- Replies: 9
- Views: 10109
Command line parameters
How do I obtain the command line parameters from within main.lua? I tried the following, but this produces no data on the console:
-- This is main.lua
print( "Program name:", arg[0] )
print "Arguments:"
for l = 1, #arg do
print( l," ", arg[l] )
end
-- This is main.lua
print( "Program name:", arg[0] )
print "Arguments:"
for l = 1, #arg do
print( l," ", arg[l] )
end
- Sun Mar 06, 2011 9:30 pm
- Forum: Support and Development
- Topic: Isometric Graphics Tutorial Example Tiles
- Replies: 1
- Views: 2328
Isometric Graphics Tutorial Example Tiles
Does anyone have any working example build from the isometric graphics tutorial? I need to know how to cut the tiles, and I could do with a sample tile to use as a template.