Buatlah tampilan mata seperti pada gambar dan letakkan pada layer eyelip.
Buat sebuah symbol berbentuk bulat
Buatlah sebuah symbol invisible button
Pada instance bulat beri nama board
Klik pada instance invisible button yang telah dimasukkan dalam scene
Invisible Button
1. on (keyPress “<Left>”) {
2. board._x = board._x -10;
3. }
4. on (keyPress “<Right>”) {
5. board._x = board._x +10;
6. }
Invisible Button (sambungan)
7. on (keyPress “<Up>”) {
8. board._y = board._y -10;
9. }
10. on (keyPress “<Down>”) {
11. board._y = board._y +10;
12. }
Ctrl+Enter untuk Publish dan Preview
No Comments Yet
No comments yet.
Comments RSS TrackBack Identifier URI
Leave a comment






