Author Archives: Inge Olaisen

Weekly update week 4

This week I’ve been doing several things, but the most difficult task in my eyes was to do a slight rewrite of another persons class. It’s not that the code that I had to rewrite was bad from the start, it’s just that it was writtenwith singleplayer in mind and we’re doing a multiplayer game where the server is doing all the calculations. This task was about getting the Commander to work, which is the last piece of the puzzle […]

/ Comments Off on Weekly update week 4
Program: Programming

Weekly update week 4

This week I’ve been doing several things, but the most difficult task in my eyes was to do a slight rewrite of another persons class. It’s not that the code that I had to rewrite was bad from the start, it’s just that it was writtenwith singleplayer in mind and we’re doing a multiplayer game where the server is doing all the calculations. This task was about getting the Commander to work, which is the last piece of the puzzle […]

/ Comments Off on Weekly update week 4
Program: Programming

Week 3 – UnityNetwork again

This week I made a revelation when it comes to network programming. Turns out it’s really really easy. Actually the revelation part happened on Saturday, so I had to set myself down and do some programming, so during the weekend I made a starting menu where we can select to start a server or connect as a client. As you can see in the screenshot below:

So the whole idea was that you have one dedicated server and then you […]

/ Comments Off on Week 3 – UnityNetwork again
Program: Programming

Week 3 – UnityNetwork again

This week I made a revelation when it comes to network programming. Turns out it’s really really easy. Actually the revelation part happened on Saturday, so I had to set myself down and do some programming, so during the weekend I made a starting menu where we can select to start a server or connect as a client. As you can see in the screenshot below:

So the whole idea was that you have one dedicated server and then you […]

/ Comments Off on Week 3 – UnityNetwork again
Program: Programming

Week 3 – UnityNetwork again

This week I made a revelation when it comes to network programming. Turns out it’s really really easy. Actually the revelation part happened on Saturday, so I had to set myself down and do some programming, so during the weekend I made a starting menu where we can select to start a server or connect as a client. As you can see in the screenshot below:

So the whole idea was that you have one dedicated server and then you […]

/ Comments Off on Week 3 – UnityNetwork again
Program: Programming

Week 3 – UnityNetwork again

This week I made a revelation when it comes to network programming. Turns out it’s really really easy. Actually the revelation part happened on Saturday, so I had to set myself down and do some programming, so during the weekend I made a starting menu where we can select to start a server or connect as a client. As you can see in the screenshot below:

So the whole idea was that you have one dedicated server and then you […]

/ Comments Off on Week 3 – UnityNetwork again
Program: Programming

Network – >.<

Network is both fun and frustrating. This week I continued working with the networking code, the problem however is that it is going slow. You need go about coding in a bit different way than you do when  you code otherwise. Because when you code for singleplayer you don’t have to take into consideration what happens to the object when other people see it. In a network however you need to send the location of your player to the others, […]

/ Comments Off on Network – >.<
Program: Programming

Network – >.<

Network is both fun and frustrating. This week I continued working with the networking code, the problem however is that it is going slow. You need go about coding in a bit different way than you do when  you code otherwise. Because when you code for singleplayer you don’t have to take into consideration what happens to the object when other people see it. In a network however you need to send the location of your player to the others, […]

/ Comments Off on Network – >.<
Program: Programming

Network – >.<

Network is both fun and frustrating. This week I continued working with the networking code, the problem however is that it is going slow. You need go about coding in a bit different way than you do when  you code otherwise. Because when you code for singleplayer you don’t have to take into consideration what happens to the object when other people see it. In a network however you need to send the location of your player to the others, […]

/ Comments Off on Network – >.<
Program: Programming

Network – >.<

Network is both fun and frustrating. This week I continued working with the networking code, the problem however is that it is going slow. You need go about coding in a bit different way than you do when  you code otherwise. Because when you code for singleplayer you don’t have to take into consideration what happens to the object when other people see it. In a network however you need to send the location of your player to the others, […]

/ Comments Off on Network – >.<
Program: Programming

First week

This week I’ve been looking at how we can get the networking to work and started working on a start menu so that we can get the different clients to connect to eachother. To test this and to get that to work I started working on a chat room. Right now it’s just a basic chat room so that everyone can talk to each other. It now works, it doesn’t look that good however but it’s just a temporary interface.

April 04, 2014 / Comments Off on First week
Program: Programming

First week

This week I’ve been looking at how we can get the networking to work and started working on a start menu so that we can get the different clients to connect to eachother. To test this and to get that to work I started working on a chat room. Right now it’s just a basic chat room so that everyone can talk to each other. It now works, it doesn’t look that good however but it’s just a temporary interface.

April 04, 2014 / Comments Off on First week
Program: Programming

First week

This week I’ve been looking at how we can get the networking to work and started working on a start menu so that we can get the different clients to connect to eachother. To test this and to get that to work I started working on a chat room. Right now it’s just a basic chat room so that everyone can talk to each other. It now works, it doesn’t look that good however but it’s just a temporary interface.

April 04, 2014 / Comments Off on First week
Program: Programming

First week

This week I’ve been looking at how we can get the networking to work and started working on a start menu so that we can get the different clients to connect to eachother. To test this and to get that to work I started working on a chat room. Right now it’s just a basic chat room so that everyone can talk to each other. It now works, it doesn’t look that good however but it’s just a temporary interface.

April 04, 2014 / Comments Off on First week
Program: Programming

Binary files in c++

Insomnia strikes again, so I might as well spend the time trying to sleep to post something. This time I’m going to touch into a subject that I believe is the reason why I got the revelation about how memory management works. As the subject says, it’s about reading binary files.
The first thing you do is to include the #include
Next step is fairly simple:
std::ifstream filenamestream(“Filename with path and everything”, std::ios_base::binary);
Normally the filenamestream variable is called a stream. Often I […]

/ Comments Off on Binary files in c++
Program: Programming

Binary files in c++

Insomnia strikes again, so I might as well spend the time trying to sleep to post something. This time I’m going to touch into a subject that I believe is the reason why I got the revelation about how memory management works. As the subject says, it’s about reading binary files.
The first thing you do is to include the #include
Next step is fairly simple:
std::ifstream filenamestream(“Filename with path and everything”, std::ios_base::binary);
Normally the filenamestream variable is called a stream. Often I […]

/ Comments Off on Binary files in c++
Program: Programming

Binary files in c++

Insomnia strikes again, so I might as well spend the time trying to sleep to post something. This time I’m going to touch into a subject that I believe is the reason why I got the revelation about how memory management works. As the subject says, it’s about reading binary files.
The first thing you do is to include the #include
Next step is fairly simple:
std::ifstream filenamestream(“Filename with path and everything”, std::ios_base::binary);
Normally the filenamestream variable is called a stream. Often I […]

/ Comments Off on Binary files in c++
Program: Programming

Binary files in c++

Insomnia strikes again, so I might as well spend the time trying to sleep to post something. This time I’m going to touch into a subject that I believe is the reason why I got the revelation about how memory management works. As the subject says, it’s about reading binary files.
The first thing you do is to include the #include
Next step is fairly simple:
std::ifstream filenamestream(“Filename with path and everything”, std::ios_base::binary);
Normally the filenamestream variable is called a stream. Often I […]

/ Comments Off on Binary files in c++
Program: Programming

Data / Memory management

This is a post I’ve been meaning to write for a long time. I’ve had a couple of revelations when it comes to programming and thought that I should share those revelations. One of those revelations are connected to the memory management of c++ and the other is about data. Non specific data that is, but data nonetheless.
Memory management
One of the hardest things that I learned in c++ programming was the use of pointers. Now I understood early on that […]

/ Comments Off on Data / Memory management
Program: Programming

Data / Memory management

This is a post I’ve been meaning to write for a long time. I’ve had a couple of revelations when it comes to programming and thought that I should share those revelations. One of those revelations are connected to the memory management of c++ and the other is about data. Non specific data that is, but data nonetheless.
Memory management
One of the hardest things that I learned in c++ programming was the use of pointers. Now I understood early on that […]

/ Comments Off on Data / Memory management
Program: Programming

Components

I’ve been meaning to blog something for quite some time now, but I haven’t really had the time and when I had the time I was going through some personal stuff. Basically my wife left me right before Christmas, it hasn’t been easy since then, but now I’m going to try and pick up the slack. Now that’s not what this blog is going to be about however, I want to write about a pattern that we are using in […]

/ Comments Off on Components
Program: Programming

Components

I’ve been meaning to blog something for quite some time now, but I haven’t really had the time and when I had the time I was going through some personal stuff. Basically my wife left me right before Christmas, it hasn’t been easy since then, but now I’m going to try and pick up the slack. Now that’s not what this blog is going to be about however, I want to write about a pattern that we are using in […]

/ Comments Off on Components
Program: Programming

Fly or Die! – state of the game

Tomorrow in the programming lecture we’re going to learn how to make binary files from the files that we have and package them. Since we’re going to release Fly or Die! on Desura, I want to have that packaging done to the game that we want to ship. I mean the assets are already there, so all we need is a menu and I can package the files and get it working into the game and we can finally release […]

/ Comments Off on Fly or Die! – state of the game
Program: Programming

Fly or Die! – state of the game

Tomorrow in the programming lecture we’re going to learn how to make binary files from the files that we have and package them. Since we’re going to release Fly or Die! on Desura, I want to have that packaging done to the game that we want to ship. I mean the assets are already there, so all we need is a menu and I can package the files and get it working into the game and we can finally release […]

/ Comments Off on Fly or Die! – state of the game
Program: Programming