Browsing 'Programming': Posts from Game Design and Programming

The importance of using backups
This week, I’ve been working on improving the projectile and MenuState I’ve been working on before. My goal was to be finished with both the complete MenuState and the projectile by the end of this week. The reason why I wanted it done before this weekend is that our beta version of the game is coming up, and we want to finish things that are essential for our game. From former blog posts, both of these things are relatively finished […]

The importance of using backups
This week, I’ve been working on improving the projectile and MenuState I’ve been working on before. My goal was to be finished with both the complete MenuState and the projectile by the end of this week. The reason why I wanted it done before this weekend is that our beta version of the game is coming up, and we want to finish things that are essential for our game. From former blog posts, both of these things are relatively finished […]

Door class and levelmanager + problem
So what I have started to work on this week are a Door class that will interlock with the Levelmanager.
What does that mean? Well I so at first I needed to create doors that opened. Then something that I did not think about was asked of me from a graphic designer. He asked if I can do so the level changed between the different levels. I thought at first lets make it fast and easy. BUT then I ended with […]

Door class and levelmanager + problem
So what I have started to work on this week are a Door class that will interlock with the Levelmanager.
What does that mean? Well I so at first I needed to create doors that opened. Then something that I did not think about was asked of me from a graphic designer. He asked if I can do so the level changed between the different levels. I thought at first lets make it fast and easy. BUT then I ended with […]

The Green Warden – Report 4
Since last week’s post the group has decided on a simplified menu that will only feature a button for starting the game and one for exiting and thus we are trashing the whole options and loading part due to time restraint. The picture above is merely a simplified programmer-art version of how the new simplified menu would look like as we currently do not have any updated art from our artists on the new menu appearance. The black background […]

The Green Warden – Report 4
Since last week’s post the group has decided on a simplified menu that will only feature a button for starting the game and one for exiting and thus we are trashing the whole options and loading part due to time restraint. The picture above is merely a simplified programmer-art version of how the new simplified menu would look like as we currently do not have any updated art from our artists on the new menu appearance. The black background […]

Weekly blog assignment #4
Hello everyone and welcome back!
This week has had so many ups and downs. First I had trouble with the structure, then when I figured out how I should write the code I had some problems with the syntax. When I finally figure that out, the game just crashes over and over again. It has not been an easy (or fun) week. But when I finally solved it all I got so happy, for a day, then the game started to […]

Weekly blog assignment #4
Hello everyone and welcome back!
This week has had so many ups and downs. First I had trouble with the structure, then when I figured out how I should write the code I had some problems with the syntax. When I finally figure that out, the game just crashes over and over again. It has not been an easy (or fun) week. But when I finally solved it all I got so happy, for a day, then the game started to […]

Speldesign #4
Hej, nu tänker jag skriva lite om en artefakt jag arbetat på. Denna vecka har jag specifikt arbetat på en meny. Jag tog på mig detta för jag hade en idé om hur man skulle kunna göra. Jag testade min idé och den funkade fin fint. Jag gjorde med hjälp av programmet vi jobbar med (Visual Studio) att jag skrev fram tre olika texter. En för vardera alternativ.
Som alternativ har vi:
– Start Game
– Options
– Exit
Det är ganska uppenbart vad dom […]

Speldesign #4
Hej, nu tänker jag skriva lite om en artefakt jag arbetat på. Denna vecka har jag specifikt arbetat på en meny. Jag tog på mig detta för jag hade en idé om hur man skulle kunna göra. Jag testade min idé och den funkade fin fint. Jag gjorde med hjälp av programmet vi jobbar med (Visual Studio) att jag skrev fram tre olika texter. En för vardera alternativ.
Som alternativ har vi:
– Start Game
– Options
– Exit
Det är ganska uppenbart vad dom […]

Alien two has entered the game.
So we are carefully approaching the creeping doom that is the beta. The zombie model for our game. Maybe doom would be a bit harsh but it is an end we are working towards.
Anyway this week I have been working on implementing our second enemy for our game. The tongue enemy. This enemy is supposed to stay stationary on the map and when a player is within a certain distance it will shoot out its tongue. This tongue will then […]

Alien two has entered the game.
So we are carefully approaching the creeping doom that is the beta. The zombie model for our game. Maybe doom would be a bit harsh but it is an end we are working towards.
Anyway this week I have been working on implementing our second enemy for our game. The tongue enemy. This enemy is supposed to stay stationary on the map and when a player is within a certain distance it will shoot out its tongue. This tongue will then […]

Game Development – Nr.4 | Magic Writer
HighscoreManager
This week i have been working on updating a previous version of our high score system. The first version of the system worked in three steps. The first step was to load a .txt file and read different scores such as ”1000” etc. The second step was to sort all of the scores with the highest score first. The third step was to add a new high score and check if the new score mad e it to the high […]

Game Development – Nr.4 | Magic Writer
HighscoreManager
This week i have been working on updating a previous version of our high score system. The first version of the system worked in three steps. The first step was to load a .txt file and read different scores such as ”1000” etc. The second step was to sort all of the scores with the highest score first. The third step was to add a new high score and check if the new score mad e it to the high […]

”Sonic spike trap”
This week I’ve been working on implementing another object for the game, the “Sonic spike trap”. The main purpose for this object is that it will serve as a distraction for the player. As you can see it’s a circle shaped sprite with a blue circle outside of it. The blue circle is the traps “aggro range” which means that the player can’t enter unless it’s destroyed. Think of it as some kind of sound waves that this trap emits […]

”Sonic spike trap”
This week I’ve been working on implementing another object for the game, the “Sonic spike trap”. The main purpose for this object is that it will serve as a distraction for the player. As you can see it’s a circle shaped sprite with a blue circle outside of it. The blue circle is the traps “aggro range” which means that the player can’t enter unless it’s destroyed. Think of it as some kind of sound waves that this trap emits […]

Power Up Bullet
During this week I have not really worked on a single large ”artifact” that provides a good topic for a blog post. Unfortunately I also became sick yesterday so I apologize if the quality of this blog post is somewhat lacking. This week have mainly been about tuning already existing parts of the game, like adding animations. For example the new lane animations we have to provide the player with a visual separation of the three different lanes and also show […]

Power Up Bullet
During this week I have not really worked on a single large ”artifact” that provides a good topic for a blog post. Unfortunately I also became sick yesterday so I apologize if the quality of this blog post is somewhat lacking. This week have mainly been about tuning already existing parts of the game, like adding animations. For example the new lane animations we have to provide the player with a visual separation of the three different lanes and also show […]

Mole Munch – Dev log 4
Den här veckan har jag jobbat på att få bort alla minnesluckor som vi hade i vårat spel. En minneslucka är när man lagrar minne på ”heap” minnet. I Vårat spel så skapades minnesläckor väldigt ofta. Varje gång vi gjorde ett nytt objekt så skapades minnesläckor. Så när vi i början av spelet skapade 50 olika objekt som till exempel jordgubbar och mullvaden så uppkom flera minnesläckor. På bilden nedan ser man flera objekt i spelet. Till höger om mullvaden […]

Mole Munch – Dev log 4
Den här veckan har jag jobbat på att få bort alla minnesluckor som vi hade i vårat spel. En minneslucka är när man lagrar minne på ”heap” minnet. I Vårat spel så skapades minnesläckor väldigt ofta. Varje gång vi gjorde ett nytt objekt så skapades minnesläckor. Så när vi i början av spelet skapade 50 olika objekt som till exempel jordgubbar och mullvaden så uppkom flera minnesläckor. På bilden nedan ser man flera objekt i spelet. Till höger om mullvaden […]

Thor and Sprite Animations
Most of this week has for my part been taken up by getting the Thor library extension for SFML to work properly. Thor is made to provide options for 2D animation with SFML, allowing sprites to be animated. While it took quite some time to figure out, once I got it to work the process Thor uses is easy to replicate. Even so, installing the library was a confusing mess and the online instructions were more or less awful. In the […]

Thor and Sprite Animations
Most of this week has for my part been taken up by getting the Thor library extension for SFML to work properly. Thor is made to provide options for 2D animation with SFML, allowing sprites to be animated. While it took quite some time to figure out, once I got it to work the process Thor uses is easy to replicate. Even so, installing the library was a confusing mess and the online instructions were more or less awful. In the […]

Last Signal – Level Implementation and new Room System
This week I have been working on implementing the level files that our level designer has produced. I have encountered a few problems with this, and this is mostly due to how I created the Room System that I have written about in a earlier post.
The first problem was that the text file with the data for tiles, walls, etc contained too much information for it to be readable. If someone wanted to make changes to the level, […]

Last Signal – Level Implementation and new Room System
This week I have been working on implementing the level files that our level designer has produced. I have encountered a few problems with this, and this is mostly due to how I created the Room System that I have written about in a earlier post.
The first problem was that the text file with the data for tiles, walls, etc contained too much information for it to be readable. If someone wanted to make changes to the level, […]