For this week we had our beta presentation due which went fairly well even though I did not have enough time to properly implement our android controller which made me personally feel like I did not do enough.During our presentation we were able to show off our networking although there were a few small bugs with the UI & network lag the presentation went fairly well and we got greenlit which means that we had sufficient progress for this week which means that I have some breathing room to finish my learning outcomes later in the week.
Since the android controller is done, I have been working on implementing preprocessors which will only execute certain lines of code depending on what platform the build is for, this will ensure that the code for Android will only execute while we build for that platform. For reference, I looked up unity documentation linked in the references below. (Technologies, n.d.) .
While testing the android controller with the player controller I have found a bug where in the player only moved vertically and not horizontally, this bug prevented us from adding the android controller into our beta presentation for this week however after some debugging I found out that the code for the horizontal movement was being called however the player was not moving which baffled us at first but after some quick troubleshooting I found the problem to be one of two things where in the first was that the rigid-body constraints were active thus it did not move and secondly the code was being moved on the Y axis rather than the Z which was a simple fix .
I have also made a quick offline first person controller but it seems to be buggy thus I have asked our designer to test it out, until then I will be working on some of my learning outcomes such as pathfinding wherein I plan to implement the Dijkstra's algorithm, another learning outcome that I have addressed is the physics-based outcome wherein I implemented a very goofy looking gravity system for planets which really motivated me to work on the next learning outcome before week 9.
While working on Dijkstra's algorithm I worked through the night to build something that works in a single go which is not something I should be doing, however, I want to finish the outcome as early as possible to make room for some personal time.
References
Technologies, U. (n.d.). Unity - Manual: Platform dependent compilation. Retrieved from https://docs.unity3d.com/Manual/PlatformDependentCompilation.html
Comments
Post a Comment