Hey guys am very new to corona/Lua. I am trying to a connect dots kind of game. Here there is a grid of dots (no. of dots increase at each level) and players need to tap space between two adjacent dots to form a wall. Could anyone please help me. I would really appreciate it. [import]uid: 44499 topic_id: 8164 reply_id: 308164[/import]
Go through the beginner tutorials to learn how to put display objects onto the screen. Then write “for” loops to position the objects into regular spaces:
[code]
for i = 1, 10 do
for j = 1, 10 do
local dot = newImage(“dot.png”)
dot.x = i
dot.y = j
end
end [import]uid: 12108 topic_id: 8164 reply_id: 29240[/import]
Hi jhocking that was helpful :), I really appreciate it. By the way do you know whether it is possible or not to use Lua to create visuals mapped to some audio. Kinda like how quartz composer is used to make those music representations. Making a game that needs those kinds of effects… [import]uid: 44499 topic_id: 8164 reply_id: 29290[/import]