game blog w14-1

 

Summary 

 Centent ใน week ที่ 14-1 มีดังนี้ 
 - Unity multiplayer continued (Create HUD)
 - New Scene And Tilemap  

Unity multiplayer continued (Create HUD)

เรา week14-1 เราจะมาเพิ่ม Network Manager HUD ที่ใช้ในการสร้าง Lobby เกมของเรา (Host) และให้ผู้เล่น (Client) เข้ามาใน Lobby ของเรากัน



โดยเมื่อเริ่มเกมจะทำการสร้าง GUI ที่มี Label บอกว่าช่องที่ให้ textfield นั้นจะให้ Input เป็น Address และ Port และให้ textfield ใส่ค่าเริ่มต้นเป็น 127.0.0.1 และ 7777


และเมื่อกดปุ่ม Host Server และ Client จะไปเรียกใช้ method ต่างๆเช่น StartHost StartServer และ 
StartClient ที่อยู่ใน class network manager และ สร้าง gui label ที่โชว์ ip ของเน็ตที่ปัจจุบันที่ใช้อยู่

New Scene And Tilemap  (Game Design)

ในส่วนนี้จะทำแยกไปใน blog Game design หากสนใจที่จะดูเกี่ยวกับการ design ui low-fi และ hi-fi สามารถเข้าไปดูได้ที่ blog Unity Game Design











game blog w16-1

  Summary   Centent ใน week ที่ 16-1 มีดังนี้   - Human player turn to ghost when died    - Ghost bot (path finding with project A*)   Human...