Browsing 'Programming': Posts from Game Design and Programming

First week programming III

On the first day of the course we were faced with a challenge; compress and decompress an image file. This were to be programmed work with other images as well so nothing could be hard coded.
There are different approaches to this task such as checking the bitmap for color patterns but after the task we also learned about the method of calculating the colors as geometrical figures.
The team consisting myself, David Peldan and Oliver Bolt began on the the first […]

/ Comments Off on First week programming III
Program: Programming

First week programming III

On the first day of the course we were faced with a challenge; compress and decompress an image file. This were to be programmed work with other images as well so nothing could be hard coded.
There are different approaches to this task such as checking the bitmap for color patterns but after the task we also learned about the method of calculating the colors as geometrical figures.
The team consisting myself, David Peldan and Oliver Bolt began on the the first […]

/ Comments Off on First week programming III
Program: Programming

First week programming III

On the first day of the course we were faced with a challenge; compress and decompress an image file. This were to be programmed work with other images as well so nothing could be hard coded.
There are different approaches to this task such as checking the bitmap for color patterns but after the task we also learned about the method of calculating the colors as geometrical figures.
The team consisting myself, David Peldan and Oliver Bolt began on the the first […]

/ Comments Off on First week programming III
Program: Programming

First week programming III

On the first day of the course we were faced with a challenge; compress and decompress an image file. This were to be programmed work with other images as well so nothing could be hard coded.
There are different approaches to this task such as checking the bitmap for color patterns but after the task we also learned about the method of calculating the colors as geometrical figures.
The team consisting myself, David Peldan and Oliver Bolt began on the the first […]

/ Comments Off on First week programming III
Program: Programming

Game Programming III – First Week

In the Game Programming III course we will learn multithreading, 3D engines and networking.
We started this week with Compression Challenge. The challenge was to write a program that compresses a bitmap picture to the smallest possible size and then decompresses it back to it’s original state. I failed to complete my solution for this, but I did read some about Huffman coding and run-length encoding.
Then, some syntax was presented to the class. We were shown how to use templates, which allows a function and/or class […]

/ Comments Off on Game Programming III – First Week
Program: Programming

Game Programming III – First Week

In the Game Programming III course we will learn multithreading, 3D engines and networking.
We started this week with Compression Challenge. The challenge was to write a program that compresses a bitmap picture to the smallest possible size and then decompresses it back to it’s original state. I failed to complete my solution for this, but I did read some about Huffman coding and run-length encoding.
Then, some syntax was presented to the class. We were shown how to use templates, which allows a function and/or class […]

/ Comments Off on Game Programming III – First Week
Program: Programming

First week of programming: Making a text adventure game

The programming course has begun. Since I already know most things taught in class, I decide to brush up on the subject in my own way.The lectures we’ve had this week mainly consisted of learning control statements like the for statement which loops and the if statement which checks for certain conditions. This is basic stuff I learned in high-school, so I did a little exercise of my own.

This is my text adventure game. It doesn’t […]

/ Comments Off on First week of programming: Making a text adventure game
Program: Programming

First week of programming: Making a text adventure game

The programming course has begun. Since I already know most things taught in class, I decide to brush up on the subject in my own way.The lectures we’ve had this week mainly consisted of learning control statements like the for statement which loops and the if statement which checks for certain conditions. This is basic stuff I learned in high-school, so I did a little exercise of my own.

This is my text adventure game. It doesn’t […]

/ Comments Off on First week of programming: Making a text adventure game
Program: Programming

Back to programming!

Finally we started programming again and moved on from all that nonsense of playing board games and whatnot. Part of this course we need to write weekly blogs so I will be more active again.

So in this course we have 3 assignments.

Assignment 1 – Create a linked list and a Binary search tree. (Almost done with this)
Assignment 2 – Consists of writing a webserver
Assignment 3 – Create our own 3D game and engine using DirectX.

So this week I will share my […]

/ Comments Off on Back to programming!
Program: Programming

Back to programming!

Finally we started programming again and moved on from all that nonsense of playing board games and whatnot. Part of this course we need to write weekly blogs so I will be more active again.

So in this course we have 3 assignments.

Assignment 1 – Create a linked list and a Binary search tree. (Almost done with this)
Assignment 2 – Consists of writing a webserver
Assignment 3 – Create our own 3D game and engine using DirectX.

So this week I will share my […]

/ Comments Off on Back to programming!
Program: Programming

14.11.14

Självklart lyckades jag dra på mig en förkylning så här första veckan så min mesta tid har gått till att ligga och sova och dricka te. Men jag kämpat på att inte komma efter alldeles för mycket.
Det misstaget jag har gjort de senaste dagarna är att skriva std::end1 istället för std::endl, de borde verkligen fixa det så ettorna inte ser ut som ett litet L. Självklart glömmer jag lite då och då bort att avsluta raden med ;;. Men man […]

/ Comments Off on 14.11.14
Program: Programming

14.11.14

Självklart lyckades jag dra på mig en förkylning så här första veckan så min mesta tid har gått till att ligga och sova och dricka te. Men jag kämpat på att inte komma efter alldeles för mycket.
Det misstaget jag har gjort de senaste dagarna är att skriva std::end1 istället för std::endl, de borde verkligen fixa det så ettorna inte ser ut som ett litet L. Självklart glömmer jag lite då och då bort att avsluta raden med ;;. Men man […]

/ Comments Off on 14.11.14
Program: Programming

Gradkonvertering med val


/ Comments Off on Gradkonvertering med val
Program: Programming

Gradkonvertering med val


/ Comments Off on Gradkonvertering med val
Program: Programming

Gradkonvertering med val

/ Comments Off on Gradkonvertering med val
Program: Programming

Gradkonvertering med val

/ Comments Off on Gradkonvertering med val
Program: Programming

Starting a new programming course!

So I have started this new course called Gameprogramming III. It feels good to start coding after a few months of game design.
We started of the week by creating a BMP compressor in C++ just to get into programming again. We had to compress a bitmap image file to the smallest possible size. I got down to ~10 KB. It was really fun to work with that. I got to work on the binary level which is pretty new for […]

/ Comments Off on Starting a new programming course!
Program: Programming

Starting a new programming course!

So I have started this new course called Gameprogramming III. It feels good to start coding after a few months of game design.
We started of the week by creating a BMP compressor in C++ just to get into programming again. We had to compress a bitmap image file to the smallest possible size. I got down to ~10 KB. It was really fun to work with that. I got to work on the binary level which is pretty new for […]

/ Comments Off on Starting a new programming course!
Program: Programming

Starting a new programming course!

So I have started this new course called Gameprogramming III. It feels good to start coding after a few months of game design.
We started of the week by creating a BMP compressor in C++ just to get into programming again. We had to compress a bitmap image file to the smallest possible size. I got down to ~10 KB. It was really fun to work with that. I got to work on the binary level which is pretty new for […]

/ Comments Off on Starting a new programming course!
Program: Programming

Starting a new programming course!

So I have started this new course called Gameprogramming III. It feels good to start coding after a few months of game design.
We started of the week by creating a BMP compressor in C++ just to get into programming again. We had to compress a bitmap image file to the smallest possible size. I got down to ~10 KB. It was really fun to work with that. I got to work on the binary level which is pretty new for […]

/ Comments Off on Starting a new programming course!
Program: Programming

Spelprogrammering III – 1st post

So, we’ve started out with a new Game Programming course, called Game programming III. We’ll be focusing on 3D programming this time around.
So, let’s have a little chat about something I’ve studied this week:
I’ve started looking at our first assignment, which is to create a binary search tree using C++. (I’ll be writing this to help me understand how a Binary Search Tree works myself, whilst also hopefully help anyone reading this understand it as well)
What is a binary search […]

/ Comments Off on Spelprogrammering III – 1st post
Program: Programming

Spelprogrammering III – 1st post

So, we’ve started out with a new Game Programming course, called Game programming III. We’ll be focusing on 3D programming this time around.
So, let’s have a little chat about something I’ve studied this week:
I’ve started looking at our first assignment, which is to create a binary search tree using C++. (I’ll be writing this to help me understand how a Binary Search Tree works myself, whilst also hopefully help anyone reading this understand it as well)
What is a binary search […]

/ Comments Off on Spelprogrammering III – 1st post
Program: Programming

Spelprogrammering III – 1st post

So, we’ve started out with a new Game Programming course, called Game programming III. We’ll be focusing on 3D programming this time around.
So, let’s have a little chat about something I’ve studied this week:
I’ve started looking at our first assignment, which is to create a binary search tree using C++. (I’ll be writing this to help me understand how a Binary Search Tree works myself, whilst also hopefully help anyone reading this understand it as well)
What is a binary search […]

/ Comments Off on Spelprogrammering III – 1st post
Program: Programming

Spelprogrammering III – 1st post

So, we’ve started out with a new Game Programming course, called Game programming III. We’ll be focusing on 3D programming this time around.
So, let’s have a little chat about something I’ve studied this week:
I’ve started looking at our first assignment, which is to create a binary search tree using C++. (I’ll be writing this to help me understand how a Binary Search Tree works myself, whilst also hopefully help anyone reading this understand it as well)
What is a binary search […]

/ Comments Off on Spelprogrammering III – 1st post
Program: Programming