Wednesday, March 30, 2016

Lab 26 Coding

      In this lab, we use Flash CS6 to create a interactive movie clip where the user can use the mouse or the arrow buttons we have placed in the clip to move the object. To make this, we use the code snippets to write our codes since we don't know exactly how to code. Then we just adjust the code to make it work.  This is the first time most of us are using action script, but since I have used c# coding before, I knew the fundamentals of coding, so it was not very difficult to understand. All we needed to make are just 4 functions, each for the buttons, and functions for the keyboard that needed absolutely no adjustments.


      I have created a set of black color buttons in the shape of triangles and have given them an arrangement to make it look like buttons pointing at each directions. My object is the dolphin that I have made in the previous labs. And this object can be moved by either the buttons on the screen or with the arrow keys on the keyboard after the code had been adjusted correctly.

http://techteach.us/DD2015/HJiahua/Labs/Lab26/LB26_Jiahua_DD.html

No comments:

Post a Comment