WEEK3
Introduction
Goals
I have been assigned work on the enemy AI system.
Weapon attached:
enemy weapon 1 | done |
enemy weapon 2 | done |
enemy weapon 3 | done |
- nemy should be able to access the weapon base to create enemy diversity
The following is the primary author and any secondary authors who assisted in completing the tasks this week.
- Primary - Serena
- Secondary - Keal
Technologies, Tools, and Resources used
The following are the technologies, tools, and resources to assist in completing the set goals this week.
[Unity Documentation]-https://docs.unity3d.com/ScriptReference/
Key Tasks Undertaken
The following are the key tasks that were taken to help a developer/reader understand how the tasks were completed.
- pull everything new and open the game project file
- make a plan about what would be needed for the tasks
- list the scripts that are possibles should be edited
- to allow the weapon base class to distinguish users, adding tags to objects, for now only player and enemy
- to interact it with the enemy, open the EnemyAI script
- create a variable for the weapon base script to let EnemyAI script can call some functions from that
- find the relevant codes, and replace the old code to a new one that recalls the function in weapon script
- fix script errors to updated unity issues and classify the codes
- attach the weapon prefab to the enemy and make it a new prefab that has various weapons in there
- make weapon various, need to attach an "abstract" interactive script to it to tell this prefab will read everything in weapon base script
- in enemy prefabs, attach the weapon to the new variable blank
- then enemies can have different types of gun and shoot
- commit the changes and merge to the server and push it to the bitbucket
What I Found Out
Include any particular lessons learned, especially if this Spike was designed to cover knowledge gaps. Use Graphs, ScreenShots, Outcome Lists, or other Notes.
- working with others makes works faster to progress
Solution Justification
- try multiples ways to operate it
- checking the pre-work
Open Issues/Risks
List the issues and risks that you have been unable to resolve at the end of the spike. You may have uncovered a whole range of new risks as well.
- sometimes, drag things into inspector panel is the only way to select appropriate assets
Recommendations
- research next task which is enemy patrolling
SGD 300 FPS RPG
Status | Released |
Author | Serena.DD.Pei |
Genre | Shooter, Role Playing |
Tags | Unity |
Leave a comment
Log in with itch.io to leave a comment.