I've made up a little project that draws a maze. Enjoy.
http://www.squeakland.org/project.jsp?http://209.143.91.36/super/uploads/maz...
Karl
REALLY COOL!!!!!
Please continue! :)
Diego
I've made up a little project that draws a maze. Enjoy.
http://209.143.91.36/super/uploads/maze%20constructor.002.pr
Karl
Hi, Karl - With your permission, I'd like to put this Etoy on the Squeakland site for further sharing and distribution. What would be really helpful to novices taking a look at the project would be if you could add some text explaining what you did and what the elipse does and why it does it. (What is the purpose of the blue rectangels in the holder?) It would be great to have a little introduction and explanation about the parts of the Etoy. Would you be willing to add a bit more info and share another version that we could add to the Squeakland website? thanks! Kim
At 9:31 PM +0200 8/31/03, Karl Ramberg wrote:
I've made up a little project that draws a maze. Enjoy.
http://www.squeakland.org/project.jsp?http://209.143.91.36/super/uploads/maz...
Karl _______________________________________________ Squeakland mailing list Squeakland@squeakland.org http://squeakland.org/mailman/listinfo/squeakland
--
Kim Rose wrote:
Hi, Karl - With your permission, I'd like to put this Etoy on the Squeakland site for further sharing and distribution. What would be really helpful to novices taking a look at the project would be if you could add some text explaining what you did and what the elipse does and why it does it. (What is the purpose of the blue rectangels in the holder?) It would be great to have a little introduction and explanation about the parts of the Etoy. Would you be willing to add a bit more info and share another version that we could add to the Squeakland website?
I'm working on it. The blue rectangles in the holder holds instance variables with former x and y values of the ellipse. Each time the ellipse moves forward it adds a new rectangle to the holder. That makes the backtracking possible. Etoys sure are fun :-)
Karl
Kim Rose wrote:
Hi, Karl - With your permission, I'd like to put this Etoy on the Squeakland site for further sharing and distribution. What would be really helpful to novices taking a look at the project would be if you could add some text explaining what you did and what the elipse does and why it does it. (What is the purpose of the blue rectangels in the holder?) It would be great to have a little introduction and explanation about the parts of the Etoy. Would you be willing to add a bit more info and share another version that we could add to the Squeakland website? thanks! Kim
Here is the project with a little documentation. http://www.squeakland.org/project.jsp?http://squeakland.org:8080/super/uploa...
Karl
Kim Rose wrote:
Hi, Karl - With your permission, I'd like to put this Etoy on the Squeakland site for further sharing and distribution. What would be really helpful to novices taking a look at the project would be if you could add some text explaining what you did and what the elipse does and why it does it. (What is the purpose of the blue rectangels in the holder?) It would be great to have a little introduction and explanation about the parts of the Etoy. Would you be willing to add a bit more info and share another version that we could add to the Squeakland website? thanks! Kim
Oh, a quick update: Here is the project with a little documentation. http://www.squeakland.org/project.jsp?http://squeakland.org:8080/super/uploa...
This is the version you want to use. Look at the cool garbage collecting :-)
Karl
On Wednesday 03 September 2003 01:07 am, Karl Ramberg wrote:
Oh, a quick update: Here is the project with a little documentation. http://www.squeakland.org/project.jsp?http://squeakland.org:8080/su per/uploads/maze%20constructor.007.pr
This is the version you want to use. Look at the cool garbage collecting :-)
Fun!
However, it only backtracks by one square, so it gets stuck easily. In script3 you set the cursor to 1 and then increase it; what you probably want to do is move the resetting to 1 somewhere else, or just throw away the history after backtracking.
Ned Konz wrote:
On Wednesday 03 September 2003 01:07 am, Karl Ramberg wrote:
Oh, a quick update: Here is the project with a little documentation. http://www.squeakland.org/project.jsp?http://squeakland.org:8080/su per/uploads/maze%20constructor.007.pr
This is the version you want to use. Look at the cool garbage collecting :-)
Fun!
However, it only backtracks by one square, so it gets stuck easily. In script3 you set the cursor to 1 and then increase it; what you probably want to do is move the resetting to 1 somewhere else, or just throw away the history after backtracking.
No, what is missing is to move the first stack item to the trash holder.
The cursor increase is just to test if the stack is empty - there seems to be no other way to test the size of a holder.
Bert Freudenberg wrote:
Ned Konz wrote:
On Wednesday 03 September 2003 01:07 am, Karl Ramberg wrote:
Oh, a quick update: Here is the project with a little documentation. http://www.squeakland.org/project.jsp?http://squeakland.org:8080/su per/uploads/maze%20constructor.007.pr
This is the version you want to use. Look at the cool garbage collecting :-)
Fun!
However, it only backtracks by one square, so it gets stuck easily. In script3 you set the cursor to 1 and then increase it; what you probably want to do is move the resetting to 1 somewhere else, or just throw away the history after backtracking.
No, what is missing is to move the first stack item to the trash holder.
Right Most stuff should be fixed in this version: http://www.squeakland.org/project.jsp?http://squeakland.org:8080/super/uploa...
The cursor increase is just to test if the stack is empty - there seems to be no other way to test the size of a holder.
Right again.
Karl
Karl, very cool. The documentation is well written, as well; can I re-use?
Anyone else with internally documented (or not) projects not published to the super swikis? I would love to see anything you are willing to share.
Thanks,
John
On Wed, 3 Sep 2003, Karl Ramberg wrote:
Bert Freudenberg wrote:
Ned Konz wrote:
On Wednesday 03 September 2003 01:07 am, Karl Ramberg wrote:
Oh, a quick update: Here is the project with a little documentation. http://www.squeakland.org/project.jsp?http://squeakland.org:8080/su per/uploads/maze%20constructor.007.pr
This is the version you want to use. Look at the cool garbage collecting :-)
Fun!
However, it only backtracks by one square, so it gets stuck easily. In script3 you set the cursor to 1 and then increase it; what you probably want to do is move the resetting to 1 somewhere else, or just throw away the history after backtracking.
No, what is missing is to move the first stack item to the trash holder.
Right Most stuff should be fixed in this version: http://www.squeakland.org/project.jsp?http://squeakland.org:8080/super/uploa...
The cursor increase is just to test if the stack is empty - there seems to be no other way to test the size of a holder.
Right again.
Karl _______________________________________________ Squeakland mailing list Squeakland@squeakland.org http://squeakland.org/mailman/listinfo/squeakland
John Voiklis wrote:
Karl, very cool. The documentation is well written, as well; can I re-use?
Thanks. Please use anything you find useful.
Anyone else with internally documented (or not) projects not published to the super swikis? I would love to see anything you are willing to share.
I wrote a 'how to make a etoy space invader' some time ago. It's on Bob's SuperSwiki or Squeakland SuperSwiki. I'm going to go through it today hopefully and update it if nessesary.
Karl
It might be a little more intuitive if you put in a special player that signifies "empty" -- this was often used in the sixties for stacks, especially in mathematical explanations of stacks, etc.
Cheers,
Alan
-------
At 8:45 PM +0200 9/3/03, Karl Ramberg wrote:
Bert Freudenberg wrote:
Ned Konz wrote:
On Wednesday 03 September 2003 01:07 am, Karl Ramberg wrote:
Oh, a quick update: Here is the project with a little documentation. http://www.squeakland.org/project.jsp?http://squeakland.org:8080/su per/uploads/maze%20constructor.007.pr
This is the version you want to use. Look at the cool garbage collecting :-)
Fun!
However, it only backtracks by one square, so it gets stuck easily. In script3 you set the cursor to 1 and then increase it; what you probably want to do is move the resetting to 1 somewhere else, or just throw away the history after backtracking.
No, what is missing is to move the first stack item to the trash holder.
Right Most stuff should be fixed in this version: http://www.squeakland.org/project.jsp?http://squeakland.org:8080/super/uploa...
The cursor increase is just to test if the stack is empty - there seems to be no other way to test the size of a holder.
Right again.
Karl _______________________________________________ Squeakland mailing list Squeakland@squeakland.org http://squeakland.org/mailman/listinfo/squeakland
--
Good idea. I'm adding and deleting from the top of the holder so the last player could be dot for example and when that is the first player in the holder it's empty.
Karl
Alan Kay wrote:
It might be a little more intuitive if you put in a special player that signifies "empty" -- this was often used in the sixties for stacks, especially in mathematical explanations of stacks, etc.
Cheers,
Alan
At 8:45 PM +0200 9/3/03, Karl Ramberg wrote:
Bert Freudenberg wrote:
Ned Konz wrote:
On Wednesday 03 September 2003 01:07 am, Karl Ramberg wrote:
Oh, a quick update: Here is the project with a little documentation. http://www.squeakland.org/project.jsp?http://squeakland.org:8080/su per/uploads/maze%20constructor.007.pr
This is the version you want to use. Look at the cool garbage collecting :-)
Fun!
However, it only backtracks by one square, so it gets stuck easily. In script3 you set the cursor to 1 and then increase it; what you probably want to do is move the resetting to 1 somewhere else, or just throw away the history after backtracking.
No, what is missing is to move the first stack item to the trash holder.
Right Most stuff should be fixed in this version: http://www.squeakland.org/project.jsp?http://squeakland.org:8080/super/uploa...
The cursor increase is just to test if the stack is empty - there seems to be no other way to test the size of a holder.
Right again.
Karl _______________________________________________ Squeakland mailing list Squeakland@squeakland.org http://squeakland.org/mailman/listinfo/squeakland
--
I am a newbie in squeak and etoys and explore the projects to learn. With this project I have two problems in understanding, I can not solve myself. Perhaps someone can help me:
1.) If I have a look on the rectangles inside the Holder, there are the rectangles with the names Rectangle1, Rectangle3, Rectangle4, Rectangle5 and so on (the number increases by 1). But never the Rectangle2 is visible. What's going on there?
2.) In Script "writePosition" is the tile "Holder include at beginning" is used, but I can not find that in the viewer of the Holder. I can only find "Holder include" in the collections categorie. Where can I find the used tile?
Thanks for the help
Thomas
-----Ursprungliche Nachricht----- Von: squeakland-bounces@squeakland.org [mailto:squeakland-bounces@squeakland.org]Im Auftrag von Karl Ramberg Gesendet: Donnerstag, 4. September 2003 13:22 An: Alan Kay Cc: squeakland@squeakland.org Betreff: Re: [Squeakland] [FUN]Maze constructor
Good idea. I'm adding and deleting from the top of the holder so the last player could be dot for example and when that is the first player in the holder it's empty.
Karl
Alan Kay wrote:
It might be a little more intuitive if you put in a special player that signifies "empty" -- this was often used in the sixties for stacks, especially in mathematical explanations of stacks, etc.
Cheers,
Alan
At 8:45 PM +0200 9/3/03, Karl Ramberg wrote:
Bert Freudenberg wrote:
Ned Konz wrote:
On Wednesday 03 September 2003 01:07 am, Karl Ramberg wrote:
Oh, a quick update: Here is the project with a little documentation. http://www.squeakland.org/project.jsp?http://squeakland.org:8080/su per/uploads/maze%20constructor.007.pr
This is the version you want to use. Look at the cool garbage collecting :-)
Fun!
However, it only backtracks by one square, so it gets stuck easily.
In
script3 you set the cursor to 1 and then increase it; what you probably want to do is move the resetting to 1 somewhere else, or just throw away the history after backtracking.
No, what is missing is to move the first stack item to the trash
holder.
Right Most stuff should be fixed in this version:
http://www.squeakland.org/project.jsp?http://squeakland.org:8080/super/uplo
ads/maze%20constructor.011.pr
The cursor increase is just to test if the stack is empty - there
seems
to be no other way to test the size of a holder.
Right again.
Karl _______________________________________________ Squeakland mailing list Squeakland@squeakland.org http://squeakland.org/mailman/listinfo/squeakland
--
_______________________________________________ Squeakland mailing list Squeakland@squeakland.org http://squeakland.org/mailman/listinfo/squeakland
Thomas Bernitt wrote:
I am a newbie in squeak and etoys and explore the projects to learn. With this project I have two problems in understanding, I can not solve myself. Perhaps someone can help me:
1.) If I have a look on the rectangles inside the Holder, there are the rectangles with the names Rectangle1, Rectangle3, Rectangle4, Rectangle5 and so on (the number increases by 1). But never the Rectangle2 is visible. What's going on there?
Seems to be something of a internal Player issue and I'm not really sure why it happens. Could be that Rectangle2 is already in the project somewhere...
2.) In Script "writePosition" is the tile "Holder include at beginning" is used, but I can not find that in the viewer of the Holder. I can only find "Holder include" in the collections categorie. Where can I find the used tile?
Ugh, seems to be a Squeak 3.6 feature, not currently in the plugin image. My fault. I shall not write tutorials for Squeak plugin image using Squeak 3.6. I shall not write tutorials for Squeak plugin image using Squeak 3.6. I shall not write tutorials for Squeak plugin image using Squeak 3.6. ...
Karl
Thomas Bernitt wrote:
I am a newbie in squeak and etoys and explore the projects to learn. With this project I have two problems in understanding, I can not solve myself. Perhaps someone can help me:
1.) If I have a look on the rectangles inside the Holder, there are the rectangles with the names Rectangle1, Rectangle3, Rectangle4, Rectangle5 and so on (the number increases by 1). But never the Rectangle2 is visible. What's going on there?
2.) In Script "writePosition" is the tile "Holder include at beginning" is used, but I can not find that in the viewer of the Holder. I can only find "Holder include" in the collections categorie. Where can I find the used tile?
Ned Konz gave me a tip: Uncheck the preference etoyFriendly in the Preference tool. You find the Preference tool in the tools section in the Objects Catalog in the Supplies flap. etoyFriendly is in the scripting section in the Preference tool.
The wording of the tile is 'holder prepend dot'
Karl
squeakland@lists.squeakfoundation.org