[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LOGO-L> *.pic files



------------------
Howard Leschner wrote:-

>Im helping my childs teacher do a class compilation project with microworlds 
>and need help creating a set of pict files to run (with a loadpict script). If 
>I use savepict it does not save stamped images, buttons and other parts of the 
>screen image. Please advise on some way to capture the screen to a pict file. I 
>recall a mac user once telling me a key combination to do a screen cap on macs 
>but I dont recal it. Is there one? If so where does it write the file, and can 
>the name be set? Or is there another way? 

savepict *does* save stamped images such as stamped shapes from the shapes 
centre or stamped text, which becomes a graphic after you stamp it. Here's how 
you do it, with text:-
1. open a textbox and write in it
2. snap the textbox
3. drag it away from the stamped text so you can see the text is stamped 
successfully (this part is now a graphic).
4. cut out the textbox with scissors
5. save it using savepict

The way to get your buttons and animated turtles working on a *.pic file is to 
use the newturtle and newbutton commands to create these features after the pic 
file is loaded. I had a go at this after reading your post. Here's a simple 
example:-

Open a new page, create a button, call it slideshow. Cut out the turtle. Save 
some graphic pages in the same directory, using the savepict command. This part 
was explained really clearly by Wendy Petti in a recent post to this list_serv. 
Thanks Wendy.

to slideshow
loadpict "build1
wait 20
loadpict "build2
vehicle
wait 20
loadpict "greeks
wait 20
end

Slideshow loads the graphics for 2 seconds, moves onto the next graphic etc. 
amongst this I have inserted a vehicle procedure to put an animation onto one 
of the background pictures.

to vehicle
newturtle "car
setsh "car st      ;hatch newturtle, showit, set it to car shape
setpos [-101 -127] seth 90    ; set the position and heading of car
glide 100 1                   ; car moves
remove               ; have to remove it so we can run again next time.
end

The same sort of thing could be done with buttons too I believe.

-- Bill Kerr
---------------------------------------------------------------
Please post messages to the Logo forum to logo-l@gsn.org.  Mail
questions about the list administration to logofdn@gsn.org.  To
unsubscribe send    unsubscribe logo-l    to majordomo@gsn.org.



Global SchoolNet Foundation - Linking Kids Around the World!
Copyright GSN - All Rights Reserved - Comments & Questions
Visit GSN's Global Schoolhouse for more exciting learning resources!
Search our Site - Home