[Newbies] Sprite animation in Morphic?

Derek O'Connell doc at doconnel.f9.co.uk
Wed May 11 08:37:46 UTC 2011


On 11/05/11 09:07, Gary Dunn wrote:
>  Good tutorial here: http://www.dmu.com/squeak/

That's a good tutorial if Casey really wants to do animation via Etoys 
and not in code in Morphic.

>
>  To import your graphics,
>
>  World menu / open file list Click "Name" button Select image file in
>  upper window. Thumbnail will display in lower frame. Click "Import"
>  button (not much happens) Close file list
>
>  Extras / Graphical Imports Select image Click small menu button,
>  select "hand me one"
>
>  Drop that image into the holder

Alternatively drag an image from external file explorer and drop on 
desktop, then from there into holder (Playfield doesn't appear to accept 
the drop directly).

-D

>
>  On Wed, May 11, 2011 at 12:34 AM, Derek O'Connell
>  <doc at doconnel.f9.co.uk> wrote:
> > On 11/05/11 04:15, Casey Ransberger wrote:
> >>
> >> Hey all,
> >>
> >> I have a big pile of sprites (frames of bitmapped character
> >> animation with bit-masks) that I'd like to animate. I've done
> >> this before in the raw with C, but never with Morphic. I'm afraid
> >> I'm liable to reinvent the wheel unless I find a lead on what the
> >> right way to do this is in Morphic.
> >>
> >> Can anyone point me in the right direction?
> >
> > Not sure about the "right way" but would like to see an informed
> > answer to that myself :-) In the mean time AnimatedImageMorph
> > appears to be a good starting point, sub-classed for adding
> > animation features (position, scaling, etc). Scratch code is a good
> > reference for this sort of thing.
> >
> > -D _______________________________________________ Beginners
> > mailing list Beginners at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/mailman/listinfo/beginners
> >
>
>
>




More information about the Beginners mailing list