Wednesday, 9 December 2015

Day 54: IT FINALLY WORKS

Everything is fixable now, as I have figured out the problem. While working, I decided to fix my player sprites, as the were a little messed up for when the player was standing still with a gun. Once I finished that I went back to the problems I was trying to fix, and it hit me; the views. I noticed that the views were different, because I decided a while back to change the size of the view inside of the house, so that it would fit the screen better. I made it 512x384 instead of the previous 640x480. Because my text is being drawn relative to the view, it was being put just outside of the visible area. I have managed to get the Ammo text back into the view, and everything else should be pretty easy as well. Although, I may need to do some extra work here, because everything is quite zoomed in, due to the change of view. If it is possible, I want to try to change the way I draw everything so that it is always in the same spot. Maybe using another view, or something like that. (I have no idea, really...) The main thing is that I at least found out where things are, just outside of my view. That way I know they are at least being drawn, and they do indeed exist. Next class I will work on music, or I will be figuring out a new way to draw these things. I have no idea really. We'll just see what the day brings.

No comments:

Post a Comment