This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-05-07 01:25:48

Happypieman
Scratcher
Registered: 2010-09-28
Posts: 100+

How would one...

Make an isometric grid-lock? I expect that it's something similar to basic grid-locking, but different. Any help would be appreciated!


2012--The biggest troll ever.

Offline

 

#2 2012-05-07 01:53:39

amcerbu
Scratcher
Registered: 2009-07-21
Posts: 500+

Re: How would one...

I believe there was a topic about this a while ago.  Paddle2SeeFixIt made a pretty good "coordinate finder."  Here it is.

Offline

 

#3 2012-05-07 15:25:25

Happypieman
Scratcher
Registered: 2010-09-28
Posts: 100+

Re: How would one...

I don't know if that's really what I need. I'll have a look, but what I need is an isometric snap-to grid, or at least knowledge of how to make one. Thanks anyway  smile


2012--The biggest troll ever.

Offline

 

#4 2012-05-07 15:43:58

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: How would one...

a snap to grid?

You could just round the coordinates to the nearest 10 thus it will snap to 40,60 or a multiple of 10


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#5 2012-05-07 15:52:15

amcerbu
Scratcher
Registered: 2009-07-21
Posts: 500+

Re: How would one...

You can use the math from that project to make a snap-to-grid.  I don't have time to describe it, but if you look at the way of converting x/y to isometric, you can snap mouse x/y and then convert it to isometric.

Offline

 

#6 2012-05-07 15:52:31

Happypieman
Scratcher
Registered: 2010-09-28
Posts: 100+

Re: How would one...

muppetds wrote:

a snap to grid?

You could just round the coordinates to the nearest 10 thus it will snap to 40,60 or a multiple of 10

No, i need an isometric snap-to grid.  big_smile


2012--The biggest troll ever.

Offline

 

#7 2012-05-07 15:53:39

Happypieman
Scratcher
Registered: 2010-09-28
Posts: 100+

Re: How would one...

amcerbu wrote:

You can use the math from that project to make a snap-to-grid.  I don't have time to describe it, but if you look at the way of converting x/y to isometric, you can snap mouse x/y and then convert it to isometric.

Yeah, i was thinking of that and, did you JUST post?


2012--The biggest troll ever.

Offline

 

#8 2012-05-07 15:57:13

amcerbu
Scratcher
Registered: 2009-07-21
Posts: 500+

Re: How would one...

Yep!

Offline

 

#9 2012-05-08 04:27:37

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: How would one...

Snap objects to a rectangular grid?


http://trinary.tk/images/signature_.php

Offline

 

#10 2012-05-09 20:30:18

amcerbu
Scratcher
Registered: 2009-07-21
Posts: 500+

Re: How would one...

Actually, I think trinary is right.  All you have to do is snap to a rectangular grid that's equal in size to the height and width of the bounding rectangle of each parallelogram (isometric tile).

Offline

 

Board footer