alice-teacher problem creating a Home button in a game

Don Slater dslater at andrew.cmu.edu
Thu Mar 8 15:44:01 EST 2012


One possible way to do this would be to create a button using an object from the shapes gallery, or perhaps importing an image as a billboard. Size and position the button appropriately in your scene. The set its vehicle property to the camera, so that whenever the camera moves, the button should move with it, staying in the same relative position in the camera view.

Create a mouse-click event so that whenever this button is clicked on, the appropriate method to return to start or home is called.

Let me know if you have any other questions.

All the best,
Don Slater

On Mar 8, 2012, at 12:25 PM, Chisholm, Sandra K. (CCPS) wrote:

> When creating a game using Alice 2, we would like to make a button so that the player can go to start or home when they would like.  This button should be a part of each scene or world.  Can you please tell us how to create this method or object?  Thanks.



More information about the alice-teachers mailing list