Daily Archives: December 25, 2013

Event System in C++

As a part of getting input into the game I’m working on for the programming course we’re taking right now, I wanted to implement some kind of event system. I come from a background in web development, working a lot with javascript and actionscript and I tend to draw inspiration from there. I always liked the flexibility and ease of use of the event handling in javascript and actionscript, and I wanted to try and do something similar with my […]

/ Comments Off on Event System in C++
Program: Programming

Event System in C++

As a part of getting input into the game I’m working on for the programming course we’re taking right now, I wanted to implement some kind of event system. I come from a background in web development, working a lot with javascript and actionscript and I tend to draw inspiration from there. I always liked the flexibility and ease of use of the event handling in javascript and actionscript, and I wanted to try and do something similar with my […]

/ Comments Off on Event System in C++
Program: Programming

Post for two days

While i remembered to make a post about Sunday on Monday, i ironically forgot to make Monday’s post on Monday. So, Monday I went through the code trying to find the exact line that drew the player onto the screen. It became a test of going through code over several classes as i didn’t save the work without the animation from the platformer project. I was eventually unable to find it and i ended the day on a low point.
Tuesday […]

/ Comments Off on Post for two days
Program: Programming

Post for two days

While i remembered to make a post about Sunday on Monday, i ironically forgot to make Monday’s post on Monday. So, Monday I went through the code trying to find the exact line that drew the player onto the screen. It became a test of going through code over several classes as i didn’t save the work without the animation from the platformer project. I was eventually unable to find it and i ended the day on a low point.
Tuesday […]

/ Comments Off on Post for two days
Program: Programming

Event System in C++

As a part of getting input into the game I’m working on for the programming course we’re taking right now, I wanted to implement some kind of event system. I come from a background in web development, working a lot with javascript and actionscript and I tend to draw inspiration from there. I always liked the flexibility and ease of use of the event handling in javascript and actionscript, and I wanted to try and do something similar with my […]

/ Comments Off on Event System in C++
Program: Programming

Event System in C++

As a part of getting input into the game I’m working on for the programming course we’re taking right now, I wanted to implement some kind of event system. I come from a background in web development, working a lot with javascript and actionscript and I tend to draw inspiration from there. I always liked the flexibility and ease of use of the event handling in javascript and actionscript, and I wanted to try and do something similar with my […]

/ Comments Off on Event System in C++
Program: Programming

Programming Project, day 12

I’ve created states within the gamestate, two so far. They called “GamePlayState” and “GameEndState”.
I made a ScoreManager because that is the next step to expanding the game. It uses to save and load the current highscore.  It works and tracks the following things: current score, high score and player wins (support for 4 players, even though the rest of the game is hard coded to two at the moment).
To get all these things to work the way I want I […]

/ Comments Off on Programming Project, day 12
Program: Programming

Programming Project, day 12

I’ve created states within the gamestate, two so far. They called “GamePlayState” and “GameEndState”.
I made a ScoreManager because that is the next step to expanding the game. It uses to save and load the current highscore.  It works and tracks the following things: current score, high score and player wins (support for 4 players, even though the rest of the game is hard coded to two at the moment).
To get all these things to work the way I want I […]

/ Comments Off on Programming Project, day 12
Program: Programming

Levels!

Hi again!
I sat all christmas eve (yesterday)  trying to figure out why my enemy would not show up on the map.
I had made an EnemyObject class and the cpp-file pretty similar to the Player object files. I used the very basics of the Player object and removed the keybord forward declaration and it’s implementation in the constructor. Everything was in order, I debugged and the object was there and its collider at the correct position but there was no sprite! […]

/ Comments Off on Levels!
Program: Programming

Levels!

Hi again!
I sat all christmas eve (yesterday)  trying to figure out why my enemy would not show up on the map.
I had made an EnemyObject class and the cpp-file pretty similar to the Player object files. I used the very basics of the Player object and removed the keybord forward declaration and it’s implementation in the constructor. Everything was in order, I debugged and the object was there and its collider at the correct position but there was no sprite! […]

/ Comments Off on Levels!
Program: Programming

Programming Assignment, Blog Post 1

I’ve started working on the assignment, but I’m having a hard time making the duck objects when I have no draw or object manager which is part of my project partner’s chores.
I made a sound manager for the sound and music clips, but I get a lot of errors saying things like “Error 3 error LNK2001: unresolved external symbol _Mix_HaltChannel” so I don’t know if I missed adding anything to the project’s properties or it’s something else I’ve done wrong.
[…]

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

Programming Assignment, Blog Post 1

I’ve started working on the assignment, but I’m having a hard time making the duck objects when I have no draw or object manager which is part of my project partner’s chores.
I made a sound manager for the sound and music clips, but I get a lot of errors saying things like “Error 3 error LNK2001: unresolved external symbol _Mix_HaltChannel” so I don’t know if I missed adding anything to the project’s properties or it’s something else I’ve done wrong.
[…]

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