Week 15 Dev Log (17/04/2023– 24/04/2023)


Overview Of This Week

This week I managed to implement the multi action mapping rebind and made good progress in my essay.

Made-Man: Options Menu

Before I could implement, fail and then reiterate the multiple action mappings, I knew from weeks prior that having a default settings button helps a lot when making new functions. This will be shown below:

Within this function (which is called when pressing the default settings button), it will remove all of the current action mappings and then replace them with a local key array.

Action mapping part 1

When the button is clicked, this event will be triggered. It follows much of the same logic as the normal action mapping apart from setting a Boolean to identify that a multi action mapping will be set. I created a new structure which will hold the starting pointer and the max number that the pointer will go to.

Action mapping part 2

When a key is pressed, it will check if it is a multi action mapping. In this case it will be true which will then use important functions.

Action mapping part 3

This is the function that is responsible for holding the key binds before they rebind. This will use the structure’s pointer and increment it until it reaches the max value. When this happens this function will return a true Boolean to set the binds that are held within a key array.

Action mapping part 4

This final function will then remove the current bindings and then replace them with the array that holds the new key binds.

Tech Essay

I wasn’t able to complete the tech essay this week. The only section left is the conclusion.

Extra Things I Have Learnt Or Problems I Have Solved This Week

  • With the tech essay, I found out how important a literature review is when using research. This section in an essay discusses the validity and reliability of sources used as well as the research into the topic as a whole. This pushed me back a bit on my set schedule on my Gantt chart but this is necessary to provide a good essay.
  • Whilst coding in the multi action mapping rebind, I had a problem within the “Action mapping part 4”. In this, I used a for each loop to remove the key binds. However, there was a problem of 3 key binds being set after the whole process. After experimentation, I found out that the reverse for each loop was the best option. I don’t fully understand the reason for why this happens. Through correlation, it is most likely due to the key mapping structures being sorted as a stack which is a (FILO) structure.
  • Whilst collecting data for my essay, I decided to use content analysis to analyse the opinions from the public to compare it to my findings

Plans For Next Week

Next week, I plan to complete my essay with the conclusion as well as proof read it to make sure that it fits within the word count and check for any possible errors. I will also try to continue working on Made-Man.


Leave a Reply

Your email address will not be published.