<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style id="owaParaStyle">P {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
</style>
</head>
<body style="WORD-WRAP: break-word" fPStyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<p>Thank you Don for your quick response. We will be polishing up our code this weekend and this information will be very useful.</p>
<p> </p>
<p>Do you have a video that can show us how to restart a procedure in a game. If a user clicks on a wrong answer, how can we start the procedure again. I guess we can use recursion? We are using Alice 3.x.</p>
<div>
<p> </p>
<div class="BodyFragment"><font size="2"><span style="FONT-SIZE: 10pt">
<div class="PlainText">Thank you,<br>
<br>
Vicky<br>
Yvonne Pigatt, Assistant Professor<br>
Computer Science/Information Technology<br>
The Community College of Baltimore County<br>
443-840-2835|443-840-5035 fax |ypigatt@ccbcmd.edu<br>
CCBC. The incredible value of education.<br>
The only way to do great work is to love what you do..Steve Jobs</div>
</span></font></div>
</div>
<div style="FONT-SIZE: 16px; FONT-FAMILY: Times New Roman; COLOR: #000000">
<hr tabindex="-1">
<div id="divRpF244493" style="DIRECTION: ltr"><font color="#000000" size="2" face="Tahoma"><b>From:</b> alice-teachers [alice-teachers-bounces+ypigatt=ccbcmd.edu@lists.andrew.cmu.edu] on behalf of Donald Slater [djslater107@mac.com]<br>
<b>Sent:</b> Thursday, March 16, 2017 9:13 AM<br>
<b>To:</b> Alice Teachers<br>
<b>Subject:</b> Re: alice-teacher Alice 3.x<br>
</font><br>
</div>
<div></div>
<div>Yvonne,
<div>It would be very difficult to export / import methods that belong to the Scene class into other projects.</div>
<div><br>
</div>
<div>However, if the methods belong to an object (such as the ClownFish) or the Fish class, then that class can be exported and imported into other projects… See the following video demonstrations:</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span><a href="https://www.youtube.com/watch?v=FXhZZMZawis&feature=youtu.be" target="_blank">https://www.youtube.com/watch?v=FXhZZMZawis&feature=youtu.be</a> - a summary video</div>
<div><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span><a href="https://www.youtube.com/watch?v=LaNqDdHmvho&feature=youtu.be" target="_blank">https://www.youtube.com/watch?v=LaNqDdHmvho&feature=youtu.be</a> - focus on export</div>
<div><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span><a href="https://www.youtube.com/watch?v=0XprEvcqjgY&feature=youtu.be" target="_blank">https://www.youtube.com/watch?v=0XprEvcqjgY&feature=youtu.be</a> - focus on import</div>
<div><br>
</div>
<div>If you build the mouse-click listener with if statements than different events can be triggered, depending on what is clicked on…</div>
<div><br>
</div>
<div>See the following video:</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span><a href="https://www.youtube.com/watch?v=QEzgnRiHTXo&feature=youtu.be" target="_blank">https://www.youtube.com/watch?v=QEzgnRiHTXo&feature=youtu.be</a></div>
<div><br>
</div>
<div>(Keypress events start at the 6:50 mark, but it may be useful to view the entire video).</div>
<div><br>
</div>
<div>If you have not covered the if statement in your course, another way to do this would be to </div>
<div>
<ol class="MailOutline">
<li>add the mouse-click event </li><li>click on the details button, and select Set of Visuals </li><li>from SetOfVisuals, click on Custom Array… </li><li>In the Custom Array Dialog box, add the object or objects that you want to respond to that particular mouse event.</li></ol>
<div><br>
</div>
</div>
<div>See this video demo:</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="WHITE-SPACE: pre"></span><a href="https://dl.dropboxusercontent.com/u/2332970/mouseEventDemo.mp4" target="_blank">https://dl.dropboxusercontent.com/u/2332970/mouseEventDemo.mp4</a> </div>
<div><br>
</div>
<div>Please let us know if you have any other questions…</div>
<div><br>
</div>
<div>All the best,</div>
<div>Don Slater</div>
<div>
<div><br>
Alice Project<br>
Carnegie Mellon University<br>
Entertainment Technology Center<br>
700 Technology Drive<br>
Pittsburgh, PA 15219<br>
<br>
Email: <a href="mailto:dslater@cmu.edu" target="_blank">dslater@cmu.edu</a><br>
<br>
I have learned this at least by my experiment: that if one advances confidently in the direction of his dreams, and endeavors to live the life he has imagined, he will meet with a success unexpected in common hours.<br>
--- Henry David Thoreau<br>
<br>
The true object of all human life is play. -- G.K. Chesterton<br>
<br>
</div>
<br>
<div>
<blockquote type="cite">
<div>On Mar 16, 2017, at 12:37 AM, Pigatt, Yvonne <<a href="mailto:ypigatt@ccbcmd.edu" target="_blank">ypigatt@ccbcmd.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: normal; DIRECTION: ltr; FONT-STYLE: normal; LETTER-SPACING: normal; TEXT-INDENT: 0px">
<div>
<div style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px">Hi,</div>
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"> </p>
<div style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px">I am working on a middle school project and have run into some problems.</div>
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"> </p>
<div style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px">Can Alice 3.x procedures be imported into other Alice 3.x projects?</div>
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"> </p>
<div style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px">I am trying to combine code from four different students into one project. Can there be multiple mouse click event listeners that initiate different events?</div>
<p style="MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px"> <span class="Apple-converted-space"> </span></p>
<div class="BodyFragment"><font size="2"><span style="FONT-SIZE: 10pt">
<div class="PlainText">Thank you,<br>
<br>
Vicky<br>
Yvonne Pigatt, Assistant Professor<br>
Computer Science/Information Technology<br>
The Community College of Baltimore County<br>
443-840-2835|443-840-5035 fax |<a href="mailto:ypigatt@ccbcmd.edu" target="_blank">ypigatt@ccbcmd.edu</a><br>
CCBC. The incredible value of education.<br>
The only way to do great work is to love what you do..Steve Jobs</div>
</span></font></div>
</div>
</div>
<span style="FONT-SIZE: 14px; FONT-FAMILY: Helvetica; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FLOAT: none; FONT-WEIGHT: normal; FONT-STYLE: normal; DISPLAY: inline !important; LETTER-SPACING: normal; TEXT-INDENT: 0px">_______________________________________________</span><br style="FONT-SIZE: 14px; FONT-FAMILY: Helvetica; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: normal; FONT-STYLE: normal; LETTER-SPACING: normal; TEXT-INDENT: 0px">
<span style="FONT-SIZE: 14px; FONT-FAMILY: Helvetica; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FLOAT: none; FONT-WEIGHT: normal; FONT-STYLE: normal; DISPLAY: inline !important; LETTER-SPACING: normal; TEXT-INDENT: 0px">alice-teachers mailing
list</span><br style="FONT-SIZE: 14px; FONT-FAMILY: Helvetica; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: normal; FONT-STYLE: normal; LETTER-SPACING: normal; TEXT-INDENT: 0px">
<a style="FONT-SIZE: 14px; FONT-FAMILY: Helvetica; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: normal; FONT-STYLE: normal; LETTER-SPACING: normal; TEXT-INDENT: 0px" href="mailto:alice-teachers@lists.andrew.cmu.edu" target="_blank">alice-teachers@lists.andrew.cmu.edu</a><br style="FONT-SIZE: 14px; FONT-FAMILY: Helvetica; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: normal; FONT-STYLE: normal; LETTER-SPACING: normal; TEXT-INDENT: 0px">
<a style="FONT-SIZE: 14px; FONT-FAMILY: Helvetica; WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: normal; FONT-STYLE: normal; LETTER-SPACING: normal; TEXT-INDENT: 0px" href="https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers" target="_blank">https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers</a></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>