The Daily Click ::. Forums ::. Klik Coding Help ::. Easier way to place points on a grid?
 

Post Reply  Post Oekaki 
 

Posted By Message

Ando



Registered
  08/04/2006
Points
  100
7th January, 2007 at 18:06:27 -

Okay, so I've got a 19x19 grid (totalling 361 points), with each point being 33 pixels away from the last (totalling 627 pixels per side). What I'm wanting to do is place a marker at each of the points making up my grid. However, the only way I can think of doing this is to duplicate the original marker 360 times and copy it over to each separate point. So, is there an easier / quicker way to place these markers or is this going to be a wonderfully time-consuming job?

 
n/a

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
7th January, 2007 at 18:44:57 -

Fast loop.

 
My signature is never too big!!!

David Newton (DavidN)

Invisible

Registered
  27/10/2002
Points
  8322

Honored Admin Alumnus
7th January, 2007 at 19:52:45 -

Thanks, Joe, very informative

It looks to me like you're asking about edit-time rather than at runtime, is that right? You could just line a few of them up (I assume you've set your grid snap-to at the appropriate 19x19 value), then drag a box around them and copy and paste.

 
http://www.davidn.co.nr - Games, music, living in America

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
7th January, 2007 at 20:05:04 -

He asked if there was a way, not how to do it

 
My signature is never too big!!!

Ando



Registered
  08/04/2006
Points
  100
7th January, 2007 at 22:03:58 -

Edit time, runtime, I really don't care how (I've actually got the lines making up my grid being placed during runtime; I totally forgot about the grid by the time I had finished that). But thanks, mass copy and paste totally eluded me. Talk about being braindead.

Thanks again.

 
n/a

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
8th January, 2007 at 01:28:07 -

Or just right-click it, and use the duplicate thing. Much faster

 
n/a
   

Post Reply



 



Advertisement

Worth A Click