Browsing '5SD023': Game Programming II
Arianas Travels
Since the 19th me and five others have been working parallel to another Game Programming II course is a course named Introduction to Game Development.
From now on I will be blogging about how my position as lead designer have taken it’s toll and what have been going to my mind during the choices we’ve taken.
The development went through picking a finished game design document, had a brainstorm about what the group was able to do and specifically me had to […]
Arianas Travels
Since the 19th me and five others have been working parallel to another Game Programming II course is a course named Introduction to Game Development.
From now on I will be blogging about how my position as lead designer have taken it’s toll and what have been going to my mind during the choices we’ve taken.
The development went through picking a finished game design document, had a brainstorm about what the group was able to do and specifically me had to […]
more collisions
2014 02 06
I’ve been doing the collisions again.. The circle works fine, sort of. I have Three circles drawn. Two of them collide like they are supposed to. The third circle will not collide with any of the two colliding circles.
I also have Three rectangles. Same thing there, only two of the rectangles will collide.
I Think this has something to do with how I check for collisions. I now have two different std::vectors containing colliders, one for rectangle colliders and […]
more collisions
2014 02 06
I’ve been doing the collisions again.. The circle works fine, sort of. I have Three circles drawn. Two of them collide like they are supposed to. The third circle will not collide with any of the two colliding circles.
I also have Three rectangles. Same thing there, only two of the rectangles will collide.
I Think this has something to do with how I check for collisions. I now have two different std::vectors containing colliders, one for rectangle colliders and […]
Unnamed Fish Game BloggPost 3
Today I ran into some issues while trying to modify the code from the Platformer project we got during last course. The problem occured as the old code used SDL, and the new project is using SFML.
The issues I ran into here was that the Sprite works differently in these libraries, as of the SFML has one included and in SDL we created our own, This made several of the parameters for the function in need for change. as of […]
Unnamed Fish Game BloggPost 3
Today I ran into some issues while trying to modify the code from the Platformer project we got during last course. The problem occured as the old code used SDL, and the new project is using SFML.
The issues I ran into here was that the Sprite works differently in these libraries, as of the SFML has one included and in SDL we created our own, This made several of the parameters for the function in need for change. as of […]
Game dev – Milestone, playable game
The game is playable. It is a very simple version without almost all collision since that is not implemented yet. All code that makes the game playable is located within the engine but it will be broken up into the different states and managers as they start getting added.
I made a temporary collision code, as it was needed for collision between projectiles and enemies. It looks like this:
fDistanceX = fabs(m_xEnemies[k]->GetPos().x – m_xProjectiles[i]->GetPos().x);
fDistanceY = fabs(m_xEnemies[k]->GetPos().y – m_xProjectiles[i]->GetPos().y);
fDistanceTotal = sqrtf(fDistanceX*fDistanceX + fDistanceY*fDistanceY);
if(fDistanceTotal […]
Game dev – Milestone, playable game
The game is playable. It is a very simple version without almost all collision since that is not implemented yet. All code that makes the game playable is located within the engine but it will be broken up into the different states and managers as they start getting added.
I made a temporary collision code, as it was needed for collision between projectiles and enemies. It looks like this:
fDistanceX = fabs(m_xEnemies[k]->GetPos().x – m_xProjectiles[i]->GetPos().x);
fDistanceY = fabs(m_xEnemies[k]->GetPos().y – m_xProjectiles[i]->GetPos().y);
fDistanceTotal = sqrtf(fDistanceX*fDistanceX + fDistanceY*fDistanceY);
if(fDistanceTotal […]
Meeting, meeting, metting.
So it’s been a long time ago since wrote in this blog. So from Monday to Wednesday we have had four meetings. Monday we had a meeting with Finn Engström, we talked about how to better work in a group together. Not criticizes people based on no facts. Tell them what you think they are doing what you do not like. We should discuss in the group about how the dynamic is and what should change to make it better.
Tuesday […]
Meeting, meeting, metting.
So it’s been a long time ago since wrote in this blog. So from Monday to Wednesday we have had four meetings. Monday we had a meeting with Finn Engström, we talked about how to better work in a group together. Not criticizes people based on no facts. Tell them what you think they are doing what you do not like. We should discuss in the group about how the dynamic is and what should change to make it better.
Tuesday […]
Doing Collision management
I have made a Collider class.
It has Three overlap bool functions for rectangle vs rectangle overlaping, rectangle vs circle overlaping and circle vs circle overlapping.
The mathematics is not that difficult when you have the seperating axis theorem and the basic knowlage of a simple circle and a rectangle.
The rectangle vs rectangle one checks to see if there is overlapping by the x-axis of the rectangle’s extension, width and height. Then it checks if it is ovelapping the y-axis. (seperating axes […]
Doing Collision management
I have made a Collider class.
It has Three overlap bool functions for rectangle vs rectangle overlaping, rectangle vs circle overlaping and circle vs circle overlapping.
The mathematics is not that difficult when you have the seperating axis theorem and the basic knowlage of a simple circle and a rectangle.
The rectangle vs rectangle one checks to see if there is overlapping by the x-axis of the rectangle’s extension, width and height. Then it checks if it is ovelapping the y-axis. (seperating axes […]
Even more collision!
Today I worked some more on the collision-checks for the game. I got the line-circle collision to work with SFML. The code had been working for a while before I realized I had forgotten to update the players collider position when the player moved. Now it has been implemented and I will put it to the test tomorrow.
I have also added a check between two circles. Most of the objects (I believe all the objects but the projectiles) will have […]
Even more collision!
Today I worked some more on the collision-checks for the game. I got the line-circle collision to work with SFML. The code had been working for a while before I realized I had forgotten to update the players collider position when the player moved. Now it has been implemented and I will put it to the test tomorrow.
I have also added a check between two circles. Most of the objects (I believe all the objects but the projectiles) will have […]
Escape week 2 day one
Well for the past two weeks I’ve been working on mostly the scrum document, the design document and the prototype of the game. While now I get to start working on the inner workings of the game, I will begin with all that concerns the sound of the game.The game will be about a corporate spy in a sci-fi 40′s setting that enters a office building on a mission to steal “the documents”.
The programming on my part will to a […]
Escape week 2 day one
Well for the past two weeks I’ve been working on mostly the scrum document, the design document and the prototype of the game. While now I get to start working on the inner workings of the game, I will begin with all that concerns the sound of the game.The game will be about a corporate spy in a sci-fi 40′s setting that enters a office building on a mission to steal “the documents”.
The programming on my part will to a […]
Developing the game using SCRUM
This Post was created -2014 02 02
Last wednesday, we thought we’d try to get some basic stuff to our Project up and running by the Sprint Review/planning on (last) friday.
We initiated the Game states StartState, the first screen containing quit, play and options button, GameState, in which the acctual gameplay is, optionState, change volume and such.
By “initiated” I mean just made the hpp and cpp files with some empty methods. We also made a StateManager to go with that […]
Developing the game using SCRUM
This Post was created -2014 02 02
Last wednesday, we thought we’d try to get some basic stuff to our Project up and running by the Sprint Review/planning on (last) friday.
We initiated the Game states StartState, the first screen containing quit, play and options button, GameState, in which the acctual gameplay is, optionState, change volume and such.
By “initiated” I mean just made the hpp and cpp files with some empty methods. We also made a StateManager to go with that […]
Game Programming 2 and Game Developement introduction
The Project I last did with Jonas is no doubt in need of some finishing work, but we have 4 attempts left and there is not very much left to complete.
This post is not about that, all though I may be blogging about that project as well.
This post is about the current two courses: Game Programming 2 and Game Production – an introduction.
In the first course, game design and analysis – an introduction we all worked in groups and created […]
Game Programming 2 and Game Developement introduction
The Project I last did with Jonas is no doubt in need of some finishing work, but we have 4 attempts left and there is not very much left to complete.
This post is not about that, all though I may be blogging about that project as well.
This post is about the current two courses: Game Programming 2 and Game Production – an introduction.
In the first course, game design and analysis – an introduction we all worked in groups and created […]
Game Developement and Coding
This week we had our first scrum sprint, meaning we set up assignments for each group member to be done with by Friday. The assignments were either art, music or code to be used in the game we are making, Dangerous Dander.
Being a coder my assignments were to start on the different classes of our game objects as well as their inheritance structure. That basically means I had to make so called Parent classes from which other classes will inherit […]
Game Developement and Coding
This week we had our first scrum sprint, meaning we set up assignments for each group member to be done with by Friday. The assignments were either art, music or code to be used in the game we are making, Dangerous Dander.
Being a coder my assignments were to start on the different classes of our game objects as well as their inheritance structure. That basically means I had to make so called Parent classes from which other classes will inherit […]
Project Haunted Light 2013-02-02
Today I finally got the States working,I had goofed up the code because I had accidentally removed the while loop in main that keeps the game running, instead of just shutting it down after it has run one time. And after that I was going to start with the input for the game but it seems like we already have one up and running in the prototype.
So my task for the following week is to get a functional drawmanager and […]
Project Haunted Light 2013-02-02
Today I finally got the States working,I had goofed up the code because I had accidentally removed the while loop in main that keeps the game running, instead of just shutting it down after it has run one time. And after that I was going to start with the input for the game but it seems like we already have one up and running in the prototype.
So my task for the following week is to get a functional drawmanager and […]