Merry Christmas!
The last week has for my part involved a lot of traveling and get-togethers with family, leaving my project a bit unattended. While I have worked on setting up a move function and prepare proper graphics, I’ve encountered a pretty major set-back in the shape of a memory leak.
While changing around to get the new sprite into the code, I somehow managed to break SDL_Texture, causing a break at any time when I try to run a debug. I have […]
Merry Christmas!
The last week has for my part involved a lot of traveling and get-togethers with family, leaving my project a bit unattended. While I have worked on setting up a move function and prepare proper graphics, I’ve encountered a pretty major set-back in the shape of a memory leak.
While changing around to get the new sprite into the code, I somehow managed to break SDL_Texture, causing a break at any time when I try to run a debug. I have […]
Merry Christmas!
The last week has for my part involved a lot of traveling and get-togethers with family, leaving my project a bit unattended. While I have worked on setting up a move function and prepare proper graphics, I’ve encountered a pretty major set-back in the shape of a memory leak.
While changing around to get the new sprite into the code, I somehow managed to break SDL_Texture, causing a break at any time when I try to run a debug. I have […]
Merry Christmas!
The last week has for my part involved a lot of traveling and get-togethers with family, leaving my project a bit unattended. While I have worked on setting up a move function and prepare proper graphics, I’ve encountered a pretty major set-back in the shape of a memory leak.
While changing around to get the new sprite into the code, I somehow managed to break SDL_Texture, causing a break at any time when I try to run a debug. I have […]
December 19 and 26
December 19
Late post, only explanation is that i simply forgot.
The project is going forward but slowly. I have my game window and my Player class but I have not yet created or rendered my sprite in the window.
December 26
The project is going a little bit better now and i have my Sprite rendered on the screen but it is only 16×15 pixles and that is way too small. I tried to make it bigger with a function but after some […]
December 19 and 26
December 19
Late post, only explanation is that i simply forgot.
The project is going forward but slowly. I have my game window and my Player class but I have not yet created or rendered my sprite in the window.
December 26
The project is going a little bit better now and i have my Sprite rendered on the screen but it is only 16×15 pixles and that is way too small. I tried to make it bigger with a function but after some […]
Programming III
I’ve been looking through your code for the menu state. You can see how this is created with the knowledge from previous courses. Really good to see that you have set up a simple collision system in a 2D space in order to simplify the creation process.
class Hitbox2D {
public:
Hitbox2D() {
m_x = 0;
m_y = 0;
m_w = 0;
m_h = 0;
}
Hitbox2D(float x, float y, float w, float h) {
m_x = x;
m_y = y;
m_w = w;
m_h = h;
};
And then later on tracking the mouse’s […]
Programming III
I’ve been looking through your code for the menu state. You can see how this is created with the knowledge from previous courses. Really good to see that you have set up a simple collision system in a 2D space in order to simplify the creation process.
class Hitbox2D {
public:
Hitbox2D() {
m_x = 0;
m_y = 0;
m_w = 0;
m_h = 0;
}
Hitbox2D(float x, float y, float w, float h) {
m_x = x;
m_y = y;
m_w = w;
m_h = h;
};
And then later on tracking the mouse’s […]
Programming III
I’ve been looking through your code for the menu state. You can see how this is created with the knowledge from previous courses. Really good to see that you have set up a simple collision system in a 2D space in order to simplify the creation process.
class Hitbox2D {
public:
Hitbox2D() {
m_x = 0;
m_y = 0;
m_w = 0;
m_h = 0;
}
Hitbox2D(float x, float y, float w, float h) {
m_x = x;
m_y = y;
m_w = w;
m_h = h;
};
And then later on tracking the mouse’s […]
Programming III
I’ve been looking through your code for the menu state. You can see how this is created with the knowledge from previous courses. Really good to see that you have set up a simple collision system in a 2D space in order to simplify the creation process.
class Hitbox2D {
public:
Hitbox2D() {
m_x = 0;
m_y = 0;
m_w = 0;
m_h = 0;
}
Hitbox2D(float x, float y, float w, float h) {
m_x = x;
m_y = y;
m_w = w;
m_h = h;
};
And then later on tracking the mouse’s […]
2D Graphics – Theory & Production
Since the beginning of November, I have participated in a course about 2D graphics. It has been very interesting and in some ways challenging as well. Getting back into the habit of sketching a little each day has been great, as well as the opportunity to do life drawing once a week.
During the first part of the course, we recieved two different game concepts from which we got to choose one, and then we were assigned to draw 20 different […]
2D Graphics – Theory & Production
Since the beginning of November, I have participated in a course about 2D graphics. It has been very interesting and in some ways challenging as well. Getting back into the habit of sketching a little each day has been great, as well as the opportunity to do life drawing once a week.
During the first part of the course, we recieved two different game concepts from which we got to choose one, and then we were assigned to draw 20 different […]
Week 6 in game programming (delayed blog post)
This week we went through how to add text into a game. This was done using SDL, and works similar to how you insert images in your code. We also went through advanced collision briefly, for example the different kinds of collision, and how to make circles collide and such. For some weeks now, I’ll be working on my Bomberman project together with Ludvig Storm, so far, we haven’t gotten very far. But we’re agreed on what needs to be […]
Week 6 in game programming (delayed blog post)
This week we went through how to add text into a game. This was done using SDL, and works similar to how you insert images in your code. We also went through advanced collision briefly, for example the different kinds of collision, and how to make circles collide and such. For some weeks now, I’ll be working on my Bomberman project together with Ludvig Storm, so far, we haven’t gotten very far. But we’re agreed on what needs to be […]
Week 6 in game programming (delayed blog post)
This week we went through how to add text into a game. This was done using SDL, and works similar to how you insert images in your code. We also went through advanced collision briefly, for example the different kinds of collision, and how to make circles collide and such. For some weeks now, I’ll be working on my Bomberman project together with Ludvig Storm, so far, we haven’t gotten very far. But we’re agreed on what needs to be […]
Week 6 in game programming (delayed blog post)
This week we went through how to add text into a game. This was done using SDL, and works similar to how you insert images in your code. We also went through advanced collision briefly, for example the different kinds of collision, and how to make circles collide and such. For some weeks now, I’ll be working on my Bomberman project together with Ludvig Storm, so far, we haven’t gotten very far. But we’re agreed on what needs to be […]
X-Mas Time? Art Time!
Christmas Break, and so much to do, even on Christmas Eve! Love it. To be this occupied with something I am especially passionate about is a great feeling. Drawing has always been a part of my life as you already know but never have I been this active in digital drawing before. To be “forced” to draw on order (for assignments in school) was a fact I was abit scared I would not be able to keep.
Most of these half […]
X-Mas Time? Art Time!
Christmas Break, and so much to do, even on Christmas Eve! Love it. To be this occupied with something I am especially passionate about is a great feeling. Drawing has always been a part of my life as you already know but never have I been this active in digital drawing before. To be “forced” to draw on order (for assignments in school) was a fact I was abit scared I would not be able to keep.
Most of these half […]
18.12.14
Idag fick jag hjälp utav Jerry att skriva den koden som gör att jag kan använda tangentbordet för att förflytta mitt egna skepp som spelare.
18.12.14
Idag fick jag hjälp utav Jerry att skriva den koden som gör att jag kan använda tangentbordet för att förflytta mitt egna skepp som spelare.
17.12.14
Idag har jag börjat med att göra en lista över allting som behövs finnas i min Space Invader för att verkligen få med allting och se till att uppfylla de kraven som behövs på denna uppgift. Jag har använt bland annat denna video som referens över vad jag behöver göra.
Förutom det har jag börjat jobba mer i mallen och skriva in, idag blev jag klar med att anpassa skärmen till en storlek som jag finner passande. Jag har också skapat […]
17.12.14
Idag har jag börjat med att göra en lista över allting som behövs finnas i min Space Invader för att verkligen få med allting och se till att uppfylla de kraven som behövs på denna uppgift. Jag har använt bland annat denna video som referens över vad jag behöver göra.
Förutom det har jag börjat jobba mer i mallen och skriva in, idag blev jag klar med att anpassa skärmen till en storlek som jag finner passande. Jag har också skapat […]
Frogger project going forward
Of course I forgot to update when I meant to. The project is going forward. We now have correct background colors and the purple sidewalks are in place. Since we have a sprite sheet, we figured the easiest way to draw the sidewalks was to make a class for the sidewalk tile, and make several instances of that class. The frog can be moved using the arrow keys, but there is no animation. We decided to postpone implementation of all […]
Frogger project going forward
Of course I forgot to update when I meant to. The project is going forward. We now have correct background colors and the purple sidewalks are in place. Since we have a sprite sheet, we figured the easiest way to draw the sidewalks was to make a class for the sidewalk tile, and make several instances of that class. The frog can be moved using the arrow keys, but there is no animation. We decided to postpone implementation of all […]