Browsing '5SD033': Introduction to Game Development

Project “Bloody Badgers” 2014-02-20 Running Animation

Time really does fly by. It’s Thursday once again, and Thursdays means new blog post. Since I’ve been having trouble with scheduling all my schoolwork this week there won’t be a whole lot of content for me to blog about. I did finish some, which I will talk about now, but sadly not as much as I had planned during this sprint. I will have to continue working with that during the rest of the week instead.
Amongst the things I had […]

/ Comments Off on Project “Bloody Badgers” 2014-02-20 Running Animation
Program: Graphics

Project “Bloody Badgers” 2014-02-20 Running Animation

Time really does fly by. It’s Thursday once again, and Thursdays means new blog post. Since I’ve been having trouble with scheduling all my schoolwork this week there won’t be a whole lot of content for me to blog about. I did finish some, which I will talk about now, but sadly not as much as I had planned during this sprint. I will have to continue working with that during the rest of the week instead.
Amongst the things I had […]

/ Comments Off on Project “Bloody Badgers” 2014-02-20 Running Animation
Program: Graphics

Animation

“Animation, switching between pictures in a spritesheet, should not be that hard.”
A simple statement, however when I started working on our AnimationManager I realised just how wrong it was. At least in my case, where I tried to create an “Animation” class and then a “AnimationManager” to hold all the different Animations.
My original thought was that in the AnimationManager, there would be a vector with all the different animations, and that all entities would then have their own little map […]

/ Comments Off on Animation
Program: Programming

Animation

“Animation, switching between pictures in a spritesheet, should not be that hard.”
A simple statement, however when I started working on our AnimationManager I realised just how wrong it was. At least in my case, where I tried to create an “Animation” class and then a “AnimationManager” to hold all the different Animations.
My original thought was that in the AnimationManager, there would be a vector with all the different animations, and that all entities would then have their own little map […]

/ Comments Off on Animation
Program: Programming

Game Development and Coding 20 Feb 2014 – Player Sprite Animation

Courtesy of Nils Wennergren
Animated Sprites with C++ and SFML.
It’s always helpful to see a representation of your avatar on the screen in the form of a sprite. But just having a sprite on the players location is not always enough. You’ll probably want it to be animated in some way. It seems a bit more alive then. This of course applies to a lot more objects in the game than just the player, though maybe not every single […]

/ Comments Off on Game Development and Coding 20 Feb 2014 – Player Sprite Animation
Program: Programming

Game Development and Coding 20 Feb 2014 – Player Sprite Animation

Courtesy of Nils Wennergren
Animated Sprites with C++ and SFML.
It’s always helpful to see a representation of your avatar on the screen in the form of a sprite. But just having a sprite on the players location is not always enough. You’ll probably want it to be animated in some way. It seems a bit more alive then. This of course applies to a lot more objects in the game than just the player, though maybe not every single […]

/ Comments Off on Game Development and Coding 20 Feb 2014 – Player Sprite Animation
Program: Programming

Overheat och enemies.

Den här veckan har jag suttit och pysslat med en hel del olika saker, bland annat med ett vapen heat system som håller koll på om vapnet kan skjutas eller om det behöver kylas ned. Det hela har en mängd små delar som var och en utgör en viktig del för att överhettningen ska fungera som den borde. Dels har vi variablerna som vårat player object håller koll på så som maximala mängden värme som vapnet kan klara av, mängden […]

/ Comments Off on Overheat och enemies.
Program: Programming

Overheat och enemies.

Den här veckan har jag suttit och pysslat med en hel del olika saker, bland annat med ett vapen heat system som håller koll på om vapnet kan skjutas eller om det behöver kylas ned. Det hela har en mängd små delar som var och en utgör en viktig del för att överhettningen ska fungera som den borde. Dels har vi variablerna som vårat player object håller koll på så som maximala mängden värme som vapnet kan klara av, mängden […]

/ Comments Off on Overheat och enemies.
Program: Programming

Level Design

This Week
As I mentioned last week, we’ve got ourselves a map editor called Tiled Map Editor. (Tiled Map Editor). The editor allows us to specify areas where the player should be colliding, where light is supposed to bounce on, and since we’re going with a isometric perspective, we’ve also worked in a “Layer” (think Photoshop) so that the player can be present UNDER a wall or a pillar.

Tiled Map Editor (see above for link). This is the main-hall […]

/ Comments Off on Level Design
Program: Programming

Level Design

This Week
As I mentioned last week, we’ve got ourselves a map editor called Tiled Map Editor. (Tiled Map Editor). The editor allows us to specify areas where the player should be colliding, where light is supposed to bounce on, and since we’re going with a isometric perspective, we’ve also worked in a “Layer” (think Photoshop) so that the player can be present UNDER a wall or a pillar.

Tiled Map Editor (see above for link). This is the main-hall […]

/ Comments Off on Level Design
Program: Programming

Fighting the Frame Limit

Hello again, it’s the second blogging week.
Last week I talked about creating the death animation of our player’s first stage of growth from the ground up. I also went through a couple of animation principles and how I utilize them in my work process.
This week I’ve been working on the animations for our player’s second stage of growth, and work has not gone as smoothly as it did for the first stage because of a dreaded addition to the […]

/ Comments Off on Fighting the Frame Limit
Program: Graphics

Fighting the Frame Limit

Hello again, it’s the second blogging week.
Last week I talked about creating the death animation of our player’s first stage of growth from the ground up. I also went through a couple of animation principles and how I utilize them in my work process.
This week I’ve been working on the animations for our player’s second stage of growth, and work has not gone as smoothly as it did for the first stage because of a dreaded addition to the […]

/ Comments Off on Fighting the Frame Limit
Program: Graphics

Game dev, Suit’em up – SpriteManager with animated sprites

We created an early SpriteManager in the start of the project but it couldn’t load animated sprites or load sprites from a part in a spritesheet. I have now added this functionality.
I started with creating a wrapper around sf::Sprite and I have created the AnimatedSprite class. I’m not really that proud of the wrapper since I put a lot of virtual functions in there that are only used by AnimatedSprite.


After adding the sprite types I added methods in […]

/ Comments Off on Game dev, Suit’em up – SpriteManager with animated sprites
Program: Programming

Game dev, Suit’em up – SpriteManager with animated sprites

We created an early SpriteManager in the start of the project but it couldn’t load animated sprites or load sprites from a part in a spritesheet. I have now added this functionality.
I started with creating a wrapper around sf::Sprite and I have created the AnimatedSprite class. I’m not really that proud of the wrapper since I put a lot of virtual functions in there that are only used by AnimatedSprite.


After adding the sprite types I added methods in […]

/ Comments Off on Game dev, Suit’em up – SpriteManager with animated sprites
Program: Programming

Artifact post 2: CollisionManager

This week i have added a collision manager class to the game, it has been the largest artifact I’ve done and is therefore the subject of this week’s Artifact post.
This Collision manager alters slightly from the original one which had to be replaced as the implementation and function was changed after Oliver’s advice. The original manager (mentioned in the previous post) was to be used in the Level.update method and handled not only the detection of collisions but also the […]

/ Comments Off on Artifact post 2: CollisionManager
Program: Programming

Artifact post 2: CollisionManager

This week i have added a collision manager class to the game, it has been the largest artifact I’ve done and is therefore the subject of this week’s Artifact post.
This Collision manager alters slightly from the original one which had to be replaced as the implementation and function was changed after Oliver’s advice. The original manager (mentioned in the previous post) was to be used in the Level.update method and handled not only the detection of collisions but also the […]

/ Comments Off on Artifact post 2: CollisionManager
Program: Programming

2nd blog post of 10 Week Project – Implementing Lost Souls

In case you are interested in all updates of Group 12′s game, here are my group members’ blogs:
André, Evelina, Christoffer, MarcusAlex
____________________________________________________________________________________
This week I have been working on implementing the lost souls in the game amongst other things.
To implement the lost souls I used one of my fellow programmer’s codes as guidance to create the new entity for the game. Firstly, I added the entity’s name […]

/ Comments Off on 2nd blog post of 10 Week Project – Implementing Lost Souls
Program: Programming

2nd blog post of 10 Week Project – Implementing Lost Souls

In case you are interested in all updates of Group 12′s game, here are my group members’ blogs:
André, Evelina, Christoffer, MarcusAlex
____________________________________________________________________________________
This week I have been working on implementing the lost souls in the game amongst other things.
To implement the lost souls I used one of my fellow programmer’s codes as guidance to create the new entity for the game. Firstly, I added the entity’s name […]

/ Comments Off on 2nd blog post of 10 Week Project – Implementing Lost Souls
Program: Programming

Bathroom Sprites


 
Right! So this week I started working on some environmental sprites. What we have to the left is a urinal, in the middle there’s a sink and to the right is a toilet. The reason why I needed to start working on bathroom sprites was because the area where the player is supposed to start in, happens to be a bathroom.  This bathroom is going to act as the introduction to the game for the player […]

/ Comments Off on Bathroom Sprites
Program: Graphics

Bathroom Sprites


 
Right! So this week I started working on some environmental sprites. What we have to the left is a urinal, in the middle there’s a sink and to the right is a toilet. The reason why I needed to start working on bathroom sprites was because the area where the player is supposed to start in, happens to be a bathroom.  This bathroom is going to act as the introduction to the game for the player […]

/ Comments Off on Bathroom Sprites
Program: Graphics

AI for Enemies

So the other week I wrote about pathfinding. After a consultation with our mentor we decided to add some other ai first and if we have the time, implement pathfinding later.

So this week I have been writing code for the enemies’ ai-states. Our two different enemies will have different states when I’m done, but for now they will have the same just so we have something for the alpha. The one to the left is the ranged enemy and […]

/ Comments Off on AI for Enemies
Program: Programming

AI for Enemies

So the other week I wrote about pathfinding. After a consultation with our mentor we decided to add some other ai first and if we have the time, implement pathfinding later.

So this week I have been writing code for the enemies’ ai-states. Our two different enemies will have different states when I’m done, but for now they will have the same just so we have something for the alpha. The one to the left is the ranged enemy and […]

/ Comments Off on AI for Enemies
Program: Programming

Project Haunted Light 14-02-20

Another week has passed, and it feels like the time is flying by. Our group have been working dedicatedly for the presentation tomorrow. It feels like it was just yesterday that we sat down and looked through the design documents for Bloody Badgers, realizing that we had a lot of tweaking to do. This week I’m focusing on animating the smaller critters that are to roam the corridors of the basement. The critters don’t hurt the player, but will slow […]

/ Comments Off on Project Haunted Light 14-02-20
Program: Graphics

Project Haunted Light 14-02-20

Another week has passed, and it feels like the time is flying by. Our group have been working dedicatedly for the presentation tomorrow. It feels like it was just yesterday that we sat down and looked through the design documents for Bloody Badgers, realizing that we had a lot of tweaking to do. This week I’m focusing on animating the smaller critters that are to roam the corridors of the basement. The critters don’t hurt the player, but will slow […]

/ Comments Off on Project Haunted Light 14-02-20
Program: Graphics