Montag, 1. Mai 2023

New Feature - Final Bug Fixes For 0.5.3 - Preliminary Version Release

I was sick over the weekend and barely got out of bed. But whenever I couldn't sleep I did some work on a new feature:

- Once you buy the "Guide" rune from the king, a black mark will appear next to your compass

- This black mark will always lead you the way back to Yama  

Implementing it was a nightmare though. When was the last time you guys dealt with sin/cos and arccos functions? Exactly. Same for me. So back to school it was. 

The difficulty in implementing anything that is related to UI and world coordination is correctly applying analytical geometry. I learned all of this stuff 17 years ago. Never in my life did I imagine I would need it again and be DESPERATE for that knowledge at some point in the future.

This is what my screen looked like most of the time:


And this is the debug log I created with Print To String variables in order to help me figure out what I did wrong.



What's worse is, that when you're attempting to create a code based on analytical geometry, you are naturally doubting your own math skills. But as it turned out, my math was right. The marker next to the compass didn't update, because the code didn't update the location of the teleport tunnels leading back to Yama's hideout. So it always pointed towards the location 0,0,0 ..... and I kept going crazy thinking: "Why isn't it moving???"

But it's in there now. 20 light beings and the rune is yours.

I'll also release the preliminary version of 0.5.3 via Linktree without a big announcement. Testing has shown it works great, even if it has some flaws. So on the off chance that there's some insane person out there willing to download a 11.8 GB mega demo from a random dropbox archive, I don't want to disappoint that person.


Keine Kommentare:

Kommentar veröffentlichen