Question: George P . Burdell is developing his first video game, The Phantom Scholar, which is 2 D with continuous movement and runs at 3 0
George P Burdell is developing his first video game, The Phantom Scholar, which is D with
continuous movement and runs at frames per second best effort
In the game, there is an enemy which George intends to chase the player at
Each frame of the game simulation, George computes the relative vector from enemy
position E to player position like so:
Then he computes the updated position with the following equation:
What problems will George likely observe with his implementation?
The enemy will stand in place, never moving.
The enemy will move away from the player instead of towards.
The enemy's velocity will not be at the target speed.
The position displacement of the enemy is not adjusted for variation in frame rate.
The enemy will circle around the world origin but never move more than m away from the origin.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
