Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
share your created morphs
Last updated at 1:35 pm UTC on 10 November 2017

2017

MousePositionInfoMorph (tested in Squeak 4.6 and Squeak 6.0a)

2007

SteppingMorph

Stepping Morph. This little change set for squeak 2.6. includes two new morphs: SteppingMorph and DiaMorph

SteppingMorph is morph with common facilities for morphic stepping. You can start/stop the stepping and set the step time by menu. If the morph is not running you can also test it step by step via menu. (It's easy if you keep the menu-morph open) Subclasses should override #nextStep do perform stepping actions. Maybe someone can reorganize the class BackgroundMorph to be a subclass of this morph or to have the same capabilities. (At this time the stepping time of BackgroundMorph is hardcoded)

Stepping Morph Example: DiaMorph

This little morphs hides and displays his submorphs in a sequence. It should demonstrate how to use the SteppingMorph. Maybe this morph is also usefull for creating cyclic sprite animations for squeak games. You have to embedd two or more submorphs to get the visual effect. Try to change the step time by selecting "change step time" from the morphs menu. See DiaMorph(class) for examples.

(Torsten Bergmann, Oct 1999)


Bookmorphs

1. Library Book shows you some smalltalk books



Download the morph and use the squeak file browser to get it into the squeak system. (Torsten Bergmann, Oct 1999)


Test 25-Oct-1999 hh downloaded the BookMorph and loaded it into a fresh image of Squeak 2.6. The morph showed up, but after hitting 'next page' an error in PasteUpMorph(Morph)>>updateCachedThumbnail came up. If you just eliminate 'cachedThumbnail computeThumbnail' in the debugger, the bookmorph shows its more than 20 pages. But that's not the right fix to go for.

Another bookmorph

This second bookmorph tells you what Squeak is all about.
Download SqOverview.morph.gz



Morph Demos

1. Parallax Scrolling Morph is a little demonstration of the parallax scroll effect used in many games (scrolling background layers with different speed).
It's a combination of BackgroundMorphs with different step times. I included some transparent GIF's into the morphs to get the effect. Before you can use this morph in Squeak 2.6 please file in the following change set: Parallax.220ct746pm.cs. The change set adds a new variable stepTime to background morphs. So the step time is not hardcoded.
Maybe someone can include the changes into the central squeak image.
Now you can load the parallax morph (Torsten Bergmann, Oct 1999)





Earth view morph

External Image
Changeset EarthView.1.cs


Use the content of the following email communication by Torsten Bergmann to update the page:


Date: Wed, 12 Feb 2003 08:17:38 +0100
From: Torsten.Bergmann@phaidros.com
Subject: RE: [DOCS] Updating the swiki page about morph sharing
To: hannes.hirzel.squeaklist@bluewin.ch
reply-to: squeak-dev@lists.squeakfoundation.org

>There is a page share your created morphs
>It deals with version 2.6. I'd like to delete most of the page. But
>before that some questions:

You can delete anything that is not accessible anymore. (looks like
my freepage account was running out)

>A)What was the original intent of the 'SteppingMorph'? Aren't these
>functions now in the image?
>
>SteppingMorph is morph with common facilities for morphic stepping. You
>can start/stop the stepping and set the step time by menu. If the morph
>is not running you can also test it step by step via menu. (It's easy if
>you keep the menu-morph open) Subclasses should override #nextStep do
>perform stepping actions. Maybe someone can reorganize the class
>BackgroundMorph to be a subclass of this morph or to have the same
>capabilities. (At this time the stepping time of BackgroundMorph is
>hardcoded)

It is easier to develop/debug morphs if you can influence when the morph
should make a step (for instance via menu)
Unfortunately any morph you want to "step" via menu had to be a subclass.
But we now have traits, unfortunately we dont have Smallscript's mixin model
to solve these problems.
It was just a little helper class.

>B)DiaMorph
> Do we have a better replacement now - a SlideShowMorph or something?

I've posted all my source code to the list. See
http://lists.squeakfoundation.org/pipermail/squeak-dev/1999-October/023844.h
tml

Unfortunately I could not get the attachements from the squeakfoundation
mailinglist archive. Any suggestions ?

I can dig in my source code archive and try to find it again.

>C)ProjectSwitcher
>I think we now have the ThreadNavigtorMorph and the ProjectHistoryMorph
>(see tab 'Navigation' in the ObjectsTool). So we can delete this entry.

Yes

>D) The library book ( a list of Smalltalk books) needs updating - any
>takers? Otherwise I'll just delete the link.

Again I can dig in my archive. Maybe someone from the list has these
bookmorphs too and we can put them on an accessible server.
Maybe there is a copy in the upload directory of the main swiki.

Bye
Torsten