Player Movement
تمرين
- صمم مستوى (أضف جدران و أرضية)
- إضافة وحدة تحكم لاعب من ال unity asset store
UI
تمرين
- افتح scene جديد (لا تنس حفظ آخر scene لك بالضغط على ctrl + s)
- أضف Canvas و Panel و Text و Button (صممها بالطريقة التي تريدها)
- اجعل الزر يأخذك إلى اللعبة
- إضافة مؤشر صحة على شاشة اللاعبين
بونص 🌟 :
- أضف pause menu إلى لعبتك
Enemies
تمرين
- أضف مجلد ال NavMaps إلى لعبتك
- أضف ال navmesh surface script إلى empty object وضبط إعداداته حسب حاجتك ثم اضغط build
- أضف العدو وإضافة إليها ال nav map agent
- اجعل العدو يتحرك في اتجاه اللاعب
- اصنع مقذوفات الأعداء و الscript الخاصة بهم (ثم قم بتحويلها إلى prefab)
- اجعل العدو يرمي المقذوفات على اللاعب