tower defense game help

hello everyone!
I want to make a tower defense game, but I completely new to all this so basically I have no idea what to do. Questions that interest me now are: How do I create a map for it?(do I just draw it somewhere and put there as an image?)
How can I make creeps walk only on a line that I draw on a map?(should I just use coordinates and waypoints to move them where I want on the screen? if so, how can I find coordinates for my line? just randomly try different until I find which represents my line on a map?)
How do I do that turrets can be placed anywhere but line for creeps?

Can we get a corona example as in the ones doe for Magic Defense? Thanks

Since no one wants to comment or share an example. With my little code kungFu book emphasis on "Little" i will try something. Please help me extend it, fix, or design one better :)

Waypoint:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
local wp0  -- player spawns here
local wp1 = false;
local wp2 = false;
 
local function wpListener ()
 -- check for collision between waypoints and game object 
 -- set each waypoint to true/false based collisions
 if (wp1 == true) then
     -- transition game object (go) to wp 2
 end
 
 if (wp2 == true) then
     -- transition game object to wp 3...etc
 end
 
end
 
Runtime:addEventListener("enterFrame", wpListener)
views:1736 update:2011/10/4 17:12:07
corona forums © 2003-2011