Browsing 'Programming': Posts from Game Design and Programming
Game Development- Introduction. Blog Post – 2
Last week i started to work with the enemy – movement pattern, but i had some work left to do, so i continued to work with it this week too. I have also started to implement a AudioManager because that’s something we need, at least when we have to use multiple audio files. Right now we are only using one musicfile/music clip and everything invoving the music is defined in Engine.h and Engin.cpp. But that’s are going to change when I’m […]
Game Development- Introduction. Blog Post – 2
Last week i started to work with the enemy – movement pattern, but i had some work left to do, so i continued to work with it this week too. I have also started to implement a AudioManager because that’s something we need, at least when we have to use multiple audio files. Right now we are only using one musicfile/music clip and everything invoving the music is defined in Engine.h and Engin.cpp. But that’s are going to change when I’m […]
2014-02-20 Second Artifact
Hello world!
These last days I’ve been working on creating enemies with movement patterns into the game. So far they have sprites and movement patterns in relationship to the player each one with similar codes except from the specific numbers which will be adjusted later in the main project (the actual game project).
This is what my code looks like “in-game” with the enemies standing on different range depending on what kind they are.
What function would the enemies contribute with to […]
2014-02-20 Second Artifact
Hello world!
These last days I’ve been working on creating enemies with movement patterns into the game. So far they have sprites and movement patterns in relationship to the player each one with similar codes except from the specific numbers which will be adjusted later in the main project (the actual game project).
This is what my code looks like “in-game” with the enemies standing on different range depending on what kind they are.
What function would the enemies contribute with to […]
Haunted Light – Base code for Enemies
Hello. Today I’ll be talking about the base for our enemy objects, how it works and how it’s different from the normal GameObject and also why that is. Both of the classes, EnemyObject and EnemyObjectManager, are heavily based on the already existing files PlayerObject, GameObject and GameObjectManager, with EnemyObject being a combination of GameObject and PlayerObject. The key differences are that the Enemy-ones doesn’t have keyboard and mouse as inputs, since you don’t control your enemies, and that EnemyObject doesn’t […]
Haunted Light – Base code for Enemies
Hello. Today I’ll be talking about the base for our enemy objects, how it works and how it’s different from the normal GameObject and also why that is. Both of the classes, EnemyObject and EnemyObjectManager, are heavily based on the already existing files PlayerObject, GameObject and GameObjectManager, with EnemyObject being a combination of GameObject and PlayerObject. The key differences are that the Enemy-ones doesn’t have keyboard and mouse as inputs, since you don’t control your enemies, and that EnemyObject doesn’t […]
Artifact : Button
The artifact of the week is the Button!
What is the Button ?
The button consists of three stages. Being there, being hovered and being selected as shown below. It has a sprite sheet of three sprites.
The button as it is in its original stage, nothing special it is just there and waiting for some action.
The button being hovered, now things will start to happen, upon mouse entering the sprite of the button the sprite will change into the second […]
Artifact : Button
The artifact of the week is the Button!
What is the Button ?
The button consists of three stages. Being there, being hovered and being selected as shown below. It has a sprite sheet of three sprites.
The button as it is in its original stage, nothing special it is just there and waiting for some action.
The button being hovered, now things will start to happen, upon mouse entering the sprite of the button the sprite will change into the second […]
Blogg of the week: Alpha
Hello, this week hasn’t been that successful so I do not have a finished artifact to write about. So I figured that I would write about what I have been doing instead.
I have been working with Box2D, which is a physics engine that we use for collision. Last week I worked with getting collision to work. Collision is working by itself Box2D so it is more about being able to use it, and getting used to the structure. It probably […]
Blogg of the week: Alpha
Hello, this week hasn’t been that successful so I do not have a finished artifact to write about. So I figured that I would write about what I have been doing instead.
I have been working with Box2D, which is a physics engine that we use for collision. Last week I worked with getting collision to work. Collision is working by itself Box2D so it is more about being able to use it, and getting used to the structure. It probably […]
ARTIFACT BLOG #2 Alpha time!
Hi.
This week has been rather stressful. During our project we’ve had a lot of problems syncing our projects, meaning we’ve been sitting with maybe 3 different projects that all needed to merge together. This week all of us have worked mostly with trying to do just that.
We had one project with most of our game mechanic, that later got the collision from another project (by project I mean solution files), and then we had a third project with most of […]
ARTIFACT BLOG #2 Alpha time!
Hi.
This week has been rather stressful. During our project we’ve had a lot of problems syncing our projects, meaning we’ve been sitting with maybe 3 different projects that all needed to merge together. This week all of us have worked mostly with trying to do just that.
We had one project with most of our game mechanic, that later got the collision from another project (by project I mean solution files), and then we had a third project with most of […]
ARTIFACT BLOG #2 Alpha time!
Hi.
This week has been rather stressful. During our project we’ve had a lot of problems syncing our projects, meaning we’ve been sitting with maybe 3 different projects that all needed to merge together. This week all of us have worked mostly with trying to do just that.
We had one project with most of our game mechanic, that later got the collision from another project (by project I mean solution files), and then we had a third project with most of […]
ARTIFACT BLOG #2 Alpha time!
Hi.
This week has been rather stressful. During our project we’ve had a lot of problems syncing our projects, meaning we’ve been sitting with maybe 3 different projects that all needed to merge together. This week all of us have worked mostly with trying to do just that.
We had one project with most of our game mechanic, that later got the collision from another project (by project I mean solution files), and then we had a third project with most of […]
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 […]
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 […]
Playground Panic #2 – Viewports
One of the things that makes our game unique is how you need to find and clean a kid before their parent(s) come to pick their kid up. This creates a tension that simply running around to clean the kids wouldn’t achieve, but it also required a large map and the ability to move around in it.
During the development-process so far we have only had a single-colored background. With a background added in, the game took a big visual step […]
Playground Panic #2 – Viewports
One of the things that makes our game unique is how you need to find and clean a kid before their parent(s) come to pick their kid up. This creates a tension that simply running around to clean the kids wouldn’t achieve, but it also required a large map and the ability to move around in it.
During the development-process so far we have only had a single-colored background. With a background added in, the game took a big visual step […]
The timing is right!
Well this week started off pretty badly with me feeling like I’ve got a flu. It turned out to be a little bit worse when I went to the doctor and now I have to pop pills that make me sleepy and stay away from people so I don’t spread the illness.This couldn’t have come at a worse time either right before the alpha for the game is supposed to be done.Needless to say I’ve not got much work done […]
The timing is right!
Well this week started off pretty badly with me feeling like I’ve got a flu. It turned out to be a little bit worse when I went to the doctor and now I have to pop pills that make me sleepy and stay away from people so I don’t spread the illness.This couldn’t have come at a worse time either right before the alpha for the game is supposed to be done.Needless to say I’ve not got much work done […]
The timing is right!
Well this week started off pretty badly with me feeling like I’ve got a flu. It turned out to be a little bit worse when I went to the doctor and now I have to pop pills that make me sleepy and stay away from people so I don’t spread the illness.This couldn’t have come at a worse time either right before the alpha for the game is supposed to be done.Needless to say I’ve not got much work done […]
The timing is right!
Well this week started off pretty badly with me feeling like I’ve got a flu. It turned out to be a little bit worse when I went to the doctor and now I have to pop pills that make me sleepy and stay away from people so I don’t spread the illness.This couldn’t have come at a worse time either right before the alpha for the game is supposed to be done.Needless to say I’ve not got much work done […]