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

#1 2009-08-27 21:12:43

greenflash
Scratcher
Registered: 2009-05-27
Posts: 1000+

Suggestion for Scratch (next version)

I was making a comet simulation, and I wanted to make the motion of the comet an elipse. I couldn't figure out how to, so I ended up making the comet go in a circle. That gave me an idea.

It would be really cool if you could trace a path (using a line tool, a cirlcle tool, ect.) onto the stage, then it would be saved. Then you could have a block that said: follow path (path1). Then the sprite would follow the path. Then it would be a lot easier to make things like orbits or gravity simulations.

Please reply so I know i'm not crazy!

Last edited by greenflash (2009-08-27 21:18:53)


http://i48.tinypic.com/2wrkirk.pnghttp://i46.tinypic.com/6r5zk7.pnghttp://i45.tinypic.com/2vtxr1t.png

Offline

 

#2 2009-08-28 01:14:48

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: Suggestion for Scratch (next version)

This might help. The Parabolator by scmb1.

No, you're not crazy.

Last edited by Jonathanpb (2009-08-28 01:16:44)


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#3 2009-08-28 03:59:27

WeirdF
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Suggestion for Scratch (next version)

The problem, you can already do this on scratch, and the point of Scratch is to use your imagination and put blocks together to create things, so if we kept making things easier and easier there would be no point. Then again, this is a good idea.


http://i.cr3ation.co.uk/dl/s1/gif/847032b8a331def77529b6a0384db1fe_handfingers.gif

Offline

 

#4 2009-08-28 04:03:13

WeirdF
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Suggestion for Scratch (next version)

Anyway, it's easy, you don't have to look at the parabolator, just do this:
[blocks]<repeat( 180
<move( 1 )steps>
<turn cw( 1 )degrees>


http://i.cr3ation.co.uk/dl/s1/gif/847032b8a331def77529b6a0384db1fe_handfingers.gif

Offline

 

#5 2009-08-28 18:35:26

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Suggestion for Scratch (next version)

that would just turn the sprite.

I thought we could just: create a thats a curved line and call it path. create the main sprite. if you are moving left or right on the path, put
<when green flag clicked>
<go to x sad   )y sad    //for this script, put the starting point  of the sprite on the path
<point in direction(   //left if moving left on the path, or vice versa
<repeat(  //or repeat until for your needs
<move( 10 )steps>
<set y to( y position of path
<end>
if you are moving up or down on the path, put:
<when green flag clicked>
<go to x sad   )y sad    //for this script, put the starting point  of the sprite on the path
<point in direction(   //left if moving up on the path, or vice versa
<repeat(  //or repeat until for your needs
<move( 10 )steps>
<set x to( x position of path
<end>
____
scripts go on the main sprite.


Hai.

Offline

 

Board footer