<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Yvonne,<div class="">I am glad the videos were helpful… </div><div class=""><br class=""></div><div class="">Recursion is one possibility, but the memory overhead might eventually cause Alice to crash…</div><div class=""><br class=""></div><div class="">I put this video together demonstrating a SimpleGame Control loop which might be helpful… Please let me know if you have any questions…</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">     </span><a href="https://dl.dropboxusercontent.com/u/2332970/SimpleGameControl.mp4" class="">https://dl.dropboxusercontent.com/u/2332970/SimpleGameControl.mp4</a></div><div class=""><br class=""></div><div class="">All the best,</div><div class="">Don Slater</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Mar 16, 2017, at 10:23 PM, Pigatt, Yvonne <<a href="mailto:ypigatt@ccbcmd.edu" class="">ypigatt@ccbcmd.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; direction: ltr; font-family: Tahoma; font-size: 10pt;" class=""><div style="margin-bottom: 0px; margin-top: 0px;" class="">Thank you Don for your quick response.  We will be polishing up our code this weekend and this information will be very useful.</div><p style="margin-bottom: 0px; margin-top: 0px;" class=""> </p><div style="margin-bottom: 0px; margin-top: 0px;" class="">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.</div><div class=""><p style="margin-bottom: 0px; margin-top: 0px;" class=""> </p><div class="BodyFragment"><font size="2" class=""><span style="font-size: 10pt;" class=""><div class="PlainText">Thank you,<br class=""><br class="">Vicky<br class="">Yvonne Pigatt, Assistant Professor<br class="">Computer Science/Information Technology<br class="">The Community College of Baltimore County<br class="">443-840-2835|443-840-5035 fax |<a href="mailto:ypigatt@ccbcmd.edu" class="">ypigatt@ccbcmd.edu</a><br class="">CCBC. The incredible value of education.<br class="">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';" class=""><hr tabindex="-1" class=""><div id="divRpF244493" style="direction: ltr;" class=""><font size="2" face="Tahoma" class=""><b class="">From:</b><span class="Apple-converted-space"> </span>alice-teachers [<a href="mailto:alice-teachers-bounces+ypigatt=ccbcmd.edu@lists.andrew.cmu.edu" class="">alice-teachers-bounces+ypigatt=ccbcmd.edu@lists.andrew.cmu.edu</a>] on behalf of Donald Slater [<a href="mailto:djslater107@mac.com" class="">djslater107@mac.com</a>]<br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>Thursday, March 16, 2017 9:13 AM<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span>Alice Teachers<br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: alice-teacher Alice 3.x<br class=""></font><br class=""></div><div class=""></div><div class="">Yvonne,<div class="">It would be very difficult to export / import methods that belong to the Scene class into other projects.</div><div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space: pre;"></span><a href="https://www.youtube.com/watch?v=FXhZZMZawis&feature=youtu.be" target="_blank" class="">https://www.youtube.com/watch?v=FXhZZMZawis&feature=youtu.be</a> - a summary video</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"></span><a href="https://www.youtube.com/watch?v=LaNqDdHmvho&feature=youtu.be" target="_blank" class="">https://www.youtube.com/watch?v=LaNqDdHmvho&feature=youtu.be</a> - focus on export</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"></span><a href="https://www.youtube.com/watch?v=0XprEvcqjgY&feature=youtu.be" target="_blank" class="">https://www.youtube.com/watch?v=0XprEvcqjgY&feature=youtu.be</a> - focus on import</div><div class=""><br class=""></div><div class="">If you build the mouse-click listener with if statements than different events can be triggered, depending on what is clicked on…</div><div class=""><br class=""></div><div class="">See the following video:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space: pre;"></span><a href="https://www.youtube.com/watch?v=QEzgnRiHTXo&feature=youtu.be" target="_blank" class="">https://www.youtube.com/watch?v=QEzgnRiHTXo&feature=youtu.be</a></div><div class=""><br class=""></div><div class="">(Keypress events start at the 6:50 mark, but it may be useful to view the entire video).</div><div class=""><br class=""></div><div class="">If you have not covered the if statement in your course, another way to do this would be to </div><div class=""><ol class="MailOutline"><li class="">add the mouse-click event<span class="Apple-converted-space"> </span></li><li class="">click on the details button, and select Set of Visuals<span class="Apple-converted-space"> </span></li><li class="">from SetOfVisuals, click on Custom Array…<span class="Apple-converted-space"> </span></li><li class="">In the Custom Array Dialog box, add the object or objects that you want to respond to that particular mouse event.</li></ol><div class=""><br class=""></div></div><div class="">See this video demo:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space: pre;"></span><a href="https://dl.dropboxusercontent.com/u/2332970/mouseEventDemo.mp4" target="_blank" class="">https://dl.dropboxusercontent.com/u/2332970/mouseEventDemo.mp4</a> </div><div class=""><br class=""></div><div class="">Please let us know if you have any other questions…</div><div class=""><br class=""></div><div class="">All the best,</div><div class="">Don Slater</div><div class=""><div class=""><br class="">Alice Project<br class="">Carnegie Mellon University<br class="">Entertainment Technology Center<br class="">700 Technology Drive<br class="">Pittsburgh, PA 15219<br class=""><br class="">Email:<span class="Apple-converted-space"> </span><a href="mailto:dslater@cmu.edu" target="_blank" class="">dslater@cmu.edu</a><br class=""><br class="">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 class="">--- Henry David Thoreau<br class=""><br class="">The true object of all human life is play. -- G.K. Chesterton<br class=""><br class=""></div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Mar 16, 2017, at 12:37 AM, Pigatt, Yvonne <<a href="mailto:ypigatt@ccbcmd.edu" target="_blank" class="">ypigatt@ccbcmd.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><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;" class=""><div class=""><div style="margin-bottom: 0px; margin-top: 0px;" class="">Hi,</div><p style="margin-bottom: 0px; margin-top: 0px;" class=""> </p><div style="margin-bottom: 0px; margin-top: 0px;" class="">I am working on a middle school project and have run into some problems.</div><p style="margin-bottom: 0px; margin-top: 0px;" class=""> </p><div style="margin-bottom: 0px; margin-top: 0px;" class="">Can Alice 3.x procedures be imported into other Alice 3.x projects?</div><p style="margin-bottom: 0px; margin-top: 0px;" class=""> </p><div style="margin-bottom: 0px; margin-top: 0px;" class="">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;" class=""> <span class="Apple-converted-space"> </span></p><div class="BodyFragment"><font size="2" class=""><span style="font-size: 10pt;" class=""><div class="PlainText">Thank you,<br class=""><br class="">Vicky<br class="">Yvonne Pigatt, Assistant Professor<br class="">Computer Science/Information Technology<br class="">The Community College of Baltimore County<br class="">443-840-2835|443-840-5035 fax |<a href="mailto:ypigatt@ccbcmd.edu" target="_blank" class="">ypigatt@ccbcmd.edu</a><br class="">CCBC. The incredible value of education.<br class="">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; letter-spacing: normal; text-indent: 0px; display: inline !important;" class="">_______________________________________________</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;" class=""><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; letter-spacing: normal; text-indent: 0px; display: inline !important;" class="">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;" class=""><a href="mailto:alice-teachers@lists.andrew.cmu.edu" target="_blank" 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;" class="">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;" class=""><a href="https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers" target="_blank" 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;" class="">https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers</a></div></blockquote></div><br class=""></div></div></div></div><span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">alice-teachers mailing list</span><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""><a href="mailto:alice-teachers@lists.andrew.cmu.edu" class="">alice-teachers@lists.andrew.cmu.edu</a></span><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""><a href="https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers" class="">https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers</a></span></div></blockquote></div><br class=""></div></div></body></html>