Author Archives: Sven Almberg
Fancy Mansion – Adding more AI with pickups
This week I have been working with implementing more of the functionality with the different pickups and how they work with the AI. We have a number of items you can pick up and when you carry a specific item the AI of Mr. Fancy will work in different ways. For example, Mr. Fancy will not shoot you if you carry the armor and he have not seen you move. As stated in a previous post the player picks things up by […]
Fancy Mansion – Adding more AI with pickups
This week I have been working with implementing more of the functionality with the different pickups and how they work with the AI. We have a number of items you can pick up and when you carry a specific item the AI of Mr. Fancy will work in different ways. For example, Mr. Fancy will not shoot you if you carry the armor and he have not seen you move. As stated in a previous post the player picks things up by […]
Fancy Mansion – Artificial Intelligence
Last week I did some pre-work for making path-finding work in our game, and this week’s work took off right after last week’s work ended. This week I have been working with getting the AI for Mr. Fancy implemented, making him move to the location where the player made a sound (i.e. when the player is running). Something I have also implemented is a kind of a field of view for Mr. Fancy, which makes him chase the player if they […]
Fancy Mansion – Artificial Intelligence
Last week I did some pre-work for making path-finding work in our game, and this week’s work took off right after last week’s work ended. This week I have been working with getting the AI for Mr. Fancy implemented, making him move to the location where the player made a sound (i.e. when the player is running). Something I have also implemented is a kind of a field of view for Mr. Fancy, which makes him chase the player if they […]
Fancy Mansion – Pathfinding
This week I have been working with implementing an AI for Mr. Fancy, the owner of the Fancy Mansion. Mr. Fancy has a couple of states he enters, one where he patrols a path (we haven’t decided how this will be implemented, but probably with path-finding as well), one where he hears the player and moves to the tile the player was on (here we use path-finding), and a couple of other states where he chases and shoots the player.
Last […]
Fancy Mansion – Pathfinding
This week I have been working with implementing an AI for Mr. Fancy, the owner of the Fancy Mansion. Mr. Fancy has a couple of states he enters, one where he patrols a path (we haven’t decided how this will be implemented, but probably with path-finding as well), one where he hears the player and moves to the tile the player was on (here we use path-finding), and a couple of other states where he chases and shoots the player.
Last […]
Fancy Mansion – Better collision and a start on A.I.
Last week we had a showcase of our alpha-release of the game. I think it was quite well received and we were given some tips on how we should continue. This week we have started working on an A.I. for our enemy in the game, Mr.Fancy. Also, during last week we implemented new walls into our game with a different perspective and the collision between the player and the walls were not working as intended.
So this week I have changed the size […]
Fancy Mansion – Better collision and a start on A.I.
Last week we had a showcase of our alpha-release of the game. I think it was quite well received and we were given some tips on how we should continue. This week we have started working on an A.I. for our enemy in the game, Mr.Fancy. Also, during last week we implemented new walls into our game with a different perspective and the collision between the player and the walls were not working as intended.
So this week I have changed the size […]
Fancy Mansion – Picking up items/Power-Ups
This week I’ve been working with items that the player should be able to pick up. The items currently implemented in the game are the candle that gives the player a wider vision radius, the armor and coins. The player can only hold one item at a time, except coins that are added to the score instead. When an item have been picked up it can be carried to a drop off zone. Upon dropping it on the drop off […]
Fancy Mansion – Picking up items/Power-Ups
This week I’ve been working with items that the player should be able to pick up. The items currently implemented in the game are the candle that gives the player a wider vision radius, the armor and coins. The player can only hold one item at a time, except coins that are added to the score instead. When an item have been picked up it can be carried to a drop off zone. Upon dropping it on the drop off […]
Fancy Mansion – Light and darkness
About three weeks ago we started a new course called Introduction to Game Development. In this course we are going to create a game from a concept which another group has made in the previous course, Game Analysis and Game Design. My group chose the concept called Fancy Mansion, in which you play as a burglar who is breaking in to a mansion owned by a man called Mr. Fancy. One of the main features in the game is that of […]
Fancy Mansion – Light and darkness
About three weeks ago we started a new course called Introduction to Game Development. In this course we are going to create a game from a concept which another group has made in the previous course, Game Analysis and Game Design. My group chose the concept called Fancy Mansion, in which you play as a burglar who is breaking in to a mansion owned by a man called Mr. Fancy. One of the main features in the game is that of […]
Fifth week – Arkanoid and SDL
During last weeks lectures our lecturer started live coding for Arkanoid (or Breakout). We went through some of the basic stuff you need for almost any game, the engine and a couple of managers. This week we finished it by adding stuff specific to Arkanoid (blocks, paddle, ball and movement; in short, the logic of the game). We also implemented SDL_Image and SDL_TTF as an addition.
In SDL you can only handle .bmp images, and to be able to utilize for […]
Fifth week – Arkanoid and SDL
During last weeks lectures our lecturer started live coding for Arkanoid (or Breakout). We went through some of the basic stuff you need for almost any game, the engine and a couple of managers. This week we finished it by adding stuff specific to Arkanoid (blocks, paddle, ball and movement; in short, the logic of the game). We also implemented SDL_Image and SDL_TTF as an addition.
In SDL you can only handle .bmp images, and to be able to utilize for […]
Fifth week – Arkanoid and SDL
During last weeks lectures our lecturer started live coding for Arkanoid (or Breakout). We went through some of the basic stuff you need for almost any game, the engine and a couple of managers. This week we finished it by adding stuff specific to Arkanoid (blocks, paddle, ball and movement; in short, the logic of the game). We also implemented SDL_Image and SDL_TTF as an addition.
In SDL you can only handle .bmp images, and to be able to utilize for […]
Fifth week – Arkanoid and SDL
During last weeks lectures our lecturer started live coding for Arkanoid (or Breakout). We went through some of the basic stuff you need for almost any game, the engine and a couple of managers. This week we finished it by adding stuff specific to Arkanoid (blocks, paddle, ball and movement; in short, the logic of the game). We also implemented SDL_Image and SDL_TTF as an addition.
In SDL you can only handle .bmp images, and to be able to utilize for […]
Week three and four – Classes, inheritance and polymorphism
During last week (week 3 in the course) we started using classes. Classes are something defined in C++ and are similar to structs, which are mainly used in C. As structs, a class is something that can hold a number of values and it can be instantiated for use in your program. Though, one thing with classes is that it can also hold member functions (methods) which can be called with the instantiated object. To access the method we use the . […]
Week three and four – Classes, inheritance and polymorphism
During last week (week 3 in the course) we started using classes. Classes are something defined in C++ and are similar to structs, which are mainly used in C. As structs, a class is something that can hold a number of values and it can be instantiated for use in your program. Though, one thing with classes is that it can also hold member functions (methods) which can be called with the instantiated object. To access the method we use the . […]
Week three and four – Classes, inheritance and polymorphism
During last week (week 3 in the course) we started using classes. Classes are something defined in C++ and are similar to structs, which are mainly used in C. As structs, a class is something that can hold a number of values and it can be instantiated for use in your program. Though, one thing with classes is that it can also hold member functions (methods) which can be called with the instantiated object. To access the method we use the . […]
Week three and four – Classes, inheritance and polymorphism
During last week (week 3 in the course) we started using classes. Classes are something defined in C++ and are similar to structs, which are mainly used in C. As structs, a class is something that can hold a number of values and it can be instantiated for use in your program. Though, one thing with classes is that it can also hold member functions (methods) which can be called with the instantiated object. To access the method we use the . […]
Second week and Pointers!
This week we have gone through some new things that I have never actually done before. The main thing being pointers and memory allocation. Arrays and functions were also brought up, but I already knew the basics around these. Another thing that we learnt was type casting. I have always used the C way of casting, for example (float)variable, but the right way to do it in C++ is to type static_cast(variable); to cast the variable to a float value.
Memory allocation is something […]
Second week and Pointers!
This week we have gone through some new things that I have never actually done before. The main thing being pointers and memory allocation. Arrays and functions were also brought up, but I already knew the basics around these. Another thing that we learnt was type casting. I have always used the C way of casting, for example (float)variable, but the right way to do it in C++ is to type static_cast(variable); to cast the variable to a float value.
Memory allocation is something […]
Second week and Pointers!
This week we have gone through some new things that I have never actually done before. The main thing being pointers and memory allocation. Arrays and functions were also brought up, but I already knew the basics around these. Another thing that we learnt was type casting. I have always used the C way of casting, for example (float)variable, but the right way to do it in C++ is to type static_cast(variable); to cast the variable to a float value.
Memory allocation is something […]
Second week and Pointers!
This week we have gone through some new things that I have never actually done before. The main thing being pointers and memory allocation. Arrays and functions were also brought up, but I already knew the basics around these. Another thing that we learnt was type casting. I have always used the C way of casting, for example (float)variable, but the right way to do it in C++ is to type static_cast(variable); to cast the variable to a float value.
Memory allocation is something […]