Friday, 11 December 2015

Day 56: Problem Solver

Today I worked a little bit on my own game, getting the clock to show up on the screen in the right spot. I also added it to say "Time" right beside that. I wasn't able  to do to much on my own stuff, because for alot of the class I was working with Nick to get the dodging to work, and a bit with Justin to get the player to face the direction of the mouse. I got that to work, by making the game check if the mouse was on the left or right of the player, and then changing his sprites accordingly. With Nick, we were able to make the dodge work by pressing shift and a second key in sequence, based on the direction you want to go. It is a little weird and it doesn't work completely well, but I thought of a way to fix that while writing this post; there are variables in the game that  I made that define which way the player is facing, so all I need to do is check which way the player is facing, so when you press shift, he jumps in that direction. It should work alot more smoothly that the key press sequence, and should be alot easier to code. Next class I will add a little bit to the gui, so that it looks better. From there, I will ask the guys what needs doing, and if we cant think of what to do for right now, I will add some more of Jake's artwork into my game so it looks nice.    

No comments:

Post a Comment