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

#1 2011-08-20 11:22:39

Borrego6165
Scratcher
Registered: 2011-03-10
Posts: 1000+

Ahhhhh!

I know how to make objects nap to grids by rounding their positions to the nearest N. However, I have tried this on scrolling backgrounds and it does not work???
HWELP!


Generation:4001 Build a beautiful city, with over 50 objects and over 10000 tiles per city! This simulates traffic, pollution, tourism, crime and more!

Offline

 

#2 2011-08-21 08:32:11

Borrego6165
Scratcher
Registered: 2011-03-10
Posts: 1000+

Re: Ahhhhh!

And... everytime an object is placed it uses PositionX and PositionY, and everytime it makes a clone it creates a new PositionX and PositionY. However: When you place an object down, it sticks to the ground no matter how you scroll (good!) but when you place a second clone, the second follows its orders correctly (good) but the first one now flies above the ground instead of its fixed position. (badddd!)


Generation:4001 Build a beautiful city, with over 50 objects and over 10000 tiles per city! This simulates traffic, pollution, tourism, crime and more!

Offline

 

#3 2011-08-22 04:55:28

Borrego6165
Scratcher
Registered: 2011-03-10
Posts: 1000+

Re: Ahhhhh!

Yeeeeessssssssssssssss! I've Done It!!!!!!!!!!!!!! Yeah!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


Generation:4001 Build a beautiful city, with over 50 objects and over 10000 tiles per city! This simulates traffic, pollution, tourism, crime and more!

Offline

 

#4 2011-08-22 04:56:24

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Ahhhhh!

*claps*
You gonna upload to Mod Share anytime soon then?

Offline

 

#5 2011-08-23 09:59:41

Borrego6165
Scratcher
Registered: 2011-03-10
Posts: 1000+

Re: Ahhhhh!

Done it! (SCDG 1.2) But it still needs some variables adjusting. I'll tell you when SCDG 1.3 is coming out! (Also, you get no rent nor expences so I'll add them)


Generation:4001 Build a beautiful city, with over 50 objects and over 10000 tiles per city! This simulates traffic, pollution, tourism, crime and more!

Offline

 

Board footer