Part 14
The first Part of Part 14 was an extension of JavaFX, where I learnt how to draw charts using JavaFX. Overall, not a too hard topic. One small funny error I spent a bit of time on was on the second exercise, where after an egregious amount of time writing code, my chart showed up. However, since I used an absolute path for the tsv data file, when I submitted that code to the server, it showed an error. Then after a lot of debugging, I remembered a previous exercise, where I had to remove the absolute path before it worked, and when I did that, it worked perfectly.
Then, I spent a good bit of time cleaning up my jdk installation, before resuming pain Java.
On the next exercise, I needed to create a line chart that shows the amount of savings over time, and this was more pain than I’ve ever experienced. Creating the components was easy, but the formula for plotting the points, yea that was pure torture. 2h of trying, and I finally caved. I thought I was good at math but oh well, asked AI what I was doing wrong, and apparently, I was off-by-one in my data plotting & my formula was adding the savings too many times. Absolute headache going through that, but at least I was finally able to overcome it. And then another problem sprang up. There was an index out of bounds error when running the tests, and I asked the discord server why this was happening, and basically, I was missing 4 lines of code, that is essentially just styling the program, which caused that. yea true pain.
I also went on a journey of remaking Aseprite (well not really), and I copied Andy Warhol and remade the Mona Lisa. I almost got it first try, except for one thing. See, humans cant see minute pixel colour differences, but computers can. Not so long story short, due to pixel overwrites from integer truncation, the pixel colour values were just ever so slightly off, that the tests were failing. After previous traumatic events, I caved and asked AI what was wrong, and basically the loop incrementer supplied by the base program was wrong, and it fixed it. It’s fun to leave the boring stuff to AI, and the fun stuff for me.
I then followed the step-by-step guideline on remaking Asteroids by Atari, and I think it went ok.
I’m most excited right now because finally I complete the Java MOOC course, and I can start work on my mod. But I’m also quite scared/anxious, because I don’t even know where to start now, after so long of not working on my mod. but i’ll figure it out, hopefully.
and im also gonna take this time to ask for any name reccomendations, or do you think i should just go with resource-screening
^____^
✌️
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.