Browsing '2014 ': Students starting in 2014

Beginning of Space Invaders Clone

I have started with the final project during this course. The assignment is to make a clone of an existing game like Tetris or Pacman in c++ using the SDL library. I work together with another person in my class, and we choose creating a Space invaders clone as our project. We choose this game because it seemed to fit our level of skill in programming, we both have limited experience and Space Invaders seemed to be less complex compared […]

/ Comments Off on Beginning of Space Invaders Clone
Program: Programming

Beginning of Space Invaders Clone

I have started with the final project during this course. The assignment is to make a clone of an existing game like Tetris or Pacman in c++ using the SDL library. I work together with another person in my class, and we choose creating a Space invaders clone as our project. We choose this game because it seemed to fit our level of skill in programming, we both have limited experience and Space Invaders seemed to be less complex compared […]

/ Comments Off on Beginning of Space Invaders Clone
Program: Programming

Beginning of Space Invaders Clone

I have started with the final project during this course. The assignment is to make a clone of an existing game like Tetris or Pacman in c++ using the SDL library. I work together with another person in my class, and we choose creating a Space invaders clone as our project. We choose this game because it seemed to fit our level of skill in programming, we both have limited experience and Space Invaders seemed to be less complex compared […]

/ Comments Off on Beginning of Space Invaders Clone
Program: Programming

Beginning of Space Invaders Clone

I have started with the final project during this course. The assignment is to make a clone of an existing game like Tetris or Pacman in c++ using the SDL library. I work together with another person in my class, and we choose creating a Space invaders clone as our project. We choose this game because it seemed to fit our level of skill in programming, we both have limited experience and Space Invaders seemed to be less complex compared […]

/ Comments Off on Beginning of Space Invaders Clone
Program: Programming

Mario Clone Update

This update will show how far I have come in my mario clone. Currently I only have a mario character that can move left and right and jump. If he falls off he resets at the starting position.

This image shows how the game looks so far, as you can see its pretty empty and I still haven’t fixed sdl_image so my sprites aren’t transparent. There are also no animations yet. The jump feels floaty which is a thing that I […]

/ Comments Off on Mario Clone Update
Program: Programming

Mario Clone Update

This update will show how far I have come in my mario clone. Currently I only have a mario character that can move left and right and jump. If he falls off he resets at the starting position.

This image shows how the game looks so far, as you can see its pretty empty and I still haven’t fixed sdl_image so my sprites aren’t transparent. There are also no animations yet. The jump feels floaty which is a thing that I […]

/ Comments Off on Mario Clone Update
Program: Programming

Mario Clone Update

This update will show how far I have come in my mario clone. Currently I only have a mario character that can move left and right and jump. If he falls off he resets at the starting position.

This image shows how the game looks so far, as you can see its pretty empty and I still haven’t fixed sdl_image so my sprites aren’t transparent. There are also no animations yet. The jump feels floaty which is a thing that I […]

/ Comments Off on Mario Clone Update
Program: Programming

Mario Clone Update

This update will show how far I have come in my mario clone. Currently I only have a mario character that can move left and right and jump. If he falls off he resets at the starting position.

This image shows how the game looks so far, as you can see its pretty empty and I still haven’t fixed sdl_image so my sprites aren’t transparent. There are also no animations yet. The jump feels floaty which is a thing that I […]

/ Comments Off on Mario Clone Update
Program: Programming

Practice Values

First time for me working with values.
Did this in 10 mins approximately.

/ Comments Off on Practice Values
Program: Graphics

Practice Values

First time for me working with values.
Did this in 10 mins approximately.

/ Comments Off on Practice Values
Program: Graphics

Practice Values

First time for me working with values.
Did this in 10 mins approximately.

/ Comments Off on Practice Values
Program: Graphics

Practice Values

First time for me working with values.
Did this in 10 mins approximately.

/ Comments Off on Practice Values
Program: Graphics

28.12.14

Det går inte precis snabbt fram det här arbetet, speciellt inte nu när det har varit jul och jag har inte haft tid att sitta och plugga då jag har umgåtts med familjen. Men idag fokuserade jag på sprites.

Så nu har jag en sprite som rör sig från mitten och mot höger, ska fortsätta så jag får den att röra sig i det mönstret som de gör i orginalet innan jag lägger till resten.

/ Comments Off on 28.12.14
Program: Programming

28.12.14

Det går inte precis snabbt fram det här arbetet, speciellt inte nu när det har varit jul och jag har inte haft tid att sitta och plugga då jag har umgåtts med familjen. Men idag fokuserade jag på sprites.

Så nu har jag en sprite som rör sig från mitten och mot höger, ska fortsätta så jag får den att röra sig i det mönstret som de gör i orginalet innan jag lägger till resten.

/ Comments Off on 28.12.14
Program: Programming

Programming: several C++ container classes

In our live Arkanoid coding sessions, we used several standard C++ container classes. I am going to describe them in this post.
std::pair
An array contains multiple elements of the same type. Sometimes, however, it is useful to hold two objects (possibly of different types) as a single entity. For this purpose, we use the std::pair container.
Below is a table with basic personal data:

Id
Name

100
John

It is natural to group Id and Name and refer to them as a single object within the […]

/ Comments Off on Programming: several C++ container classes
Program: Programming

Programming: several C++ container classes

In our live Arkanoid coding sessions, we used several standard C++ container classes. I am going to describe them in this post.
std::pair
An array contains multiple elements of the same type. Sometimes, however, it is useful to hold two objects (possibly of different types) as a single entity. For this purpose, we use the std::pair container.
Below is a table with basic personal data:

Id
Name

100
John

It is natural to group Id and Name and refer to them as a single object within the […]

/ Comments Off on Programming: several C++ container classes
Program: Programming

GameProgramming 1 – Week 6

More advanced collision and animations. The rest used to really get started with the project work.
Animations was basic, well I say basic but everything we learn right now is technically basic but from our perspective it is not, it was about loading the duration, position and size of each picture from a text file and then letting the program show them. You have a sprite sheet that shows a figure and then you figure out the position and size of […]

/ Comments Off on GameProgramming 1 – Week 6
Program: Programming

GameProgramming 1 – Week 6

More advanced collision and animations. The rest used to really get started with the project work.
Animations was basic, well I say basic but everything we learn right now is technically basic but from our perspective it is not, it was about loading the duration, position and size of each picture from a text file and then letting the program show them. You have a sprite sheet that shows a figure and then you figure out the position and size of […]

/ Comments Off on GameProgramming 1 – Week 6
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

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