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? [import]uid: 55469 topic_id: 9434 reply_id: 309434[/import]

there are many tutorials online on this topic.

for example:
http://www.goofballgames.com/2010/01/31/how-to-build-a-tower-defense-flash-game-part-1-waypoints-and-enemies/

and

http://www.flashgametuts.com/tutorials/as3/how-to-create-a-tower-defense-game-in-as3-part-1/
there you can get tips for your own td game. [import]uid: 42078 topic_id: 9434 reply_id: 34573[/import]

Can we get a corona example as in the ones doe for Magic Defense? Thanks [import]uid: 53149 topic_id: 9434 reply_id: 53451[/import]

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 :slight_smile:

Waypoint:

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)  

It’s missing the collision code and the waypoint coordinates to move the game object or player… This is something I need help with for a Tower Defense. I will give cred where it’s due. Thanks [import]uid: 53149 topic_id: 9434 reply_id: 53597[/import]