Another Halo Question (complete newbie)
How-dee! I'm working my way through PBE (no, I've been too broke lately to buy a copy yet *blush*, but I will) and a few other smalltalk tutorials. I've read the documents about getting halos activated in the first place. I'm on linux, where alt-shift middle-click (I'm still trying to get the button colors down) generally works. In the lights out sample, it doesn't. I can ctrl-shift "left" click, get a giant menu, and select "Add Halo." That puts a halo around the individual cell. If I close it, it disappears and shows a blue background (which I'm starting to suspect is a default for morphics...is that close?). If I jump back through the "Add Halo" hoops on that background, or actually manage to click on the border, I just get what seems to be halos for the desktop (system? background? It's always frustrating to start learning a new system and not know the terminology...then again, that's part of the fun). I've been able to close the morphic by adding a "self owner delete" mouse down handler to the cells, then commenting it out until I need it. But it's more than a little painful. I spent about two hours today googling for variations on "morphics decorated frames", but the results I got suggested that I'm not even in the ballpark. I'm sorry if I missed an FAQ or didn't dig far enough back in the mailing list archives. Thanks in advance, James
I'm going through the book too. If your problem is that you can't close the game then here's how... First, get halos around the upper-left cell and close it; it should turn blue. Then get halos around the cell that turned blue (which should be labeled 'LOGame') and then you can close the game. Hope that helps, Dan -- View this message in context: http://forum.world.st/Another-Halo-Question-complete-newbie-tp3019925p302080... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
To close all the games opened you can evaluate: LOGame allInstances do: [:i | i delete]. I'm currently working on a screencast for the LightsOut exercise in PBE. Should be out in a couple of days. Cheers, Laurent Laffont Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/ On Sun, Oct 31, 2010 at 4:04 AM, Daniel Klein <danielk@danielk.us> wrote:
I'm going through the book too. If your problem is that you can't close the game then here's how... First, get halos around the upper-left cell and close it; it should turn blue. Then get halos around the cell that turned blue (which should be labeled 'LOGame') and then you can close the game. Hope that helps, Dan ------------------------------ View this message in context: Re: Another Halo Question (complete newbie)<http://forum.world.st/Another-Halo-Question-complete-newbie-tp3019925p302080...> Sent from the Pharo Smalltalk Users mailing list archive<http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html>at Nabble.com.
_______________________________________________ Pharo-users mailing list Pharo-users@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
On Sun, Oct 31, 2010 at 5:03 AM, laurent laffont <laurent.laffont@gmail.com> wrote:
To close all the games opened you can evaluate: LOGame allInstances do: [:i | i delete].
I haven't had a chance to test it out, but that's pretty much exactly what I was looking for.
I'm currently working on a screencast for the LightsOut exercise in PBE. Should be out in a couple of days.
It was great, and helped a lot of pieces fall into place for me.
Cheers, Laurent Laffont
Thank you, James
On Sat, Oct 30, 2010 at 10:04 PM, Daniel Klein <danielk@danielk.us> wrote:
I'm going through the book too. If your problem is that you can't close the game then here's how... First, get halos around the upper-left cell and close it; it should turn blue. Then get halos around the cell that turned blue (which should be labeled 'LOGame')
That's where my problem is...when I try to get halos around the closed cell, it skips the LOGame morph and puts them on the desktop instead. There's no 'x for close' option.
and then you can close the game. Hope that helps, Dan
It tells me that I was on the right track. Maybe I need to just break down and try the latest development version. Thanks, James
participants (3)
-
Daniel Klein -
James Ashley -
laurent laffont