<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Don, thanks. Decreasing the duration does cause less flicker. But it also changes the nice feel of acceleration and deceleration caused by the stacking up of the key events. The duration is the amount of time it takes to reach top speed, so setting the the
 duration to 0 causes instantaneous acceleration. It feels very different.
<div class=""><br class="">
</div>
<div class="">I know Alice 3 is not a game engine, and using stacking up of key events to achieve acceleration is kind of a hack. I don’t know how the students came up with it. I will share this solution with them to see if it is acceptable.</div>
<div class=""><br class="">
</div>
<div class="">James<br class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
—<br class="">
James Vanderhyde<br class="">
Associate Professor and Department Chair</div>
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
Computer Science<br class="">
Saint Xavier University<br class="">
3700 W. 103rd St.<br class="">
Chicago, IL 60655<br class="">
773-298-3454</div>
</div>
</div>
</div>
</div>
<div><br class="">
<div class="">On Apr 20, 2021, at 7:51 AM, Donald Slater via alice-teachers <<a href="mailto:alice-teachers@lists.andrew.cmu.edu" class="">alice-teachers@lists.andrew.cmu.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
James,
<div class="">From the development Team…</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<blockquote type="cite" class="">The key repeat speed of 30 per second (per key) combined with the default 1 second animation can stack up a few too many transformations.
<div class="">They should get less flicker by lowering the duration of each animation to 0.25 or 0.1 second, or even 0. The effective motion won't be much changed.</div>
</blockquote>
<div class=""><br class="">
</div>
<div class="">We are looking at some of the assumptions regarding our defaults. Thank you for bringing this to our attention…</div>
<div class=""><br class="">
</div>
<div class="">Take care and be well,</div>
<div class=""><br class="">
</div>
<div class="">Don Slater</div>
<div class=""><br class="">
</div>
<div class="">Alice Project</div>
<br class="">
<blockquote type="cite" class="">
<div class="">On Apr 17, 2021, at 12:27 PM, Vanderhyde, James <<a href="mailto:vanderhyde@sxu.edu" class="">vanderhyde@sxu.edu</a>> wrote:</div>
</blockquote>
<blockquote type="cite" class=""><br class="Apple-interchange-newline">
<div class="">
<div class="">
<div class="" style="word-wrap:break-word; line-break:after-white-space">Some of my students are making car race games. They came up with a way to do player control or the car using the COMBINE option on the keyboard event with a move forward duration 1. It
 actually has a very nice feel of acceleration, because the combined movement instructions stack up until a max speed is hit due to the fixed frame rate.
<div class=""><br class="">
</div>
<div class="">However, something weird happens when you set the camera’s vehicle property to the car. The screen flickers as the camera accelerates. I’m attaching an Alice program that exhibits the behavior. Use up arrow to move forward and right arrow to turn.
 The flicker occurs sporadically, but more frequently if you try turning. The flicker also happens just moving the camera, so it does not seem to be connected to the vehicle. But the vehicle makes it worse, it seems.</div>
<div class=""><br class="">
</div>
<div class="">Alice 3.6.0.1 +build .500</div>
<div class="">MacOS Mojave 10.14.6</div>
<div class="">Intel Core i7</div>
<div class="">Intel Iris Pro graphics</div>
<div class=""><br class="">
</div>
<div class="">James<br class="">
<div class="">
<div dir="auto" class="" style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; word-wrap: break-word; line-break: after-white-space;">
<div dir="auto" class="" style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; word-wrap: break-word; line-break: after-white-space;">
<div dir="auto" class="" style="word-wrap:break-word; line-break:after-white-space">
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none;" class="">
—<br class="">
James Vanderhyde<br class="">
Associate Professor and Department Chair</div>
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none;" class="">
Computer Science<br class="">
Saint Xavier University<br class="">
3700 W. 103rd St.<br class="">
Chicago, IL 60655<br class="">
773-298-3454</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="" style="word-wrap:break-word; line-break:after-white-space">
<div class=""></div>
</div>
</div>
<span id="cid:B2F2E013BF001A449B6A8B414DCF5485@namprd06.prod.outlook.com" class=""><camera flicker bug.a3p></span>_______________________________________________<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="">
<a href="https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers" class="">https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers</a></div>
</blockquote>
</div>
<br class="">
</div>
</div>
_______________________________________________<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</div>
</div>
<br class="">
</div>
</body>
</html>