Fun with display.newLine

What cool things can you make with display.newLine?

Here’s my lame attempt :wink:

[code]
local x = 0

for y = 1, 480, 20 do
local line_variable_name = display.newLine(0, y, x, 480)
x = x +20
end
[/code] [import]uid: 141560 topic_id: 33698 reply_id: 333698[/import]

Does anyone know if it would be possible to add floor physics properties to dynamically created lines like this code has generated?

I know almost anything is possible… but let’s say … could it be done in a fairly easy way?

http://i.imgur.com/712bY.png [import]uid: 141560 topic_id: 33698 reply_id: 134116[/import]

Does anyone know if it would be possible to add floor physics properties to dynamically created lines like this code has generated?

I know almost anything is possible… but let’s say … could it be done in a fairly easy way?

http://i.imgur.com/712bY.png [import]uid: 141560 topic_id: 33698 reply_id: 134116[/import]