What did I do this week?This week was a tumultuous week in working on our group game. It began with attempts to refine the script by changing variables and it worked to a degree. I was puzzled by the position of the Z axis because despite it being close to the origin, it had a -90 on the Z axis. Despite this, it showed up close to the origin with its move tool showing up far away, closer to the negative 90. I also decided that it was a good idea to move into a new project that would use 2D sprites rather than cubes. As programmer, I am in charge of maintaining the functionality so I must be the one to look at and fix issues like these. What was my greatest accomplishment?This week, I would say that my greatest accomplishment was giving up on the old tutorials and moving to new ones. I ended up choosing this route because I could not get the old tutorials to work in any way. This is my greatest accomplishment because it is very risky to move on from something you have put so much time into to move into something else. What were my problems and how did I fix them?This week, I ran into an insurmountable tsunami of problems beginning Monday with the character doing all kinds of weird flips and things like jumping off the scene. To fix this, I changed the trigger from the Fire key to the F key. I did this to make it easier to click as well as removing the settings the Fire keys had on them already. I then continued to deal with the projectiles misfiring, so I ended up scrapping the projectile script entirely and moving into a new one. Next Week's PlansTuesday - continue revamping move script Wednesday - work on projectile system Thursday -work on projectile system Friday - work on projectile system Image of Work
0 Comments
What did I do this week?This week, I continued to work on the projectile system. While working on making the projectiles launch, I ran into a couple of issues that I will elaborate on later. I also worked on refining the patrol script and how it interacts with the Door script. I continued to work with my fellow programmers with the projectile script as well. What problems did I run into this week?This week, I ran into many problems. First of all, I found that the player jumped around and did all many weird things such as exit the scene when projectiles were fired. I also found myself unable to see the projectiles that were being fired when the O and P keys were pressed and that they were not interacting with the enemy at all. In addition, the projectiles were being fired with gravity. I was not able to fix the first and last errors but when I moved the background back a bit, I was able to see the projectiles. I fixed them going in a curve by freezing their Y position. My Greatest AccomplishmentThis week I would say that my greatest accomplishment would be visualizing the projectiles. I say this because in order to make the projectiles function as intended, you first need to be able to see them. Next Week's plansMonday - make projectiles interact with enemy
Tuesday - allow for enemy to fire projectiles Wednesday - work on health system for enemy Thursday - work on health system for enemy Friday - Create an attack script for the enemy What did I do this week?This week was more of a cleanup week for me. After making the patrol script function as intended last week, I decided I would revamp my scripts to make them easier to understand. While I did end up using some more complex code, it was much less code than was present before. This relates to my role because as Programmer, I am in charge of making sure that scripts are functional and easy to understand. What problems did I run into this week?Compared to the last few weeks, I had relatively few problems I had to fix. The major problem was getting the door to only be opened by the player. In order to fix this, I had to convert the box collider to a 2D box collider. When I did this, I noticed I still had the same error. So I made sure that the collider only went up to the door and not past it. This would ensure that the enemy character wouldn't be able to access it. As a result, I was able to put the power to open the door back in the hands of the player, fixing the issue. My Greatest AccomplishmentThis week, I was most proud of finding a channel that provided me with great tutorials on enemy health, player movement, and projectiles. These are all critical in ensuring that our game is functional and works as intended. I am looking forward to using this channel in the future to refine the game. Next Week's PlansMonday - Finish with projectile error Tuesday - Link projectiles and damage Wednesday - Link projectiles and damage Thursday - Work on making the AI deal damage Friday - Work on making the AI deal damage Image of WorkLink to helpful tutorials“Distorted Pixel Studios.” YouTube, YouTube, https://www.youtube.com/channel/UCO8iVbK5YAT_Gmd41WwzJ2w.
What did I do this week?This week, I continued to create scripts for our group's game. I finished refining our Wall script and moved back into my old test scene. I set the walls to be triggers in order to make these scripts work. I also began to create a working health system for the enemy character by using a slider. This relates to my team role because as Programmer I am in charge of making sure the game is functional and works as intended. What problems did I run into and how did I fix them?This week, I had similar problems to last week with the AI patrol not functioning properly. In order to fix this, I watched a new tutorial and checked everything against it to try to detect my error. I discovered that I was supposed to use a 2D box collider instead of a 3D box collider, which ended up fixing my error. Afterwards, I moved onto fixing the respawn aspect of my script. I re-watched a tutorial that I had watched before and I realized that I had the code in the wrong place. I then moved the code back and it worked. My Greatest AccomplishmentI was very proud of fixing these two errors, as they had been plaguing me for weeks. I even made a sigh of relief when I finally got the patrol script working. By fixing these errors, I am able to give these scripts to Jacob so that he can use them while white boxing out the game. Plans for next weekMonday - work on the error Tuesday - continue to work on the error Wednesday - work on combat Thursday - work on combat Friday - work on combat Work from this week |
AuthorHello my name is Owen Howard. I am a junior currently enrolled at Durham School of the Arts and this blog will document my experiences in this class. Categories
All
Archives
May 2022
|