World Creation (& Nebraska)

Kyle Bygott Henry.Bygott at colorado.edu
Wed Jun 12 16:49:30 UTC 2002


I've recently been trying to get Nebraska to run in a world other than
World.  I can get Nebraska to open properly in the sub-world, and have
confirmed that the NebraskaServerMorph is stepping properly and that
NebraskaServer is running processIO.  Yet a connected NetworkTerminalMorph
still does not properly connect to the server (although the server reports a
connected client, the client side never updates its window and displays the
server image).

My suspicion is that I am not launching the new world correctly.  Are there
any hidden tricks or anything that need to be performed to launch a new
world properly?  Here is the code I use to launch it:

world := PasteUpMorph newWorldForProject: nil.
world extent: (800 at 500); color: Color green.
world openInWorld.
world viewBox: (0 at 0 extent: (800 at 500)).
NebraskaServerMorph serveWorld: world.

It's basically stolen directly from the samples given.  Does anybody know of
any resources I could research this w/?  I cannot find any, leaving me with
a lot of questions (like what is the difference between extent and
viewBox?).

If any responses to this could be sent to my personal inbox as well as the
list, I would appreciate it (I do not receive the full list as it generates
far too much email for me to deal with).  Thanks all.
Kyle Bygott
  Bygott at colorado.edu





More information about the Squeak-dev mailing list