Daily Archives: March 4, 2016

Code Review – Group 15

This is a code review of Group 15’s player class. I will look into how did they implement their player class in their game, what kind of bond to other classes it has and what functions it holds.
To make their player class work they have four keystones:

The player class inherits from an Entity class which inherits properties and functions from another class called GameObject. The GameObject class handels most of the games different objects movement, position and when to draw […]

/ Comments Off on Code Review – Group 15
Program: Programming

Code Review – Group 15

This is a code review of Group 15’s player class. I will look into how did they implement their player class in their game, what kind of bond to other classes it has and what functions it holds.
To make their player class work they have four keystones:

The player class inherits from an Entity class which inherits properties and functions from another class called GameObject. The GameObject class handels most of the games different objects movement, position and when to draw […]

/ Comments Off on Code Review – Group 15
Program: Programming

Code Review of team 5 Player class

The player class does not have any couplings except for the fact that it’s a child class of the IENTITY class, which contains only pure virutal functions. Therefore it’s hard to give any certain advice to reduce couplings. However the most of the code seems to be written in the main.cpp which has its pros and cons. The pros being it’s easier because classes could sometimes be confusing and difficult to understand. The cons being it could be very confusing […]

/ Comments Off on Code Review of team 5 Player class
Program: Programming

Code Review of team 5 Player class

The player class does not have any couplings except for the fact that it’s a child class of the IENTITY class, which contains only pure virutal functions. Therefore it’s hard to give any certain advice to reduce couplings. However the most of the code seems to be written in the main.cpp which has its pros and cons. The pros being it’s easier because classes could sometimes be confusing and difficult to understand. The cons being it could be very confusing […]

/ Comments Off on Code Review of team 5 Player class
Program: Programming

Code Review of Team 4

The first smart thing that got me was the clean start of the player class’ update function. Specifically the way of dividing the different states into their own functions which would be called by the value of an enumerator.
I also like the way that the player class seems to have control of the player dependent objects creation such as the harpoon, the golden harpoon and fish food. This is most likely how I, myself would’ve done it to keep track […]

/ Comments Off on Code Review of Team 4
Program: Programming

Code Review of Team 4

The first smart thing that got me was the clean start of the player class’ update function. Specifically the way of dividing the different states into their own functions which would be called by the value of an enumerator.
I also like the way that the player class seems to have control of the player dependent objects creation such as the harpoon, the golden harpoon and fish food. This is most likely how I, myself would’ve done it to keep track […]

/ Comments Off on Code Review of Team 4
Program: Programming

Code Review: Space Giraffa

Space Giraffa’s spelar klass har två bindningar, en bindning till entitymanagern och en bindning till input samt bindningar till vissa allmänna/globala funktioner som extendedmath och vec. Från dessa bindningar plockar den in projektiler från entitymanagern och knappintryckningar från input.
Input bindningarna är självklara och så vitt jag vet så finns det inte någon bättre sätt att kontrollera ett objekt utan att binda det till input på detta vis, man kan göra det utanför dess egna klass men då blir det onödigt […]

/ Comments Off on Code Review: Space Giraffa
Program: Programming

Code Review: Space Giraffa

Space Giraffa’s spelar klass har två bindningar, en bindning till entitymanagern och en bindning till input samt bindningar till vissa allmänna/globala funktioner som extendedmath och vec. Från dessa bindningar plockar den in projektiler från entitymanagern och knappintryckningar från input.
Input bindningarna är självklara och så vitt jag vet så finns det inte någon bättre sätt att kontrollera ett objekt utan att binda det till input på detta vis, man kan göra det utanför dess egna klass men då blir det onödigt […]

/ Comments Off on Code Review: Space Giraffa
Program: Programming

Group 12 code review

 
The player cpp file is dependent on a sprite for the player to be drawn on the screen. It also dependent on two integers called speed x and y this is to simulate acceleration by adding to these. It also requires player direction to see if what direction the player is moving in. The class also has a movement function and within it there is maximum values on the speed variables. This is tom stop the player from going too […]

/ Comments Off on Group 12 code review
Program: Programming

Group 12 code review

 
The player cpp file is dependent on a sprite for the player to be drawn on the screen. It also dependent on two integers called speed x and y this is to simulate acceleration by adding to these. It also requires player direction to see if what direction the player is moving in. The class also has a movement function and within it there is maximum values on the speed variables. This is tom stop the player from going too […]

/ Comments Off on Group 12 code review
Program: Programming

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 […]

/ Comments Off on Owl Moms features
Program: Game Design

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 […]

/ Comments Off on Owl Moms features
Program: Game Design

Code review of Mermaid River

In the game Mermaid River the class called “Captain” is represented as the playable avatar in the game. An object pointer of captain is stored as a private member in a derived class called “GameState”. When the game state’s “Enter” function is executed, the captain gets a struct filled with pointers to different objects like draw manager, state manager, mouse, etc. But all of the instances weren’t used like the state manager. They could have send only the useful modules […]

/ Comments Off on Code review of Mermaid River
Program: Programming

Code review of Mermaid River

In the game Mermaid River the class called “Captain” is represented as the playable avatar in the game. An object pointer of captain is stored as a private member in a derived class called “GameState”. When the game state’s “Enter” function is executed, the captain gets a struct filled with pointers to different objects like draw manager, state manager, mouse, etc. But all of the instances weren’t used like the state manager. They could have send only the useful modules […]

/ Comments Off on Code review of Mermaid River
Program: Programming

Code Review av grupps 1 spelar klass

Code Review av grupps 1 spelar klass
Första intryck
Först när jag fick hem spelet så började jag med att kolla på hur ni har byggt klassen. Mitt första intryck blev att jag tyckte att det var väldigt lite kod som ni har i klassen. Detta fick mig att undra om spelet faktiskt funkade men när jag försökte att köra spelet så möttes jag av felet att den inte kunde hitta exe filen i _binary mappen.
Jag menar i h filen så […]

/ Comments Off on Code Review av grupps 1 spelar klass
Program: Programming

Code Review av grupps 1 spelar klass

Code Review av grupps 1 spelar klass
Första intryck
Först när jag fick hem spelet så började jag med att kolla på hur ni har byggt klassen. Mitt första intryck blev att jag tyckte att det var väldigt lite kod som ni har i klassen. Detta fick mig att undra om spelet faktiskt funkade men när jag försökte att köra spelet så möttes jag av felet att den inte kunde hitta exe filen i _binary mappen.
Jag menar i h filen så […]

/ Comments Off on Code Review av grupps 1 spelar klass
Program: Programming

Code rewiev of group 5

Let me begin with saying that in my group we have a lot of coupling in our player class so when I looked through your player class I was amazed with how little coupling you have. You have some from SFML but other than that I have a hard time finding any. I don’t think I can give you any tip on how you can decouple your player class when you have a lot less coupling then we do. And there […]

/ Comments Off on Code rewiev of group 5
Program: Programming

Code rewiev of group 5

Let me begin with saying that in my group we have a lot of coupling in our player class so when I looked through your player class I was amazed with how little coupling you have. You have some from SFML but other than that I have a hard time finding any. I don’t think I can give you any tip on how you can decouple your player class when you have a lot less coupling then we do. And there […]

/ Comments Off on Code rewiev of group 5
Program: Programming

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 […]

/ Comments Off on Owl Moms features
Program: Programming

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 […]

/ Comments Off on Owl Moms features
Program: Programming

Vad som finns i Grupp12 kod som jag ser, Avataren Behöver för att fungera.

Spelarens sätt att ge input till Spelet, än så kallad Avatar.
Avataren är beroende av en Sprite med textur& GameState sätter in Avatarens Kanon på plats som är en egen Klass. som följer musen för att kunna låta spelaren skjuta. Men själva Avataren behöver inte ha en kanon klass. då själva Avataren Har ingen direktkoppling till kanon klassen Så om det fanns kod för att bytta Vapen skulle det nog fungera också men behövs ändras i GameState.
Avataren Kan bara flytta sig Framåt […]

/ Comments Off on Vad som finns i Grupp12 kod som jag ser, Avataren Behöver för att fungera.
Program: Programming

Vad som finns i Grupp12 kod som jag ser, Avataren Behöver för att fungera.

Spelarens sätt att ge input till Spelet, än så kallad Avatar.
Avataren är beroende av en Sprite med textur& GameState sätter in Avatarens Kanon på plats som är en egen Klass. som följer musen för att kunna låta spelaren skjuta. Men själva Avataren behöver inte ha en kanon klass. då själva Avataren Har ingen direktkoppling till kanon klassen Så om det fanns kod för att bytta Vapen skulle det nog fungera också men behövs ändras i GameState.
Avataren Kan bara flytta sig Framåt […]

/ Comments Off on Vad som finns i Grupp12 kod som jag ser, Avataren Behöver för att fungera.
Program: Programming

Code review group 15

Player klassen för Spelet Geneva lost är ganska minimal i dagsläget och jag kan inte kommentera direkt nåt större över dess funktionalitet med tanke på att ni har bara kod för rörelse.
I dagsläget hanteras all player logik i Gamestate i ert spel vilket kanske inte är optimalt och gör framtida ändringar och debugging onödigt komplicerad.
Bästa skulle ju varit om ni hade en klass för Player som har all logik för hur spelaren skall bete sig och röra sig med mera vilket […]

/ Comments Off on Code review group 15
Program: Programming

Code review group 15

Player klassen för Spelet Geneva lost är ganska minimal i dagsläget och jag kan inte kommentera direkt nåt större över dess funktionalitet med tanke på att ni har bara kod för rörelse.
I dagsläget hanteras all player logik i Gamestate i ert spel vilket kanske inte är optimalt och gör framtida ändringar och debugging onödigt komplicerad.
Bästa skulle ju varit om ni hade en klass för Player som har all logik för hur spelaren skall bete sig och röra sig med mera vilket […]

/ Comments Off on Code review group 15
Program: Programming