Daily Archives: December 12, 2014

Fifth weekly programming post

OK, so the naming scheme of my “weekly” programming posts seemed like a good idea when I was still positive I would actually write a post each week. I am going to refer to this as the fifth post because it is my fifth week of programming; and a mismatch between these two numbers is prone to make me terribly confused in the future, should I ever come back to read an old blog post for whatever reason. I’m foreseeing […]

/ Comments Off on Fifth weekly programming post
Program: Programming

Fifth weekly programming post

OK, so the naming scheme of my “weekly” programming posts seemed like a good idea when I was still positive I would actually write a post each week. I am going to refer to this as the fifth post because it is my fifth week of programming; and a mismatch between these two numbers is prone to make me terribly confused in the future, should I ever come back to read an old blog post for whatever reason. I’m foreseeing […]

/ Comments Off on Fifth weekly programming post
Program: Programming

GAME PROGRAMMING I: WEEK FIVE

This week we have finished up the work on the Arkanoid project and I have continued the work on my Legend of Zelda clone.
I have drawn out a basic layout of the in game map and a simple representation of how it will be implemented in the games code, including how the rooms will be interlinked.

I have broken down some of the enemies and items from the game that I will be using:


Note that not all of […]

/ Comments Off on GAME PROGRAMMING I: WEEK FIVE
Program: Programming

GAME PROGRAMMING I: WEEK FIVE

This week we have finished up the work on the Arkanoid project and I have continued the work on my Legend of Zelda clone.
I have drawn out a basic layout of the in game map and a simple representation of how it will be implemented in the games code, including how the rooms will be interlinked.

I have broken down some of the enemies and items from the game that I will be using:


Note that not all of […]

/ Comments Off on GAME PROGRAMMING I: WEEK FIVE
Program: Programming

Week 5 of game programming – Arkanoid continued

This week we kept on working with arkanoid. We added sprites to the game and made the ball move. Since the game took longer to make than expected, our teacher Tommi wrote the complete game and then went through the changes he had done. The biggest difference in his complete game compared to our incomplete game was that it, apart from actually working, had collision in it. Collision is a really tricky thing in programming, and even experienced programmers can […]

/ Comments Off on Week 5 of game programming – Arkanoid continued
Program: Programming

Week 5 of game programming – Arkanoid continued

This week we kept on working with arkanoid. We added sprites to the game and made the ball move. Since the game took longer to make than expected, our teacher Tommi wrote the complete game and then went through the changes he had done. The biggest difference in his complete game compared to our incomplete game was that it, apart from actually working, had collision in it. Collision is a really tricky thing in programming, and even experienced programmers can […]

/ Comments Off on Week 5 of game programming – Arkanoid continued
Program: Programming

Week 5 of game programming – Arkanoid continued

This week we kept on working with arkanoid. We added sprites to the game and made the ball move. Since the game took longer to make than expected, our teacher Tommi wrote the complete game and then went through the changes he had done. The biggest difference in his complete game compared to our incomplete game was that it, apart from actually working, had collision in it. Collision is a really tricky thing in programming, and even experienced programmers can […]

/ Comments Off on Week 5 of game programming – Arkanoid continued
Program: Programming

Week 5 of game programming – Arkanoid continued

This week we kept on working with arkanoid. We added sprites to the game and made the ball move. Since the game took longer to make than expected, our teacher Tommi wrote the complete game and then went through the changes he had done. The biggest difference in his complete game compared to our incomplete game was that it, apart from actually working, had collision in it. Collision is a really tricky thing in programming, and even experienced programmers can […]

/ Comments Off on Week 5 of game programming – Arkanoid continued
Program: Programming

Game programming I – Week 5


This week, work on the Pac-man replica started with early work on movement and sprites.
We ran into problems making the keyboard work, but we got the sprite to follow the mouse position in both X and Y thanks to the Arkanoid game we had earlier constructed in class.
Not much else to report this week.
Filed under: 5SD022, Game programming I – 5SD022, University Tagged: 5SD022, programming […]

/ Comments Off on Game programming I – Week 5
Program: Programming

Game programming I – Week 5


This week, work on the Pac-man replica started with early work on movement and sprites.
We ran into problems making the keyboard work, but we got the sprite to follow the mouse position in both X and Y thanks to the Arkanoid game we had earlier constructed in class.
Not much else to report this week.
Filed under: 5SD022, Game programming I – 5SD022, University Tagged: 5SD022, programming […]

/ Comments Off on Game programming I – Week 5
Program: Programming

Femte veckan

Under den här veckan har vi programerat vidare och slutfört programmet arkanoid . Vi la in kollision och bollens rörelser.
Vi hade även genomgångar på hur man kan lägga in andra filtyper än bmp. Detta leder till att filer kan nu ha Alpha och då ha osynliga bakrunder istället för en helt rosa/lila bakgrund.
Vi hade genomgång på font rendering. Med SDL_TTF så kan man representera text på skärmen. Detta är riktigt bra för spel som innehåller text så som tex legend […]

/ Comments Off on Femte veckan
Program: Programming

Femte veckan

Under den här veckan har vi programerat vidare och slutfört programmet arkanoid . Vi la in kollision och bollens rörelser.
Vi hade även genomgångar på hur man kan lägga in andra filtyper än bmp. Detta leder till att filer kan nu ha Alpha och då ha osynliga bakrunder istället för en helt rosa/lila bakgrund.
Vi hade genomgång på font rendering. Med SDL_TTF så kan man representera text på skärmen. Detta är riktigt bra för spel som innehåller text så som tex legend […]

/ Comments Off on Femte veckan
Program: Programming

Gamejam time; Super mash buttons!

Hi!
I have forgotten to make blog posts during the past weeks. It is mostly due to me feeling I have nothing of value to say, or teach, or whatever (Please see the comic in the 11 weeks later post for an illustration of what happened.)
I have some things to think about now though, so huzzah! I will do a quick overview what I have been up to first, though.
1. I created a character, gave her backstory, and made fancy lineart of […]

/ Comments Off on Gamejam time; Super mash buttons!
Program: Graphics

Gamejam time; Super mash buttons!

Hi!
I have forgotten to make blog posts during the past weeks. It is mostly due to me feeling I have nothing of value to say, or teach, or whatever (Please see the comic in the 11 weeks later post for an illustration of what happened.)
I have some things to think about now though, so huzzah! I will do a quick overview what I have been up to first, though.
1. I created a character, gave her backstory, and made fancy lineart of […]

/ Comments Off on Gamejam time; Super mash buttons!
Program: Graphics

Gamejam time; Super mash buttons!

Hi!
I have forgotten to make blog posts during the past weeks. It is mostly due to me feeling I have nothing of value to say, or teach, or whatever (Please see the comic in the 11 weeks later post for an illustration of what happened.)
I have some things to think about now though, so huzzah! I will do a quick overview what I have been up to first, though.
1. I created a character, gave her backstory, and made fancy lineart of […]

/ Comments Off on Gamejam time; Super mash buttons!
Program: Graphics

Gamejam time; Super mash buttons!

Hi!
I have forgotten to make blog posts during the past weeks. It is mostly due to me feeling I have nothing of value to say, or teach, or whatever (Please see the comic in the 11 weeks later post for an illustration of what happened.)
I have some things to think about now though, so huzzah! I will do a quick overview what I have been up to first, though.
1. I created a character, gave her backstory, and made fancy lineart of […]

/ Comments Off on Gamejam time; Super mash buttons!
Program: Graphics

Programming week 5 – Final build of Arkanoid


We have completed building the game Arkanoid and I’ve had loads of fun doing it, it’s also been quite hard understanding each line of code, but I think it’s gone quite well.
So we are soon done with the course, what remains is next week with some lectures on collision and how it works. Then we’re supposed to build our very own game, either as one or in groups of two. Me and my classmate has decided to build the […]

/ Comments Off on Programming week 5 – Final build of Arkanoid
Program: Programming

Programming week 5 – Final build of Arkanoid


We have completed building the game Arkanoid and I’ve had loads of fun doing it, it’s also been quite hard understanding each line of code, but I think it’s gone quite well.
So we are soon done with the course, what remains is next week with some lectures on collision and how it works. Then we’re supposed to build our very own game, either as one or in groups of two. Me and my classmate has decided to build the […]

/ Comments Off on Programming week 5 – Final build of Arkanoid
Program: Programming

Programming week 5 – Final build of Arkanoid


We have completed building the game Arkanoid and I’ve had loads of fun doing it, it’s also been quite hard understanding each line of code, but I think it’s gone quite well.
So we are soon done with the course, what remains is next week with some lectures on collision and how it works. Then we’re supposed to build our very own game, either as one or in groups of two. Me and my classmate has decided to build the […]

/ Comments Off on Programming week 5 – Final build of Arkanoid
Program: Programming

Programming week 5 – Final build of Arkanoid


We have completed building the game Arkanoid and I’ve had loads of fun doing it, it’s also been quite hard understanding each line of code, but I think it’s gone quite well.
So we are soon done with the course, what remains is next week with some lectures on collision and how it works. Then we’re supposed to build our very own game, either as one or in groups of two. Me and my classmate has decided to build the […]

/ Comments Off on Programming week 5 – Final build of Arkanoid
Program: Programming

Staring and listening

Today was a worse day progress-wise.
I spent the entire morning staring at the server code trying to figure out what to do with the data i received from the recv function. I need to get the data from the char array i receive and somehow interpret it to send a html page back to the client. I’m not sure how i will do this yet, i will either create a html from a string or save a html page as […]

/ Comments Off on Staring and listening
Program: Programming

Staring and listening

Today was a worse day progress-wise.
I spent the entire morning staring at the server code trying to figure out what to do with the data i received from the recv function. I need to get the data from the char array i receive and somehow interpret it to send a html page back to the client. I’m not sure how i will do this yet, i will either create a html from a string or save a html page as […]

/ Comments Off on Staring and listening
Program: Programming

Programming: Week 3 (cont. 2)

Ex. 6
Define a class that is able to describe any of the 52 cards in a pack of cards. Include a Print method that outputs the suit and the rank of a card.

Class Design Considerations
The class Card should contain the info required to uniquely identify a card, i.e., describe its suit (Hearts, Diamonds, Spades, Clubs) and rank (A, 1, 2, … 10, J, Q, K).
The class needs at least two member variables, one for suit and one for rank. You […]

/ Comments Off on Programming: Week 3 (cont. 2)
Program: Programming

Programming: Week 3 (cont. 2)

Ex. 6
Define a class that is able to describe any of the 52 cards in a pack of cards. Include a Print method that outputs the suit and the rank of a card.

Class Design Considerations
The class Card should contain the info required to uniquely identify a card, i.e., describe its suit (Hearts, Diamonds, Spades, Clubs) and rank (A, 1, 2, … 10, J, Q, K).
The class needs at least two member variables, one for suit and one for rank. You […]

/ Comments Off on Programming: Week 3 (cont. 2)
Program: Programming