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

#1 2012-03-01 11:36:38

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Online Stretching without the block

Latest version: Version 0.1 Beta

Description:
This project uses the pen drawing functions to render a sprite, stretched to the value of the STRETCH variable in the upper left.

How this works:
One sensor moves across the sprite and checks whether the pen sprite should have a pen that is down or up. Meanwhile, one pen sprite moves across the sprite in a different way, and instead, when it moves left or right, it moves only:

((stretch) / (100))
pixels.

Both sprites move together at the same time. They also move the same direction.

Instructions:
1. Change the STRETCH variable to whatever you like.
2. Press space to see it render!

Last edited by rdococ (2012-03-01 11:37:53)

Offline

 

Board footer