29 Jul 21:09
Menu Functions
From: <dlw1 <at> williams.edu>
Subject: Menu Functions
Newsgroups: gmane.comp.lang.smalltalk.croquet.devel
Date: 2008-07-29 19:11:38 GMT
Expires: This article expires on 2008-08-12
Subject: Menu Functions
Newsgroups: gmane.comp.lang.smalltalk.croquet.devel
Date: 2008-07-29 19:11:38 GMT
Expires: This article expires on 2008-08-12
Hi, We're essentially trying to alter the menu above the simple demo world to include actions to create and manipulate objects in the world. As an exploratory step in this, I created an "Actions" menu that has an item "Create snowman" in it. This creates three movable spheres in the world every time it is pressed. What we then wanted to do was have another option in the same menu "Animate head" that would move the head away from the body and then bring it back. This is a very simple animation, however, the issue we are running into is that we know of no way to reference this sphere so that the menu knows what we're talking about. Is this territory that has been covered in the past? Is it simply not currently possible to use the menu as a viable way to change the scene? Or am I missing something simple that would allow us to do just this? Thanks, Dan
RSS Feed