Background: I am a complete newbie totally hooked on Croque for a number of
reasons. I work for an Education Service Center and we are planning on using Croquet for a middle school virtual geography class (if it goes well we plan on offering others). I have 7 years programming in PERL and 6 programming in PHP so am familiar with "Squeak like" syntax... also have build several "objects" in Secondlife (with a little bit of Linden scripting).... So obviously Croque seems absolutely perfect for what we want to do. Question 1: If I wanted to build an Island from scratch and have it appear as an icon on the users "First Steps" windows on their Croque SDK where would I want to start (a detailed tutorial somewhere)? I have watched the tutorial videos from the Croque wiki but am still unclear of the starting point. I have also read the "Programming in Croquet" guide on the wiki but am not sure (1) how to start my scripts and (2) where I need to save them to have them appear on the "First Steps" window. I am positive if I was just pointed in the right direction I would be sailing ! and Question 2: Another total newbie question I know but is there by chance a way to compile or "package" the island script so the students would only need to double click it from their desktop and it would bring them to the Island (or an island that they can then connect to the main Island from through their window for the collaborative session)? Thanks for your time ! We are really looking forward to introducing this into the schools we serve once we get our legs under us with this ! Regards, Rich ========================== |
Hello
I hope I understand you right, 'cause I am not a native speaker, but lets see. > Background: I am a complete newbie totally hooked on Croque for a > number of > reasons. I work for an Education Service Center and we are > planning on using > Croquet for a middle school virtual geography class (if it goes > well we plan on > offering others). I have 7 years programming in PERL and 6 > programming in PHP > so am familiar with "Squeak like" syntax... also have build several > "objects" > in Secondlife (with a little bit of Linden scripting).... So > obviously Croque > seems absolutely perfect for what we want to do. > Question 1: If I wanted to build an Island from scratch and have it > appear as > an icon on the users "First Steps" windows on their Croque SDK > where would I > want to start (a detailed tutorial somewhere)? I have watched the > tutorial > videos from the Croque wiki but am still unclear of the starting > point. I have > also read the "Programming in Croquet" guide on the wiki but am not > sure (1) > how to start my scripts and (2) where I need to save them to have > them appear > on the "First Steps" window. I am positive if I was just pointed > in the right > direction I would be sailing ! Well, same situation here. I do not overlook the whole process of creating and propagating an island, but here are some hints. First, check the class CroquetParticipant and his descendants. Check the "Press me" button on the first steps page. The croquet demo from the image itself starts with button | w | w := KCroquetParticipant new. w position: 0@110. w extent: World extent - w position. ^w openInWorld change method KCroquetParticipant->entry to call your own world. Second, take a look at WisconsinWorld and MarsWorld and BFDMaster class. (esp. setup method) There is always a lot of work done in the background and its hard to follow the flow (for a newbie like me) > Question 2: Another total newbie question I know but is there by > chance a way > to compile or "package" the island script so the students would > only need to > double click it from their desktop and it would bring them to the > Island (or an > island that they can then connect to the main Island from through > their window > for the collaborative session)? There is a thread about startup script here http://www.nabble.com/Re:-Croquet-Collaborative-Server-questions- t3580780.html Hope this helps Enno PS: For importing models look for Blender ase scripts or ObjCroquetBuilder |
In reply to this post by RichWhite
On Jul 26, 2007, at 8:39 PM, [hidden email] wrote: > Background: I am a complete newbie totally hooked on Croque for a > number of > reasons. I work for an Education Service Center and we are > planning on using > Croquet for a middle school virtual geography class (if it goes > well we plan on > offering others). I have 7 years programming in PERL and 6 > programming in PHP > so am familiar with "Squeak like" syntax... also have build several > "objects" > in Secondlife (with a little bit of Linden scripting).... So > obviously Croque > seems absolutely perfect for what we want to do. > > Question 1: If I wanted to build an Island from scratch and have it > appear as > an icon on the users "First Steps" windows on their Croque SDK > where would I > want to start (a detailed tutorial somewhere)? I have watched the > tutorial > videos from the Croque wiki but am still unclear of the starting > point. I have > also read the "Programming in Croquet" guide on the wiki but am not > sure (1) > how to start my scripts and (2) where I need to save them to have > them appear > on the "First Steps" window. I am positive if I was just pointed > in the right > direction I would be sailing ! > As Enno said, you want to look at CroquetParticipant and its subclasses. On the class side, they implement #descriptionForPartsBin. If you make your own subclass and define #descriptionForPartsBin appropriately then it will show up in the 'ObjectsTool' (as it is called) the next time that the category is refreshed. For example, after you have made your changes, click on one of the other categories (eg: 'Games') and then click 'Croquet'... you'll se a new icon for your class. Josh |
Free forum by Nabble | Edit this page |