Monday, 14 December 2015

Day 57: GUI work

On this day, the 57th of working on Game Maker Studio, I worked more on my GUI. I added a hotbar today, which will help visualize the fact that each weapon is assigned a key from 1 to 5. (It is actually in the center of the game's window, the screenshot just doesn't show it all that well.) I have finished the sprite for the most part, but I don't entirely like it. I am going to try to style it similarly to the health bar so that it kind of fits the theme better, and flows nicer. I have a few ideas in mind to fix the look of it... and speaking of the health bar, I noticed today that it is actually broken; in moving all of the code to a different object, I forgot to copy the code that draws the health bar itself, so I am going to have to draw a new one. It's okay, because I'd still have the same amount of work to do if I hadn't deleted it. I would still need to replace all of the values so I can move where it is being drawn, and change the size of it to fit the new size of the health bar. It should be pretty simple to figure out. That will be something I could work on next class if I have the time. Tomorrow I will continue working on the hotbar that I started today. Once I get a sprite that I am happy with, I am going to try making it work, based on which weapon I have equipped. All I need to do is make another sprite that shows which one is being used, and figure out exactly where to draw that sprite. 

No comments:

Post a Comment