|
Re: A question of Squeak: msg#00081lang.smalltalk.squeak.beginners
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?
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Concrete classes... multiple users, Ron Teitelbaum |
|---|---|
| Next by Date: | Re: A question of Squeak, karl |
| Previous by Thread: | How to pick any image format and convert to Morph (was Re: A question of Squeak), Edgar J. De Cleene |
| Next by Thread: | Re: A question of Squeak, karl |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |