Final coding exam prep

In this lesson with Ant, we were told to just prepare for out coding exam which starts next week, so I decided to fix my game that I had done a couple days prior from the tutorials provided. The problem that was occurring was that the line of sight code for the enemies wouldn’t toggle when the player was seen after a couple of hours of shaking my head and not understanding I decided to leave it for lesson and ask for help, way that this problem was fixed was by just going into the scene preferences and unticking a box which made the enemy see its self before the player obscuring the view meaning it would technically never see the player meaning it would never toggle its chasing command which was needed in order for the character to shoot at the player.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s