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

/ Comments Off on Framgång med Space Invaders!
Program: 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

/ Comments Off on Framgång med Space Invaders!
Program: Programming

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 […]

/ Comments Off on Making Skelly Dungeon, a Zelda clone part 3
Program: Programming

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 […]

/ Comments Off on Making Skelly Dungeon, a Zelda clone part 3
Program: Programming

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 […]

/ Comments Off on Create a game: Week 2
Program: Programming

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 […]

/ Comments Off on Create a game: Week 2
Program: Programming

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 […]

/ Comments Off on Comunication
Program: Programming

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 […]

/ Comments Off on Comunication
Program: Programming

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!

/ Comments Off on Game Programming III – the seventh week, work on the third assignment
Program: Programming

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!

/ Comments Off on Game Programming III – the seventh week, work on the third assignment
Program: Programming

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!

/ Comments Off on Game Programming III – the seventh week, work on the third assignment
Program: Programming

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!

/ Comments Off on Game Programming III – the seventh week, work on the third assignment
Program: Programming

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 […]

/ Comments Off on Sjunde veckan
Program: Programming

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 […]

/ Comments Off on Sjunde veckan
Program: Programming

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 > […]

/ Comments Off on V.7
Program: Programming

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 > […]

/ Comments Off on V.7
Program: Programming

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 […]

/ Comments Off on Jolly Christmas Programming.
Program: Programming

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 […]

/ Comments Off on Jolly Christmas Programming.
Program: Programming

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 […]

/ Comments Off on All work and no progress. Situation looking pretty grim.
Program: Programming

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 […]

/ Comments Off on All work and no progress. Situation looking pretty grim.
Program: Programming

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 […]

/ Comments Off on Merry Christmas!
Program: Programming

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 […]

/ Comments Off on Merry Christmas!
Program: Programming

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 […]

/ Comments Off on Merry Christmas!
Program: Programming

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 […]

/ Comments Off on Merry Christmas!
Program: Programming