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

#1 2009-04-17 00:00:47

poppyseeds
Scratcher
Registered: 2009-02-28
Posts: 24

recordable drawing

ive been exploring the capablites of the list blocks lately and ive found that you can use them for a lot of things first i found that you can make a motion trackin device using to lists and one varible to track the movement of an object and then play it back this discovery led to me tryin to make a savable all my attempts have been unsecsful exsept through none changeable lists i made my recordable drawings by making 3 lists x,y,and up down i made the script so th pen follows the mouse and inserts x y cordinates in to the list then i used an  if else to detrimen wheter or dont pen was down or up and it inserts
1 if down or 0 if up here is what the script looks [blocks]likehttp://scratch.mit.edu/forums/post.php?fid=8#req_message
when green flag clickedhttp://scratch.mit.edu/forums/post.php?fid=8#req_message
clearhttp://scratch.mit.edu/forums/post.php?fid=8#req_message
set pen color to blackhttp://scratch.mit.edu/forums/post.php?fid=8#req_message
set pen size to 5http://scratch.mit.edu/forums/post.php?fid=8#req_message
foreverhttp://scratch.mit.edu/forums/post.php?fid=8#req_message
go to x:  http://scratch.mit.edu/forums/post.php?fid=8#req_message
mouse x    y:http://scratch.mit.edu/forums/post.php?fid=8#req_message
mouse yuh theres no pics of lists but you know how to insert then i putinhttp://scratch.mit.edu/forums/post.php?fid=8#req_message
elsehttp://scratch.mit.edu/forums/post.php?fid=8#req_message
pen downhttp://scratch.mit.edu/forums/post.php?fid=8#req_message
pen uphttp://scratch.mit.edu/forums/post.php?fid=8#req_message[/blocks]
mouse downyou get the idea once your done recordin delet the script and put in one that use a varible to go through the items on the lists and tells the pen what to do
for better help go to this project real time drawing toturail by poppyseeds and related projects in the mean while im maki user friendly scratch software to help you make your own real time drawing please dont leave comments on how bad i am at writing fourms or spelling cuz i know and this is my first one


http://nyxscratch.webs.com/

Offline

 

Board footer