Frogger Dev. Post 06
|
We made some good progress today. We’ve now got working logs and a background. I worked on making the logs while Herman worked on the background. The logs work in a rather simple manner. They move in a constant speed and when they come in contact with the player they use a different update function that takes the player along with them at the same speed. The Gamestate’s update function handles this, to help with this task the Gameobjects have been given the IsObj function which is a pure virtual function that works similarly to the states IsType function in that it returns a boolean expression depending on if it is the right type of object, which is useful when you want to know what kind of object the currently updated Gameobject is. Maybe expecting to be done with the basics around christmas was a little bit optimistic. The coding always seem to be extremely simple when you look at it afterwards, but in reality figuring out how to construct everything is rather challenging and takes some time. Also, it always seem like you’ll get stuck at the stupidest things (like having a “=” too much or similar) and then you waste an hour figuring it out (in case you couldn’t guess this happens to me alot more than it should). We’re getting done with the basics and the big picture so right now we just need to construct the game itself (that’s a big “just” if ya ask me) and while I still wish that we could be working in a better pace, it feels as if we are going to get done on time. |