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

#1 2012-02-02 17:53:19

wisetrain
New Scratcher
Registered: 2011-11-28
Posts: 4

Can't seem to Figure this out.

http://scratch.mit.edu/projects/wisetrain/2309207


That's my project, heres what I'm stuck on:


Ok so I want my game to have the dots evenly spread out from the right to the left side of the screen on on the X axis. I have to make sure that they stamp the amount of times the user imputs. Mine, doesn't stamp in the middle. It somehow needs to be moved over or something.


Like this:
( | ) = Side
( x ) = Sprite or stamp


| X X X X X |

Currently I have:


|    X X X X X X| Help please?

Offline

 

#2 2012-02-02 18:16:51

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Can't seem to Figure this out.

You are probably doing something like this:

repeat (5)
    change x by (20)
    stamp
end
You should do:

goto (-225) (0)
repeat (5)
    stamp
    change x by (10)
end
instead.

Last edited by Magnie (2012-02-02 18:17:19)

Offline

 

#3 2012-02-08 15:37:59

joshbradbury52
Scratcher
Registered: 2010-04-02
Posts: 3

Re: Can't seem to Figure this out.

if you want you can look at my screen generator script which works out the centre point of the square the user wants generate and the draws based on that. (it uses pre set tiles to generate so you could just replace them with dots)

Offline

 

Board footer