Finishing touches
|
So last blog post I made I talked about me being sick and equip, item and weapon manager. Because I got sick I was not able to finish them in time of the beta but being in a team a other teammate took the job so those are now finished and looking good. So the game is now almost finished and now we are adding the finishing touches. I got two artifacts to make this week and one of them I was assigned today. Artifact one: So I made it so that the character now shoots in a random arc. Why you might ask well because the character in our game is suppose to be more of a normal human than a spy. Because of that the characters aim is not perfect and so with a few ifs and such I have made the bullets shoot at a random direction. Because of laziness it took a little longer than needed. Yet it was done in less than 3 hours. Fatigue is used in that calculation so that the ”aim” of the character is worse when you have run out of breath. So a quick recap. Artifact one made the character shoot at a random direction so the aim is not always spot on. Artifact two: Today I got the assignment to make a Slider. What is a slider you might ask I will tell you. This is a slider, the box and orange color is there for you to see further explanation. So the black box is there to make the grey box stay inside the black box, a limiter if you will. Then the starter position where the grey box is now will contain a value like 0.0 and the other end 1.0 so that you can use the dragged icon to keep a set value used in future reference like controlling the volume. So the problem now is making this into code. I have worked out some of it like both boxes but the dragging makes it a bit harder and that is something I am working on. The other problem I am currently having with this is the value part but one step at a time and I will solve this before the end of tomorrow. I did A LOT of Google searches before trying to make the slider but all of the ones I get is either giving me no information that I can use or uses a external library. Now I am all for external library’s but for two buttons it seems a little over the edge so I will not add one. Recap: Second artifact. Make a slider that works and in the future will control the volume. Hope everyone reading this will have a good weekend. |
