.. Game Assignment 2 ..
31 ตุลาคม 2556
.. Game Assignment 2 ..
Background Game
//// Background ////
Life & Button
//// Life & Button ////
Draw Girl Style
//// Draw Girl Style ////
Draw Boy Stlye
//// Draw Boy Style ////
Draw Snoopy Style
//// Draw Snoopy Style ////
Racket -- snoopy
/////// ไม้เทนนิส ของ snoopy //////
void Snoopy_style
/////////// ตำแหน่งและท่า snoopy ////////////
void Boy_style
/////// ท่าตี Boy //////
void Boy_moveBall
/////// เดินลูกบอลที่ ten1_Boy & ten2_Boy //////
void Girl_moveBall
/////// เดินลูกบอลที่ ten1_Girl & ten2_Girl //////
void hit_Girl
การตีโต้กลับของ Girl
void random_Ball
สุ่มแนวการเดินลูกบอลที่ Boy ตี
keyPressed function
ฟังก์ชัน KeyPressed
ฟังก์ชันและตัวแปร
ใช้ 29 Function ดังนี้
29 ตุลาคม 2556
Assignment 2_BB
..# Assignment 2_BB #..
~ ~ Assignment 2_B ~
24 ตุลาคม 2556
Assignment 2_B
..# Assignment 2_B #..
~ ~ Assignment 2_B ~