Skip to main content

week 4

For this week I am working on fixing the jitter bug within the hinge control which seems to still persists even with a offset in place to make sure it does not happen again, I have looked over the code line by line and it seems like I have fixed the problem and everything seems to be working fine . Our presentation for this week went well from the progress of the programming end but we got a red light for our games design aspect which was something not under my control.
While further testing the barrel rotation we found that it would not look towards the mouse position and just be stuck there. I will be working to fix the problem and hopefully be done before the weekend.
For this week’s class, we were looking at how a tree waypoint system works along with weights of each point which looks a lot like a waypoint system & for the rest of the classes we looked up how to do login verification on a photo server.
After long hours spent on bug fixing I decided to ask on of my lecturers for help , after going over the code he pointed out that a large chunk of my code was not needed & after going through my code the second time we found the problem to be that although the clamps are working there are more conditions needed to properly clamp the rotation of the barrel , for example the clamp works when there is no rotation applied to the object but once you rotate using the flip mechanic it does not clamp properly as it does not know if the angle is -30 / 330 degrees thus to fix the problem we needed to clamp the angle to check if we are more than 30 but less than 180 degree & if its more than 330 & more than 180 to make the clamp work .
I have also worked on doing research into the special portioning learning outcome we have for this trimester wherein I have looked upon how quadtrees work although I don’t understand how the Oct trees work and how this reduced the calculations.
Now that the barrel rotation works, we have found a bug wherein the controller does not work as intended in the white box scene. Our game designer thinks that the controller is broken but having a closer look at his version of the scene showed that the player controller does work properly but it needs to be in a level where its position is 0, 0, 0 & the camera must be directly over the player while also being set to orthographic. This did not take very long to fix but unfortunately, our designer feels otherwise & I had to make the changes for him which took more time out of my day.

For next week I will be working on adding stats to all the mechanics so that the game designer can tweak them and make sure everything works as intended before we can start adding the code to the actual models which are due in this week. Another task I will be working on is the android controls for the game as that is one of the exotic platforms we need to publish for this semester 

Comments

Popular posts from this blog

week 11

For this week I will be learning some basic animation from one of the animators to understand the workflow of other fields and in doing so I have modeled some basic objects such as a table, chair and a few other things visible in the picture below. Another learning outcome I have been working on is around making a API wherein I decided to make a dll file , the reason I chose a dll file was because this is something new to learn and it is a good way to protect my code from being used by unauthorized users . To start off on learning how to make a dll, I started with looking at lots of guides but noticed a lot of them were not using monobehaviour which is something I needed to run my steering behaviors as they use man classes found in monobehaviour such as transforms and vector3. After some assistance from my lecturer I have been able to find the right resources and start working on the dll itself but more things are yet t...

Studio - 3 Week-5

For this week I have been working on setting up by SQL database on localhost but I know nothing about it and I will be researching on how to make a table, learning the right syntax to use in php to communicate with the SQL server. The PHP code necessary for connecting to the SQL database on localhost is pretty simple as all you have to do is declare in the information needed to login into the database such as the server name, database user, database password and the databases name which can be seen in the snippet below. Next, we need to form a connection to the database and check if we are connected before we can go ahead, this is a small optimization. In order to connect to the database, we declare a reference $conn which will equal to mysqli_Connect which is the syntax needed in the PHP script in order to form a connection. The if condition only checks if a connection is made and if it has not then it will kill the connection with a die functio...

week 12

This week we were going to start building our final builds however we found a new bug which was due to poor design from my end as a programmer, last week we fixed the issue with the player partially being the in the wall however this created a new problem wherein the shields did not take and damage and this is really bad as it is a major game mechanic. To fix this issue we tried many solutions , but they all seemed to be having their own flaws & drawbacks thus we eventually decided to keep the rigidbody on both the shields and made the main objects box collider bigger with the shields box colliders being slightly bigger than the main bodies , this made the collision work properly and was a simple enough solution however I feel like this situation could have been avoided if better tech design decision would have been made from the beginning  . Once all the problems were solved I started working in 3ds max again to cr...