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

#1 2012-05-18 01:25:30

bluecat600
Scratcher
Registered: 2012-02-12
Posts: 500+

Velocity

I want to make a platformer with velocity, but I don't know how. Could anyone help me?

If you are expirenced with velocity could you post below please.


I gaze off into the boundless skyline, noteblock choirs playin in the sunshine, turn round pick up my sword and wield the blade that once forced evil mobs to yield, if this battle shall leave me slain, I know Herobrine still calls my name, better just take a stand, that was when I ruled the land.

Offline

 

#2 2012-05-18 02:23:16

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

Re: Velocity

If you want, check out Music Marathon, a collab between Hardmath123, applejack, and me. 

Here's a basic overview: Velocity is a vector quantity (having two components) that tells us how fast something moves ever "frame of reference."  The two components refer to x velocity and y velocity, which almost always function independently of one another.  In a 1s1s project, a frame is equal to one repetition of the "forever" loop.  In a project that uses velocity, the x and y positions are changed each frame by the velocity quantities.  Changing the x-velocity makes the character move to the right or left; the y-velocity makes the character move up and down.  Stopping movement completely can be achieved by setting both x-velocity and y-velocity to 0. 

If you need help with specific scripts, I'll see what I can do.

Offline

 

#3 2012-05-18 13:58:16

bluecat600
Scratcher
Registered: 2012-02-12
Posts: 500+

Re: Velocity

amcerbu wrote:

If you want, check out Music Marathon, a collab between Hardmath123, applejack, and me. 

Here's a basic overview: Velocity is a vector quantity (having two components) that tells us how fast something moves ever "frame of reference."  The two components refer to x velocity and y velocity, which almost always function independently of one another.  In a 1s1s project, a frame is equal to one repetition of the "forever" loop.  In a project that uses velocity, the x and y positions are changed each frame by the velocity quantities.  Changing the x-velocity makes the character move to the right or left; the y-velocity makes the character move up and down.  Stopping movement completely can be achieved by setting both x-velocity and y-velocity to 0. 

If you need help with specific scripts, I'll see what I can do.

Ok! Thank you for the the help.


I gaze off into the boundless skyline, noteblock choirs playin in the sunshine, turn round pick up my sword and wield the blade that once forced evil mobs to yield, if this battle shall leave me slain, I know Herobrine still calls my name, better just take a stand, that was when I ruled the land.

Offline

 

Board footer