Skip to main content

Posts

Showing posts from November, 2017

Week 9

For this week I will be working on implementing the offline android build once our game designer is done with making our controls look visually appealing, in the meantime, I will be preparing for the Android build soon. I have been working on visually indicating the health on the player itself by using the material color, I am currently doing this by using two colors however I am unable to get it to work according to how we would like it to work as the calculations I am doing for T in color.lerp are based of my health/maximum health & T in my current case is a value between 0 which is color A , 1 which is color B & 0.5 which is a color between A and B  . The method works between green and yellow, however, this will not work between yellow and red as the value the health calculates will be a value between 0.5 and 0 which would not transition properly.  I have been looking into making a gradient, however, I do not understand how the gradients work completely. ...

week 8

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...

week 7

For this week I will be keeping my focus on the android controls as too much of my attention is going towards my learning outcomes, just an update on my learning outcomes, I have finished two of my learning outcomes which are mesh deformation and persistent score in a side project meant for my external learning outcomes. While working on the android controls I watched a tutorial to understand how unity’s event system works as I have not worked with it before , it seems to be simple enough although I made a few human errors while coding the OnPointerdown method visual studio prompted me to fix an error which I miskicked and it added the code “throw new System.NotImplementedException(); ” which made the errors go away although it was not something I understood & it was not meant to be there, rather it was supposed to take in the pointer event data which is shown in the screenshot below. The following gets the event data of the joystick being pressed when the...

week 6

For this week we have had out alpha demos & it went well, we are now in the process of getting &integrating our assets, bug fixing. I am personally working on finishing my research paper on quad & octrees which I have prepared a rough draft for this week and it looks like I have to right approach to the paper according to our facilitator Carlos, however, I am having difficulties with finding the right resources to write up the octree section of my paper, however, I will be looking up how to work with Android controls and be done before week 7. While looking up android controls I found out that the controls are done on the UI & that most the controls for UI are going to be linked to the event system which I have never used before but look forward to learning all about it. I have found some helpful links to understand octrees however I don’t think there is much in terms of a difference between quad and octrees and thus feel like the octree section of the paper is no...