Search found 2 matches

by AveryRE
Mon Jan 21, 2013 11:55 pm
Forum: Support and Development
Topic: Load map from required LUA file.
Replies: 6
Views: 3770

Re: Load map from required LUA file.

Thanks! Works perfectly!
by AveryRE
Mon Jan 21, 2013 10:27 pm
Forum: Support and Development
Topic: Load map from required LUA file.
Replies: 6
Views: 3770

Load map from required LUA file.

So I've been following the grid-locked player tutorial, and it teaches how to create a map within main.lua, like so: function love.load() -- Define the map used. map = { { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }, { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 }, { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...