Tuesday: Today started off with me going directly to ollie, our current sound expert for help with the beat speed, and it turns out that it wasnāt an issue with update but instead because I had the bpm slightly offset, they were able to figure out I had it going slightly faster than needed so now that I have it at 131 bpm instead of 130 it seems to be lining up a lot better with the song. I made a very basic visualization system where it activates and deactivates a canvas with a white box image attached every beat
Now Iām working on getting coroutines (which I just found out about) to work so that theyāll do a character by character typing of the text that characters have to say to the player.
Wednesday: I got the coroutine for the text scrolling set up and I think it actually looks pretty good, next I think Iām gonna work on having a button system set up so that the player can quickly change out whoās in the front (and thus, whoās going to be fighting the enemies) whenever they need to
Iām trying to make it so that when the player presses the spacebar then it will activate/deactivate certain parts of code for each object, but itās looking like Iām just going to have to make a separate empty object that the player actually moves around while the visible objects just follow it, the biggest issue that I seem to be having is that while I can change the position of one character by using a variable for how far away from the leader it should be, (0, 1, 2, 3) but I think I can get the other characters to work just fine by having every other one subtract the reference pointās position relative to their own and go based off of that
Thursday: Today Iām going to work on making the shopkeeperās UI system so that theyāre able to sell the player items for a currency we havenāt really determined yet but thatās okay. Iām guessing Iāll have to set up some sort of inventory system that the player can easily access to actually show the items that they have bought and can use.
I just realized I never actually implemented the code I mentioned at the end of yesterday so Iām gonna try and get that in and then work on making the shop system
okay so making this work has been a lot more challenging than I expected, I might have to use an array to get this to work but Iām not sure exactly how I would implement that to work properly so Iām gonna visualize it a bit in google docs with a table to see if I can make it work.
OH MY GOD talk about overcomplication I just needed to move the function for changing the followerplace into a script thatās attached to all of the moving characters that just subtracts it at the press of a button and sets it to the highest number if it ever becomes 0. Iām done for today anyways itās getting pretty late in the day so Iāll deal with the shop system tomorrow.
Friday: Today Iām going to set up the shop system like I thought I was going to yesterday
I have a basic system set up so that the player can interact with a shopkeeper, it pulls up the shopkeeper menu, and there are buttons that the player can click on corresponding to each item that subtracts a static money variable from the Sunās code so that the playerās money will stay consistent between scenes when it comes to that. I also have it check that the amount of money itās trying to take is always less than or equal to the amount that the player has so that theyāll never go in the negative. I plan to next week actually set up the inventory system for the player, but Iām not sure whether I should make it a part of the playerās script or the sunās, likely the sunās though.