[Newbies] A question of Squeak

David Corking lists at dcorking.com
Sat Oct 27 22:02:24 UTC 2007


On 10/23/07, luisalejan1308  wrote:
>
> Hello!!!! If you remember I talked to you about the extension "Frm", Frm is
> the necessary extent to pass one imagen to squeak and only I found the
> extention of PNG, so that process is wrong. I want that a robot looks like
> image that I import as FRM extention, but I used the all images on PNG
> extention. (Because the Squeak Book says that It needs a image in FRM
> Extention to use in the program with robots). How can I convert the  formats
> images???

Aha!  You mean Stephane Ducasse's book 'Squeak: Learn programming with robots'.

I found pages 69 and 70 with google books,

http://books.google.com/books?id=Zjp4t0qafZoC&pg=PA70&lpg=PA70&dq=squeak+robots+frm+image+extension&source=web&ots=EQMIWaUgqn&sig=E_QDdiy6Z9vydosjNCaMN_aPn2o#PPA70,M1

So I downloaded BotsInc:

http://smallwiki.unibe.ch/botsinc/download/

Like you I am a newbie - but it seems the 'FRM' format of the turtle
and spider image is the native Squeak 'Form' class:

http://www.oldenbuettel.de/squeak-doku/Graphics-Display%20Objects/Form.html

Unfortunately, I browsed that class, and I can't find a method for
converting PNG files into FRM format.

Perhaps there is a way to make a Bot wear a PNG graphic as a costume
(you can drag them into BotsInc easily, and they become a Sketch
Morph.  The halo menu has a 'Keep as bot costume' entry  )  But, I
don't have the whole Robots book, so I can't help any further.  Sorry.

Instead, is there a paint tool in BotsInc for making new costumes?


More information about the Beginners mailing list