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

#1 2008-02-15 11:01:33

Heybrian
Scratcher
Registered: 2007-12-05
Posts: 100+

X and Y postions in a variable

I thought this was really cool,   http://scratch.mit.edu/projects/Heybrian/99764
because it tracks your X and Y position perfectly like the one on scratch, in a variable!
it also uses velocity in all ways, and not my jump engine, but a fly engine.


Black Mesa. go here to get a game 10 times better than SN or FW.  http://scratch.mit.edu/galleries/view/10650
Smiley! copy and paste these into your post or signature!  smile   sad    yikes                 big_smile     wink    tongue    hmm    neutral   cool   lol   mad   roll

Offline

 

#2 2008-02-15 11:06:58

papajoe
Scratcher
Registered: 2007-11-25
Posts: 3

Re: X and Y postions in a variable

Thats amazing.

Offline

 

#3 2008-02-15 11:11:38

Heybrian
Scratcher
Registered: 2007-12-05
Posts: 100+

Re: X and Y postions in a variable

Thank you. But did you really have to say that on my project AND the forums?
cool

Last edited by Heybrian (2008-02-15 11:12:08)


Black Mesa. go here to get a game 10 times better than SN or FW.  http://scratch.mit.edu/galleries/view/10650
Smiley! copy and paste these into your post or signature!  smile   sad    yikes                 big_smile     wink    tongue    hmm    neutral   cool   lol   mad   roll

Offline

 

#4 2008-02-15 11:58:09

halo_3_FTW
Scratcher
Registered: 2008-02-15
Posts: 2

Re: X and Y postions in a variable

Papajoe said this project should get featured. its in the all about scratch.
i think it should get featured too.

Offline

 

#5 2008-02-15 21:13:44

B-Reyn428
Scratcher
Registered: 2007-09-08
Posts: 55

Re: X and Y postions in a variable

Thats not really that amazing. Just say

<forever>
<set{ x position }to( <x position>
<set{ y position }to( <y position>
<end>

The velocity is no big deal either. There is actually velocity done for you if you use the "Friction Marble" from the pre-made sprites that you can use once you download scratch.


http://img233.imageshack.us/img233/7682/mybannerblinkyd0675d390.gif
http://scratch.mit.edu/projects/B-Reyn428/673836

Offline

 

#6 2008-02-15 23:05:49

Heybrian
Scratcher
Registered: 2007-12-05
Posts: 100+

Re: X and Y postions in a variable

i know about the y and x position. its mainly the velocity, and im proud and showing this because i figured it out withought looking at other projects.
had to redo my work alot though! finnaly found out how to get it right!


Black Mesa. go here to get a game 10 times better than SN or FW.  http://scratch.mit.edu/galleries/view/10650
Smiley! copy and paste these into your post or signature!  smile   sad    yikes                 big_smile     wink    tongue    hmm    neutral   cool   lol   mad   roll

Offline

 

Board footer