Simulate moving a cursor in Dojo with Larry

Larry is definitely settling in on the perch with the green screen. I always have snacks in his bowls and he hasn’t touched them much. I guess he decided to sit by and snack while we record.

Continuing on from the previous video here we implement a moveto function in our simulator.  There is one fix in the code, I removed these two lines as I realized I did not need them:

var l = Math.round(aPos.x);
var t = Math.round(aPos.y);

Check out the jsFiddle here.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s