<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
One of my students is placing an astronaut in his program. Every time he does, he cannot see it. I know it is going to 0,0,0 but I am not sure where that is on his. How can I help him?</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> alice-teachers <alice-teachers-bounces+april.corbin=k12.wv.us@lists.andrew.cmu.edu> on behalf of Don Slater <don@alice.org><br>
<b>Sent:</b> Monday, April 23, 2018 7:35:35 AM<br>
<b>To:</b> Alice Teachers<br>
<b>Subject:</b> Re: alice-teacher Lists on Alice 3.4</font>
<div> </div>
</div>
<div class="" style="word-wrap:break-word">Mourad,
<div class="">Dynamically creating objects during runtime in Alice is not possible. All objects that may be used in an Alice world have to be added to the object, and possibly hidden until needed, before the project executes.</div>
<div class=""><br class="">
</div>
<div class="">To drag and drop an object in a project while it was running (see that attached screen shot), go to initializeEventListeners tab (1), click on Add Event Listener button (2), select Mouse from the menu (3), and select addDefaultModelManipulation
 listener.</div>
<div class=""><br class="">
</div>
<div class="">This will allow you to click and drag any model in the scene. Holding down the Control key (Windows) (Option key - Mac) will turn the object. Hold the Shift key and drag an object to raise or lower an object.</div>
<div class=""><br class="">
</div>
<div class="">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=""><br class="">
</div>
<div class="">Alice Project</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><img id="x_0B6AF5D7-16E0-481D-980A-24C949F70F4C" class="" src="cid:47FD2733-ADEC-47DD-9B7A-50B4D4C3AB45@sdsw.org"></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Apr 22, 2018, at 7:32 PM, Azer, Mourad <<a href="mailto:MOURAD.AZER@det.nsw.edu.au" class="">MOURAD.AZER@det.nsw.edu.au</a>> wrote:</div>
<br class="x_Apple-interchange-newline">
<div class="">
<div class="">Hi <br class="">
I am just new in teaching alice 3.4. My previous experience was in Scratch where I could create up to 255 instances of the object of my choice (in code). Is there a way to do this in Alice 3?<br class="">
One more question<br class="">
How can I create an event to drag and drop an object (in code)<br class="">
<br class="">
Kind Regards<br class="">
<br class="">
Mourad Azer<br class="">
ICT Coordinator<br class="">
<br class="">
Fairvale High School<br class="">
Ph: (02) 96043118<br class="">
fax: (02) 9725 5246<br class="">
________________________________________<br class="">
From: alice-teachers <<a href="mailto:alice-teachers-bounces+mourad.azer=det.nsw.edu.au@lists.andrew.cmu.edu" class="">alice-teachers-bounces+mourad.azer=det.nsw.edu.au@lists.andrew.cmu.edu</a>> on behalf of Don Slater <<a href="mailto:dslater@andrew.cmu.edu" class="">dslater@andrew.cmu.edu</a>><br class="">
Sent: Thursday, 19 April 2018 8:34 AM<br class="">
To: Alice Teachers<br class="">
Subject: Re: alice-teacher Lists on Alice 3.4<br class="">
<br class="">
Carlos,<br class="">
Yes, although Alice 3 does not support Lists as Alice 2 does, it does support arrays. The attached set of Powerpoint slides should show how how to build an array structure in Alice and how to use the “for… each” and the “each … in together” data structures
 use for manipulating elements in the arrays.<br class="">
<br class="">
It is not an exhaustive explanation of the topic, but it should serve as a good starting point for your student.<br class="">
<br class="">
Please feel free to let me know if you have another questions…<br class="">
<br class="">
All the best,<br class="">
Don Slater<br class="">
<br class="">
Alice Project<br class="">
<br class="">
<br class="">
**********************************************************************<br class="">
This message is intended for the addressee named and may contain<br class="">
privileged information or confidential information or both. If you<br class="">
are not the intended recipient please delete it and notify the sender.<br class="">
**********************************************************************<br class="">
_______________________________________________<br class="">
alice-teachers mailing list<br class="">
<a href="mailto:alice-teachers@lists.andrew.cmu.edu" class="">alice-teachers@lists.andrew.cmu.edu</a><br class="">
To change settings or unsubscribe visit:<br class="">
https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>