Sufficiency Economy
Group Blog
 
All blogs
 
Adroid Programming : เบื้องต้น2 Game Architecture

อ้างอิงจาก javacodegeeks.com
ในweb เขาอธิบายเกี่ยวโครงสร้างของเกม ตามรูป

1. ผู้เล่น ใส่ input ได้แก่การ touch ที่ตำแหน่งต่างบนหน้าจอ tablet
2. Game Logic จะทำการคำนวณ หรือแปลความหมายตามที่ได้รับ  input เพื่อไปเปลียนสถานะ(state) ของตัวละคร วัตถุต่าง (object) เช่น tap ที่ตำแหน่ง 50,50 ก็ให้ตัวละคร เดินไปที่ตำแหน่งนั้นๆ มัง 555
3. การให้แสดงภาพ ตัวละครเดินไปตามข้อ2 ก็ใช้ module ในส่วน graphics ส่วน audio ก็เรื่อง เสียง
4. ทั้งสี่ส่วน ที่กล่าวมา ทาง android ได้ทำ class support หมดแล้ว ก็คืออยู่ใน android framework เพื่อติดต่อกับ hardware ของ tablet หรืออุปกรณ์อื่นๆท่ี่ run android




Create Date : 15 กรกฎาคม 2555
Last Update : 15 กรกฎาคม 2555 19:50:14 น. 0 comments
Counter : 2797 Pageviews.

ชื่อ :
Comment :
  *ใช้ code html ตกแต่งข้อความได้เฉพาะสมาชิก
 

wink99_th
Location :
พิษณุโลก Thailand

[Profile ทั้งหมด]

ฝากข้อความหลังไมค์
Rss Feed
Smember
ผู้ติดตามบล็อก : 8 คน [?]




New Comments
Friends' blogs
[Add wink99_th's blog to your web]
Links
 

 Pantip.com | PantipMarket.com | Pantown.com | © 2004 BlogGang.com allrights reserved.