zoza.blogg.se

Second time is the charm

Publicerad 2014-01-30 00:58:15 i Allmänt,

Well this will suck. I have to do all the "end lines" myself to not get it go all over the layout.

 

Alright, I figured that if I am going to write so much each day. Then at least I can use it to help me improve my english. I don't really know what I am going to write today since I haven't gotten that much work done today. But I guess I can reflect on what I have learned today and go from there. 

 

So I had a meeting with Jerry and we talked about mostly objects and Friend classes and Inheritance. I was not sure about the whole thing when you wrote : Class, Class2, Class3.

I had a hunch about how it was working but I was not sure. And the tutorials(c++) I was looking at have taken more time than it has helped me. I am not a very quick reader though, so I guess that didn't help either. It's not always written in the way that we are used to. Instead of having a header and cpp file they make something in between. When I first looked at it i thought that I have never seen that in class.

 

Class Rectangle " "

         Int width, height;

public:

         void set_values (int, int);

         int area (void);

" " rect;

 

And it said that rect was the object of the class Rectangle. I could not connect it to anything we had done up until then and it still feels like a weird way to write it. 

 

So from what i can understand from with the meeting with Jerry, if you write Rectangle rect, then Rectangle is an abbreviation of everything that I wrote before rect. So instead of including the header from which it comes from you write all it contains to give rect the knowledge of what the class Rectangle exists of. The problem is that you can't refer to it later in the code since the whole class is inside another class. However, it is not a member variable or a method that is listed in the header file of said class. So it's a longer way of writing a code that does less for a bigger project really. If you really hate header files I guess you could use it for something that you don't want to use again later on.

 

The tutorials feels like they are good to use if you want alternate ways of doing the exact thing. Which is good in itself I guess, but when you read a tutorial to refresh your memory of something or that it isn't really making sense. Then it just makes it harder to find what you are looking for and what part is the most similar to what you have been taught. So it was good to be able to ask someone straight forward who can answer and describe the things you have a hard time with from different angles until you can see how it really is. This was a really long side track from the protected part. I got my hunches confirmed. That it is the class that is using the : Class, Class1, Class2 that is inheriting from the classes mentioned and that the "," is just for when it is more than one class that you are inheriting from. It is pretty logical as you use it when you declare many objects or variables on the same row. Then the object is not as clear, but I definitively got a better grasp on it after the meeting. So an object is something that you can change. It is not functions/methods and it is not member variables of classes you have not made. It is something that takes space so it can not be a pointer. 

If its an int you cannot change variable since it is not something that you created. I think he agreed to something like "Member variables that are not the same data type as the class itself" but I think that it still has to be mentioned that it must be a class made by you in the first place. I think i will figure out a better definition when I have watched more code and thought about it a bit more. I felt good to get those thing confirmed and explained thought as it was hard to follow reasoning and code without that knowledge.

I had some trouble with calling variables and functions too. But that also got solved a bit back. It's not that I have no idea of how to use the code. But it's just that i don't know exactly what it does. I am still able to know about how and when to use them and what it does. But it gets troublesome reading someone elses code and it felt like a huge wall which spread to all corners of the project.

 

So i have a plan in mind so that I wont forget stuff like that again. I will write down all important things I learned during the day in a document so that as soon as i think that I might need to refresh my memory on something I can easily check it up. I guess it would have a similar effect as to writing this blog. This blogs only purpose is not to help me remember things I have learned, but it helps me know what I have worked with and how I did it back then and how I thought about it. 

 

We also had out first meeting with Linus who will help us through the project and he recommended that we should use svn or git as opposed to dropbox as we are using now. It works with dropbox, but I can see how it might be a problem later on as the project grows to store all the parts on and off dropbox since we don't use it directly in dropbox since we would delete each others work easily. So that is something that i should check out as well. It took me way longer than I thought it would to write this so I'm glad that i started early.

 

So I am going to check the core of the project that Martin has made and then look up svn. 

Hopefully I will have more to write about tomorrow but I would not mind some sleep either so I will se how much I will be able to add to tomorrow's blog from tonight. 

 

I should make some more appointments with Jerry as well, the time went way to fast in that room. The thing is that our schedule doesn't help us very much as to when the classes will end. One only says when the class begins and one tells me until what hour the room the lecture will be held in is booked which seems to be way later than the lecture actually ends. And then there is the daily stand up meetings from scrum. I guess I can leave sometime for the guidance meeting but I don't think it is a good idea as long as I am the producer

(I'm not originally the producer but we were told to have at least one week as producer each).

That was akward

Publicerad 2014-01-30 00:43:57 i Allmänt,

Antar att jag antagligen borde förhandsgranska innan jag lägger upp nåt som jag skrev någon annanstans. Trodde det skulle funka att bara kopiera över från documentet men det verkar som att så inte är fallet.

WORK HARDER

Publicerad 2014-01-30 00:41:13 i Allmänt,

Alright, I figured that if I am going to write so much each day. Then at least I can use it to help me improve my english. I don't really know what I am going to write today since I haven't gotten that much work done today. But I guess I can reflect on what I have learned today and go from there. 

So I had a meeting with Jerry and we talked about mostly objects and Friend classes and Inheritance. I was not sure about the whole thing when you wrote : Class, Class2, Class3.

I had a hunch about how it was working but I was not sure. And the tutorials(c++) I was looking at have taken more time than it has helped me. I am not a very quick reader though, so I guess that didn't help either. It's not always written in the way that we are used to. Instead of having a header and cpp file they make something in between. When I first looked at it i thought that I have never seen that in class.

 

Class Rectangle {

         Int width, height;

public:

         void set_values (int, int);

         int area (void);

 } rect;

 

And it said that rect was the object of the class Rectangle. I could not connect it to anything we had done up until then and it still feels like a weird way to write it. 

 

So from what i can understand from with the meeting with Jerry, if you write Rectangle rect, then Rectangle is an abbreviation of everything that I wrote before rect. So instead of including the header from which it comes from you write all it contains to give rect the knowledge of what the class Rectangle exists of. The problem is that you can't refer to it later in the code since the whole class is inside another class. However, it is not a member variable or a method that is listed in the header file of said class. So it's a longer way of writing a code that does less for a bigger project really. If you really hate header files I guess you could use it for something that you don't want to use again later on.

 

The tutorials feels like they are good to use if you want alternate ways of doing the exact thing. Which is good in itself I guess, but when you read a tutorial to refresh your memory of something or that it isn't really making sense. Then it just makes it harder to find what you are looking for and what part is the most similar to what you have been taught. So it was good to be able to ask someone straight forward who can answer and describe the things you have a hard time with from different angles until you can see how it really is. This was a really long side track from the protected part. I got my hunches confirmed. That it is the class that is using the : Class, Class1, Class2 that is inheriting from the classes mentioned and that the "," is just for when it is more than one class that you are inheriting from. It is pretty logical as you use it when you declare many objects or variables on the same row. Then the object is not as clear, but I definitively got a better grasp on it after the meeting. So an object is something that you can change. It is not functions/methods and it is not member variables of classes you have not made. It is something that takes space so it can not be a pointer. If its an int you cannot change variable since it is not something that you created. I think he agreed to something like "Member variables that are not the same data type as the class itself" but I think that it still has to be mentioned that it must be a class made by you in the first place. I think i will figure out a better definition when I have watched more code and thought about it a bit more. 

I felt good to get those thing confirmed and explained thought as it was hard to follow reasoning and code without that knowledge. I had some trouble with calling variables and functions too. But that also got solved a bit back. It's not that I have no idea of how to use the code. But it's just that i don't know exactly what it does. I am still able to know about how and when to use them and what it does. But it gets troublesome reading someone elses code and it felt like a huge wall which spread to all corners of the project.

 

So i have a plan in mind so that I wont forget stuff like that again. I will write down all important things I learned during the day in a document so that as soon as i think that I might need to refresh my memory on something I can easily check it up. I guess it would have a similar effect as to writing this blog. This blogs only purpose is not to help me remember things I have learned, but it helps me know what I have worked with and how I did it back then and how I thought about it. 

 

We also had out first meeting with Linus who will help us through the project and he recommended that we should use svn or git as opposed to dropbox as we are using now. It works with dropbox, but I can see how it might be a problem later on as the project grows to store all the parts on and off dropbox since we don't use it directly in dropbox since we would delete each others work easily. So that is something that i should check out as well. It took me way longer than I thought it would to write this so I'm glad that i started early.

So I am going to check the core of the project that Martin has made and then look up svn. Hopefully I will have more to write about tomorrow but I would not mind some sleep either so I will se how much I will be able to add to tomorrow's blog from tonight. 

I should make some more appointments with Jerry as well, the time went way to fast in that room. The thing is that our schedule doesn't help us very much as to when the classes will end. One only says when the class begins and one tells me until what hour the room the lecture will be held in is booked which seems to be way later than the lecture actually ends. And then there is the daily stand up meetings from scrum. I guess I can leave sometime for the guidance meeting but I don't think it is a good idea as long as I am the producer(I'm not originally the producer but we were told to have at least one week as producer each).

Nya kurser

Publicerad 2014-01-22 23:23:49 i Allmänt,

Så efter ett välbehövligt uppehåll så var det dags för nya tag :P
Vi rivstartar med en vecka packad med lektioner och uppgifter, känns lite chockartat men antar att det bara är att ta på sig grovhandskarna och jobba. Det ska bli spännande att se hur SFML fungerar. Jag skulle vilja Programmera och testa runt mer själv/utanför projektet, då jag känner att prototypen är lite svår, men jag har knappt någon tid fram till måndag-tisdag. 

And we are done

Publicerad 2014-01-19 19:03:36 i Allmänt,

Yes
 
Sista dagen på projektet vilket känns både roligt och tråkigt. Det är roligt att vi hann klart och att vi förhoppningsvis är klar med kursen men tråkigt då vi inte fick spelet så bra som vi velat. Men det blir nog ingen vila på det här stället, imorgon kl 9 börjar nästa kurs, men vi hade ju ändå ett 9 timmar uppehåll mellan kurserna :P

Lördag 18/1

Publicerad 2014-01-19 00:13:52 i Allmänt,

Tjosan
 
Börjar närma sig slutet nu. Jag gjorde ett tappert försök på min egen loading bar på photoshop, men det visade sig att jag inte blivit något bättre på det sen förra gången. Så det slutade med att jag gjorde klart det med instruktioner från sebbe. Sedan gjorde jag textfilen till animations och gjorde så att spritemanagern var animationsredo. Particle systemet gjorde jag också ett sista försök på, men jag får det inte att funka så det får jag kolla på efter projektet.
 
Så det som jag ska göra nu är att skriva animation classen och göra ändringarna för det i engine. Sedan ska jag skriva rapporten och jag vet inte om jag kan göra något mer. Ska kolla om sebbe ska ha hjälp med något mer imorgon, men tror det mest är saker som sebbe klarar av/gör bäst kvar nu.

Fredag 17/1

Publicerad 2014-01-17 23:43:56 i Allmänt,

Alright, har några bra enklare particle effects som jag kollat på nu, länkningen funkar nästan. I ena jag kollat på så använde dom bara SDL som extra biblotek att länka så det var inget nytt medan det var GL, Glaut, Glu på den andra. Det vart något fel dock med LPCWSTR på alla strings och 2 ställen till(str är ju för string så), man kunde tydligen lösa det att sätta ett "L" framför stringen för attt få den att gillas för en Long pointer constant wide string.
Så dom sista 2 felen vet jag inte vad det är just nu då det inte är char/strings och jag vet inte om det skulle hjälpa med ett "L" nånstans så vet jag inte vart det skulle vara heller. Så det är väl det jag ska kolla imorgon innan vi ska börja sätta ihop text m.m imorgon i vårt project. Jag gillar att kunna hålla på att testa mig fram har jag märkt för att se vad allt har för funktioner med nya program. Det blir dock lite svårare att göra det när man inte kan starta programmet :P Nu ska jag sova, god natt

Torsdag 16/1

Publicerad 2014-01-16 20:24:25 i Allmänt,

hellö
 
Har inte gjort någonting på projectet så har inte haft något att skriva. Jag länkade ihop och har fixat så vi kan lägga in text/typsnitt nu med ttf och sebbe lyckades få till det sista med animations så den delen är också klar. Så det sista har varit particles vilket verkar vara det svåraste att göra av det jag har gjort hitills. Skulle vara väldigt roligt att bli bra på dock. Får se om jag kan få klart det i tid eller om jag borde göra något annat istället då tiden börjar bli knapp och det inte har något att göra med ett komlett spel utan är något snyggare som skulle vara roligt att göra.

Lördag 11/1

Publicerad 2014-01-12 00:08:28 i Allmänt,

God dag
 
Jag fick i updrag att fixa text till spelet, se hur det funkar i sdl. Så jag kollade upp det och hittade att det var SDL_ttf biblioteket man skulle använda sig av. Sen började det roliga, hur många gånger kan man länka/lägga filer fel? En par gånger var svaret iaf. Har fortfarande inte helt fått till det men kommer närmare och närmare. 
 
Har lagt spelen på hyllan nu sista veckan då vi måste arbeta effektivt nu. Blev en massa krångel när vi skulle tillbaka till gotland så vi kunde inte jobba lika bra som förut med olika resedagar och dygn och allt vad det blir. Så vi ligger inte där vi ahde velat vara vid det här laget.
 
Tänkte att jag skulle försöka fixa till det här med texten nu i helgen och förhoppningsvis animationerna. Det är nåt som krånglar där som jag inte helt förstår, men det har nog med att jag inte riktigt förstår principen. Så jag ska kolla igenom det nogrannare och förhoppningsvis lista ut vad som ska göras. Particle effecten får jag nog kolla på lektion för det är bara 3D turtorials överallt.    
 
Tidigare har jag jobbat tillsammans med min kollega mer och gjort mindre uppgifter. Även om jag lärde mig mycket så är det roligare om man kan bidra med något och ta en hel del. Gäller bara att klara av det. Skrev en lite längre bloggning i dag då jag känner att det har varit lite på sistone. Det är dock inte för att vi inte har orkat bloggat, utan helt enkelt att vi inte har lyckats få så mycket gjort. 

Söndag 5/1

Publicerad 2014-01-06 00:44:46 i Allmänt,

Har bara fortsatt att repeterat idag för att kunna ge mig på particle system och för att göra ett bra jobb på animations där jag håller på att länka ihop och fixa dom från föreläsningarna så jag har någon mall då dem inte verkade funka rakt av. 

Lördag 4/1

Publicerad 2014-01-04 22:37:57 i Allmänt,

Hallå i stugan
 
Hade resdag igår. Har igår och idag hållit på att repetera gamla saker som jag inte helt har häng på och lära mig mer om particle effects. 

Onsdag 1/1

Publicerad 2014-01-02 00:59:00 i Allmänt,

Hallå i stugan
 
Har inte gjort några direkta delar igår och idag utan mer försökt få koll på hur man gör partikel system och animationer. Så det är nog inte så mycket att skriva om. Kan nog länka SDL bibloteken i sömnen nu iaf efter alla försök till particle program ^^

Senaste inläggen

Kategorier

Arkiv

Prenumerera och dela