Browsing 'Uncategorized': dimwits who did not read the instructions.

Course reflections & major assignments!

Work flow
While working on the major assignments I decided to start with the lighting of the background. I made this decision as I figured that would be the assignment which would be the most time consuming of the two.
I started out with the horizon, light source and making the entire picture darker as a whole and proceeded to start darkening each individual surface. While working on the background I ended up re-lighting each building several times around, making it darker/lighter […]

/ Comments Off on Course reflections & major assignments!
Program: Graphics

Course reflections & major assignments!

Work flow
While working on the major assignments I decided to start with the lighting of the background. I made this decision as I figured that would be the assignment which would be the most time consuming of the two.
I started out with the horizon, light source and making the entire picture darker as a whole and proceeded to start darkening each individual surface. While working on the background I ended up re-lighting each building several times around, making it darker/lighter […]

/ Comments Off on Course reflections & major assignments!
Program: Graphics

Spelprogrammering – Assignment – 17

Tic-tac-tic-tac. Time’s running out.
I’ve been hunkered down and working all day. I’ve realized that I’m pressed on time, so I’ve given up on some features in favor of others. For example I created the most basic GUI of all time in the bottom left corner that changes colour based on the amount of lives you have. I also added a “GAME OVER” screen, that shows up for three seconds until the game restarts itself.
Inadvertently, it’s causing memory leaks, which origin […]

/ Comments Off on Spelprogrammering – Assignment – 17
Program: Programming

Spelprogrammering – Assignment – 17

Tic-tac-tic-tac. Time’s running out.
I’ve been hunkered down and working all day. I’ve realized that I’m pressed on time, so I’ve given up on some features in favor of others. For example I created the most basic GUI of all time in the bottom left corner that changes colour based on the amount of lives you have. I also added a “GAME OVER” screen, that shows up for three seconds until the game restarts itself.
Inadvertently, it’s causing memory leaks, which origin […]

/ Comments Off on Spelprogrammering – Assignment – 17
Program: Programming

SDL_ttf

I’ve tried to get the SDL_ttf working.
It turns out that it was made for SDL 1.2 and not 2.0, which we are using.
This makes implementing it a lot harder, it’s based on SDL_Surfaces and not SDL_Windows, that we use..

/ Comments Off on SDL_ttf
Program: Programming

SDL_ttf

I’ve tried to get the SDL_ttf working.
It turns out that it was made for SDL 1.2 and not 2.0, which we are using.
This makes implementing it a lot harder, it’s based on SDL_Surfaces and not SDL_Windows, that we use..

/ Comments Off on SDL_ttf
Program: Programming

Programming Assignment – Arkanoid

Today Anthon and I worked on a few more powerups as well as a bunch of levels. I will probably skip the Encryption because we really don’t have any need for it right now and I cant make it work without being very easy to crack. I think I know how to make something that kind of sort of works a little but it is too much work for something we dont need (I might finish it if we ever […]

/ Comments Off on Programming Assignment – Arkanoid
Program: Programming

Programming Assignment – Arkanoid

Today Anthon and I worked on a few more powerups as well as a bunch of levels. I will probably skip the Encryption because we really don’t have any need for it right now and I cant make it work without being very easy to crack. I think I know how to make something that kind of sort of works a little but it is too much work for something we dont need (I might finish it if we ever […]

/ Comments Off on Programming Assignment – Arkanoid
Program: Programming

Programming Assignment, Blog Post 3

I’m having problems with the animations. I can’t seem to change the first added animation to another animation.
Some of my fellow students tried to help me but they didn’t know what was wrong either, so tomorrow I will ask Tommi or Jerry for help.
I feel like I’m very much behind in the game creating-process and I will have to be glued to my computer all weekend to finish it in time.
Many hours will be wasted trying to place code in […]

/ Comments Off on Programming Assignment, Blog Post 3
Program: Programming

Programming Assignment, Blog Post 3

I’m having problems with the animations. I can’t seem to change the first added animation to another animation.
Some of my fellow students tried to help me but they didn’t know what was wrong either, so tomorrow I will ask Tommi or Jerry for help.
I feel like I’m very much behind in the game creating-process and I will have to be glued to my computer all weekend to finish it in time.
Many hours will be wasted trying to place code in […]

/ Comments Off on Programming Assignment, Blog Post 3
Program: Programming

Deadline Approaches … and so does frogger

 

With the deadline on Sunday approaching the amount of time spend on adding things into the game has stepped up a little bit.
And as of today the game could now be classed as Playable, though with current settings its unbeatable.
Managed to add a nicer starting screen, and moving buttons along the road. fixed the playlist to now play next song upon finishing one.
And many more small fixes… Can tell that when the game is at a state such as […]

/ Comments Off on Deadline Approaches … and so does frogger
Program: Programming

Deadline Approaches … and so does frogger

 

With the deadline on Sunday approaching the amount of time spend on adding things into the game has stepped up a little bit.
And as of today the game could now be classed as Playable, though with current settings its unbeatable.
Managed to add a nicer starting screen, and moving buttons along the road. fixed the playlist to now play next song upon finishing one.
And many more small fixes… Can tell that when the game is at a state such as […]

/ Comments Off on Deadline Approaches … and so does frogger
Program: Programming

Stupid blood sprites

Worked at home today during the entire afternoon and into the evening. I had a call with Martin during the last part of it which i really feel was helpful for productivity. 
Today’s work was to make five sprites appear around the player and move outwards in a random direction whenever the player died. Through much errors i found out that the objects are created but the sprites are not drawn for some reason. Even after i changed the spritesheet to […]

/ Comments Off on Stupid blood sprites
Program: Programming

Stupid blood sprites

Worked at home today during the entire afternoon and into the evening. I had a call with Martin during the last part of it which i really feel was helpful for productivity. 
Today’s work was to make five sprites appear around the player and move outwards in a random direction whenever the player died. Through much errors i found out that the objects are created but the sprites are not drawn for some reason. Even after i changed the spritesheet to […]

/ Comments Off on Stupid blood sprites
Program: Programming

Hitbox

Today we managed to get rid of the ghost hitbox on the left side of the player. And the ball now bounces of of the sides of the player as it should. 

/ Comments Off on Hitbox
Program: Programming

Hitbox

Today we managed to get rid of the ghost hitbox on the left side of the player. And the ball now bounces of of the sides of the player as it should. 

/ Comments Off on Hitbox
Program: Programming

Programming Assignment – Arkanoid

I didn’t have much time to work on the game today, bur I have nothing I need to do tomorrow so I’ll be sitting the game-room and working a lot tomorrow. I Worked a bit on the encrypt and decrypt class. I also made a few new sprites with animation that Anthon wanted. And that’s pretty much all I did today.
Here is a screenshot from the game.

Filed under: Uncategorized Tagged: Uppsala University Universitet game programming […]

January 16, 2014 / Comments Off on Programming Assignment – Arkanoid
Program: Programming

Programming Assignment – Arkanoid

I didn’t have much time to work on the game today, bur I have nothing I need to do tomorrow so I’ll be sitting the game-room and working a lot tomorrow. I Worked a bit on the encrypt and decrypt class. I also made a few new sprites with animation that Anthon wanted. And that’s pretty much all I did today.
Here is a screenshot from the game.

Filed under: Uncategorized Tagged: Uppsala University Universitet game programming […]

January 16, 2014 / Comments Off on Programming Assignment – Arkanoid
Program: Programming

Spelprogrammering – Assignment – 15

Today I’ve managed to get the Animations for the ball that is read through a text file to work. It looks great!
I also got the directional bouncing (the x-direction of the ball changes depending on where it hits the paddle) to stop accelerating in infinitum, and works “OK” right now. It’s at least a improvement from the old code.
Back to GameStates, ugh. I’m still not quite sure how to implement this -> I’ll try to get some help tomorrow.
So, Animations […]

/ Comments Off on Spelprogrammering – Assignment – 15
Program: Programming

Spelprogrammering – Assignment – 15

Today I’ve managed to get the Animations for the ball that is read through a text file to work. It looks great!
I also got the directional bouncing (the x-direction of the ball changes depending on where it hits the paddle) to stop accelerating in infinitum, and works “OK” right now. It’s at least a improvement from the old code.
Back to GameStates, ugh. I’m still not quite sure how to implement this -> I’ll try to get some help tomorrow.
So, Animations […]

/ Comments Off on Spelprogrammering – Assignment – 15
Program: Programming

Yes post today

So, to recapitulate on yestrurday’s work, I fixed the issue of not being able to switch between animations.  Now, i won’t say that i am fully able to differentiate all the different variables with “animation” and “current” in them but when creating the animation the first time i use this piece of code
void TurtleObject::AddAnimation(const std::string &name, AnimatedSprite *Sprite) { m_animations.insert(std::pair(name, Sprite));   if (m_sprite == nullptr) {     m_sprite = Sprite;     m_current_animation = Sprite;  }}
And when changing animations i used this […]

/ Comments Off on Yes post today
Program: Programming

Yes post today

So, to recapitulate on yestrurday’s work, I fixed the issue of not being able to switch between animations.  Now, i won’t say that i am fully able to differentiate all the different variables with “animation” and “current” in them but when creating the animation the first time i use this piece of code
void TurtleObject::AddAnimation(const std::string &name, AnimatedSprite *Sprite) { m_animations.insert(std::pair(name, Sprite));   if (m_sprite == nullptr) {     m_sprite = Sprite;     m_current_animation = Sprite;  }}
And when changing animations i used this […]

/ Comments Off on Yes post today
Program: Programming

Programming Assignment – Arkanoid

Today I changed the menu so instead of the settings you have chosen will apply instantaneously you will have to click apply to save them. A small change but I like it better that way. I also finished some more graphics now we just need a couple of more sprites and the the graphics will be finished. I’ve started working on a way to encrypt and decrypt things to make it harder to modify things we save in text-files (such […]

/ Comments Off on Programming Assignment – Arkanoid
Program: Programming

Programming Assignment – Arkanoid

Today I changed the menu so instead of the settings you have chosen will apply instantaneously you will have to click apply to save them. A small change but I like it better that way. I also finished some more graphics now we just need a couple of more sprites and the the graphics will be finished. I’ve started working on a way to encrypt and decrypt things to make it harder to modify things we save in text-files (such […]

/ Comments Off on Programming Assignment – Arkanoid
Program: Programming