On 10/25/09 4:29 AM, "Mike Stramba" mikestramba@gmail.com wrote:
I'm runninng squeak 3.10.2 on windows XP.
If I drag and drop a jpg onto Squeak, it creates a SketchMorph.
Specficially, I'm adding a playing card image, well 52 of them, and I'd like to be able to add a card from the world menu / new morph menu.
I'd also like to create a PlayingCard class, that uses the dropped jpg.
At the moment I'm doing it the "hard way", after dropping the jpg, I'm digging through system dictionary, digging out the world objects, and "drilling down" to the dropped object.
Any tips, info appreciated.
Mike
I guess you wish do some kind of game. So , take a look to older Squeaks when you have card games. Also in my FunSqueak3.10alpha.7 you have the old FreCel still working.
But asking you question, if you have a directory with your .jpg could create the morphs with this I copy from my old games. If Spanish comments is difficult, send new mail and I try to help more.
Edgar