Owl Moms features

Dear, Group 13.

I can tell you are using Managers to handle events such as input manager, animation manager and sound manager and then use them all inside the owl mom class. Using managers is useful and increases efficiency by using the same code and over and over again.

You are creating the owl mom inside the enter function inside game state which is good since it need to be in the game from the start. The owl mom is connected with the owlets inside the game state and they are taking the owl moms movement so they follow the owl mom around as well as having their own movement behind the owl mom.

The owl mom class is also effected by other creatures where it using a collision manager to see if they collide and it has a stress meter which is used to increase the owl moms stress meter. The stress meter is like a life force to her and it increases when enemies are on the screen or when it collides with enemy creatures.

You are reading the owl moms position when you are creating the projectile but you are only able to create one projectile which is okay if that is how you wish to have your game play but can easily be fixed by adding a vector with the projectile as the object inside the header of your game state and then create new projectile when firing and use the vectors own function push_back to put them in the line and deleting them when they go outside the screen.

I see you are adding each frame for the animation from it’s x value inside your owl mom class when you should ask for a sprite sheet from your graphic designers or change it yourselves that starts let’s say at 0 then 200 then 400 and so on and use a for loop to read all the frames to keep the code more clean and readable.

I can tell you have reused the SDL code structure and code, not that it’s a bad thing but you should try to learn from the new library and try to use it’s functions like SFMLs own move function instead of setting a position.

As well with the making of the input manager was probably a waste of time since SFML have it’s very own.

This is only my opinion which is from an outsider that still think you done a great job.

.

Leave a comment