Browsing 'Programming': Posts from Game Design and Programming
Framgång med Space Invaders!
Efter julens glada tid kommer vi återigen till programmeringen, yay.Min senaste uppgift var att försöka få alla fiender att uppstå på vänstra sidan av fönstret och de ska vara i ordning. I Arkanoidkoden (som vi skrev i skolan) finns det en array med … – Läs hela inlägget här
Framgång med Space Invaders!
Efter julens glada tid kommer vi återigen till programmeringen, yay.Min senaste uppgift var att försöka få alla fiender att uppstå på vänstra sidan av fönstret och de ska vara i ordning. I Arkanoidkoden (som vi skrev i skolan) finns det en array med … – Läs hela inlägget här

Making Skelly Dungeon, a Zelda clone part 3
It’s been a slow week since it’s been Christmas and all. Last week I finished movement and for the player and this week I’ve gotten around doing the Rooms. I ran into some problems concerning collision with walls which I’ll sort out later and the next step is managing more rooms as well as switching rooms.
The rooms are now defined and usable! In a text file you write down the name of the room, width, height […]

Making Skelly Dungeon, a Zelda clone part 3
It’s been a slow week since it’s been Christmas and all. Last week I finished movement and for the player and this week I’ve gotten around doing the Rooms. I ran into some problems concerning collision with walls which I’ll sort out later and the next step is managing more rooms as well as switching rooms.
The rooms are now defined and usable! In a text file you write down the name of the room, width, height […]

Create a game: Week 2
Hello,
As I have started to write Frogger I have had a few problems that I have been able to solve with help from classmates and teachers. This is how far I have come so far:
As you can see I have been able to insert the title, the background and the frog. This took a few hours, but after help from teachers and classmates it was easy. Easier than I thought.
My latest and hardest problem, which have made me doubt […]

Create a game: Week 2
Hello,
As I have started to write Frogger I have had a few problems that I have been able to solve with help from classmates and teachers. This is how far I have come so far:
As you can see I have been able to insert the title, the background and the frog. This took a few hours, but after help from teachers and classmates it was easy. Easier than I thought.
My latest and hardest problem, which have made me doubt […]
Comunication
Had a better day today, I made the group all partake in a call to coordinate our efforts and do proper work.
Our main issue we were having was how our SourceTree repository wasn’t working and because of that we had no way of synchronizing our work.
What we ended up doing was to create a brand new repository in which we uploaded and synchronized out individual projects. During the downtime between making SourceTree work i made a start for a track […]
Comunication
Had a better day today, I made the group all partake in a call to coordinate our efforts and do proper work.
Our main issue we were having was how our SourceTree repository wasn’t working and because of that we had no way of synchronizing our work.
What we ended up doing was to create a brand new repository in which we uploaded and synchronized out individual projects. During the downtime between making SourceTree work i made a start for a track […]
Game Programming III – the seventh week, work on the third assignment
Hello!
I’ve taken this week off since it’s christmas and I need to take a break. I’ll continue work next week.
Cheers!
Game Programming III – the seventh week, work on the third assignment
Hello!
I’ve taken this week off since it’s christmas and I need to take a break. I’ll continue work next week.
Cheers!
Game Programming III – the seventh week, work on the third assignment
Hello!
I’ve taken this week off since it’s christmas and I need to take a break. I’ll continue work next week.
Cheers!
Game Programming III – the seventh week, work on the third assignment
Hello!
I’ve taken this week off since it’s christmas and I need to take a break. I’ll continue work next week.
Cheers!
Sjunde veckan
Under denna vecka har det varit mycket jul stök och andra händelser som tagit upp tid
Det har självklart varit tidigt men eget arbete har blivit fokus under veckan.
Under veckan har jag arbetat med Sprite och SpriteManager samt en enkel variant av gamestate som test grund.
Eftersom det har varit stökigt so har fokus varit att lära sig mer hur ett spel ska struktureras samt hur SDL fungerar lite djupare på sprite ritningar.
Nu framöver blir det mer intensivt grupparbete när vi gör […]
Sjunde veckan
Under denna vecka har det varit mycket jul stök och andra händelser som tagit upp tid
Det har självklart varit tidigt men eget arbete har blivit fokus under veckan.
Under veckan har jag arbetat med Sprite och SpriteManager samt en enkel variant av gamestate som test grund.
Eftersom det har varit stökigt so har fokus varit att lära sig mer hur ett spel ska struktureras samt hur SDL fungerar lite djupare på sprite ritningar.
Nu framöver blir det mer intensivt grupparbete när vi gör […]

V.7
Arbetet går ganska segt framåt pga jul och släkt men lite framåt går det.
Jag har fått ut en gubbe jag kan gå runt med i första staden men har bara hunnit sätta kollision på vattnet och inte huset/staketen. Har även försökt få gubben att vrida sig men lyckas inte få till att den ska byta sprite när man går åt ett annat håll. Ett exempel på vad jag har gjort:
/////////
else if (m_keyboard->IsKeyDown(1))
{
m_y += speed;
if (m_y > 325)
{
m_y = 325;
}
if (m_x > […]

V.7
Arbetet går ganska segt framåt pga jul och släkt men lite framåt går det.
Jag har fått ut en gubbe jag kan gå runt med i första staden men har bara hunnit sätta kollision på vattnet och inte huset/staketen. Har även försökt få gubben att vrida sig men lyckas inte få till att den ska byta sprite när man går åt ett annat håll. Ett exempel på vad jag har gjort:
/////////
else if (m_keyboard->IsKeyDown(1))
{
m_y += speed;
if (m_y > 325)
{
m_y = 325;
}
if (m_x > […]

Jolly Christmas Programming.
Merry Christmas!
So when others are drinking egg nod and the Swedish Christmas specialties ”glögg” and ”julmust” during a quite relaxing weekend i am stuck with my groups Pokémon project. So far we have managed to print a background image with a movable character on it with some collision covering the edges, so our character do not runt outside the screen. Our main concern at the moment is adding additional blocks restricting the movement on the map along with creating a state […]

Jolly Christmas Programming.
Merry Christmas!
So when others are drinking egg nod and the Swedish Christmas specialties ”glögg” and ”julmust” during a quite relaxing weekend i am stuck with my groups Pokémon project. So far we have managed to print a background image with a movable character on it with some collision covering the edges, so our character do not runt outside the screen. Our main concern at the moment is adding additional blocks restricting the movement on the map along with creating a state […]
All work and no progress. Situation looking pretty grim.
Worked for a good five hours today without being able to hail the two other in the group.
The main issue was that the program would not compile due to an error in the initialization of the player class where i had put the variable types in front of the names of the variables as if trying to create new instances of them rather than set them to specific values.
The rest of the day was spent not understanding how the Helium […]
All work and no progress. Situation looking pretty grim.
Worked for a good five hours today without being able to hail the two other in the group.
The main issue was that the program would not compile due to an error in the initialization of the player class where i had put the variable types in front of the names of the variables as if trying to create new instances of them rather than set them to specific values.
The rest of the day was spent not understanding how the Helium […]
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 […]