Daily Archives: January 4, 2015

v.8

Denna vecka har jag jobbat lite mer med kollision. Jag försökte få till att när gubbe går in i en boll så ska bollen försvinna och att dom som är kvar inte längre har någon kollision, alltså att dom blir vanliga sprites igen. Det gick ingen vidare.
Jag försökte även göra rätt men som man kan se på bilden så var inte det så enkelt. Gubben är för liten och pokemonbollarna för stora.
Jag ska försöka fixa det så att jag kan […]

/ Comments Off on v.8
Program: Programming

v.8

Denna vecka har jag jobbat lite mer med kollision. Jag försökte få till att när gubbe går in i en boll så ska bollen försvinna och att dom som är kvar inte längre har någon kollision, alltså att dom blir vanliga sprites igen. Det gick ingen vidare.
Jag försökte även göra rätt men som man kan se på bilden så var inte det så enkelt. Gubben är för liten och pokemonbollarna för stora.
Jag ska försöka fixa det så att jag kan […]

/ Comments Off on v.8
Program: Programming

Programming: SDL2 Native Functions

We’re using SDL 2 library to create our first games. This library allows low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D.
In our first working game, Arkanoid, we used about 20 SDL2’s functions. I’m going to describe them in this post.
SDL_Init() and SDL_Quit()
SDL_Init(flags)
The two functions initialize and quit the SDL system, respectively. You have to initialize SDL to be able to make use of functions provided by the SDL or to quit it to […]

/ Comments Off on Programming: SDL2 Native Functions
Program: Programming

Programming: SDL2 Native Functions

We’re using SDL 2 library to create our first games. This library allows low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D.
In our first working game, Arkanoid, we used about 20 SDL2’s functions. I’m going to describe them in this post.
SDL_Init() and SDL_Quit()
SDL_Init(flags)
The two functions initialize and quit the SDL system, respectively. You have to initialize SDL to be able to make use of functions provided by the SDL or to quit it to […]

/ Comments Off on Programming: SDL2 Native Functions
Program: Programming

Week 6 : Boomberman Game

This week we started working on the Map in the game, we made a new Class for SolidBlock. We decided to make the map from a .txt file so we could change the map how we wanted to.
We had loads of problem with getting the code to read from our text file. But then we got it to work by starting over again and review the code from the txt reader lesson.
We finally had our map printed out and when […]

/ Comments Off on Week 6 : Boomberman Game
Program: Programming

Week 6 : Boomberman Game

This week we started working on the Map in the game, we made a new Class for SolidBlock. We decided to make the map from a .txt file so we could change the map how we wanted to.
We had loads of problem with getting the code to read from our text file. But then we got it to work by starting over again and review the code from the txt reader lesson.
We finally had our map printed out and when […]

/ Comments Off on Week 6 : Boomberman Game
Program: Programming

Week 6 : Boomberman Game

This week we started working on the Map in the game, we made a new Class for SolidBlock. We decided to make the map from a .txt file so we could change the map how we wanted to.
We had loads of problem with getting the code to read from our text file. But then we got it to work by starting over again and review the code from the txt reader lesson.
We finally had our map printed out and when […]

/ Comments Off on Week 6 : Boomberman Game
Program: Programming

Week 6 : Boomberman Game

This week we started working on the Map in the game, we made a new Class for SolidBlock. We decided to make the map from a .txt file so we could change the map how we wanted to.
We had loads of problem with getting the code to read from our text file. But then we got it to work by starting over again and review the code from the txt reader lesson.
We finally had our map printed out and when […]

/ Comments Off on Week 6 : Boomberman Game
Program: Programming

Game programming III – the eight week, work on the third assignment

Hello.
This week was new yers, so little has been done in the way of work. I’ve created and implemented and input class for gamepads and I’ve started working on the particle effects, which will continue on to next week.
Cheers!

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

Game programming III – the eight week, work on the third assignment

Hello.
This week was new yers, so little has been done in the way of work. I’ve created and implemented and input class for gamepads and I’ve started working on the particle effects, which will continue on to next week.
Cheers!

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

Game programming III – the eight week, work on the third assignment

Hello.
This week was new yers, so little has been done in the way of work. I’ve created and implemented and input class for gamepads and I’ve started working on the particle effects, which will continue on to next week.
Cheers!

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

Game programming III – the eight week, work on the third assignment

Hello.
This week was new yers, so little has been done in the way of work. I’ve created and implemented and input class for gamepads and I’ve started working on the particle effects, which will continue on to next week.
Cheers!

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

GameProgramming1 – Week 7

Ah, the week of Christmas is upon us, surely this week a lot of work will get done.
Ach no, fooled again, not being able to concentrate and get work properly done as one should, this shouldn’t happen. When sitting down and trying, either to write something or program, it all just slips away. Well at lest got something done, not much though , some theoretical work. The theoretical work being that of planning how and what to do, which order […]

/ Comments Off on GameProgramming1 – Week 7
Program: Programming

GameProgramming1 – Week 7

Ah, the week of Christmas is upon us, surely this week a lot of work will get done.
Ach no, fooled again, not being able to concentrate and get work properly done as one should, this shouldn’t happen. When sitting down and trying, either to write something or program, it all just slips away. Well at lest got something done, not much though , some theoretical work. The theoretical work being that of planning how and what to do, which order […]

/ Comments Off on GameProgramming1 – Week 7
Program: Programming

Namespace and delay

Completely lost any work yesterday due to brother’s birthday, not good.
Today i worked on getting a method of handling inputs, my plan was to use the system from the example task we did during classes, however it turned out to be more trouble than i had expected. The method uses one variable for each button or mouse cursor position which is set in a function named notify. the problem was that the notify function took an argument of the type […]

/ Comments Off on Namespace and delay
Program: Programming

Namespace and delay

Completely lost any work yesterday due to brother’s birthday, not good.
Today i worked on getting a method of handling inputs, my plan was to use the system from the example task we did during classes, however it turned out to be more trouble than i had expected. The method uses one variable for each button or mouse cursor position which is set in a function named notify. the problem was that the notify function took an argument of the type […]

/ Comments Off on Namespace and delay
Program: Programming

Week 7-8 | Red Plane1942

Week 7
This week I’ve added coins and power ups dropping from enemies. Both the coin and the power up inherits from the base class Entity. The coin is simple enough, it falls downwards and if hit by the player it adds to the players m_totalcoins. The power up bounces around on the screen edges until the player picks them up. For now i have only added an extra life power up but plan on adding one for adding extra bombs […]

/ Comments Off on Week 7-8 | Red Plane1942
Program: Programming

Week 7-8 | Red Plane1942

Week 7
This week I’ve added coins and power ups dropping from enemies. Both the coin and the power up inherits from the base class Entity. The coin is simple enough, it falls downwards and if hit by the player it adds to the players m_totalcoins. The power up bounces around on the screen edges until the player picks them up. For now i have only added an extra life power up but plan on adding one for adding extra bombs […]

/ Comments Off on Week 7-8 | Red Plane1942
Program: Programming

Week 7-8 | Red Plane1942

Week 7
This week I’ve added coins and power ups dropping from enemies. Both the coin and the power up inherits from the base class Entity. The coin is simple enough, it falls downwards and if hit by the player it adds to the players m_totalcoins. The power up bounces around on the screen edges until the player picks them up. For now i have only added an extra life power up but plan on adding one for adding extra bombs […]

/ Comments Off on Week 7-8 | Red Plane1942
Program: Programming

Week 7-8 | Red Plane1942

Week 7
This week I’ve added coins and power ups dropping from enemies. Both the coin and the power up inherits from the base class Entity. The coin is simple enough, it falls downwards and if hit by the player it adds to the players m_totalcoins. The power up bounces around on the screen edges until the player picks them up. For now i have only added an extra life power up but plan on adding one for adding extra bombs […]

/ Comments Off on Week 7-8 | Red Plane1942
Program: Programming

Mario Clone Update 2

Just a quick update on my mario clone, I’ve now implemented scrolling level which enables me to create bigger levels.

I’ve also animated the background so that has a small animation loop and the next thing that I will implement is enemies and player animations.

/ Comments Off on Mario Clone Update 2
Program: Programming

Mario Clone Update 2

Just a quick update on my mario clone, I’ve now implemented scrolling level which enables me to create bigger levels.

I’ve also animated the background so that has a small animation loop and the next thing that I will implement is enemies and player animations.

/ Comments Off on Mario Clone Update 2
Program: Programming