• Member Since 5th May, 2022
  • offline last seen 19 minutes ago

gapty


Hi. It's gapty. Read a fic today. Or don't. They're both the same to me. Just don't tell knighty I said that.

More Blog Posts59

  • Monday
    Chess Solitaire

    So the site I do the tents and mosaic puzzles has several more logic puzzle types. One of them is chess related.

    Read More

    0 comments · 10 views
  • Sunday
    Fimfic Is Dead

    Fimfic is dead. Long time users said so.

    Read More

    14 comments · 138 views
  • Friday
    So much about not writing anymore

    Well, remember me saying how writing is a waste of time and I would rather not write anymore?

    Well, I'm sitting at a fic that has already 9.5k words and just refuses to get finished. And I am determined to get finished.

    Why am I doing this to myself? :fluttershbad:

    9 comments · 49 views
  • 1 week
    Starting to get the hang of it

    My mosaic puzzle progress seems to go well. The daily puzzles time usage lowered from an hour to thirty-fourty minutes, and lately I set new personal tent and tree puzzles records. For the latter, I even manage to be more consistent time-wise.

    Read More

    0 comments · 12 views
  • 1 week
    Tooth Fairy

    For some reasons, I had a fascination for the tooth fairies. Not in a sense of believing in them, but building a world around an existence of them. Rise of the Guardians was a good movie to fulfill my wishes.

    Read More

    0 comments · 27 views
Mar
25th
2024

Internal Screaming: Who Needs Math? · 9:05pm March 25th

Me the whole day trying to size a rectangle inside a minimap:

Short background: There is a "play map" with all the heroes and enemies inside it. Then there is a screen where a part of the map is displayed.

Now I added a minimap which shows the whole map and the camera-rectangle (basically, showing you what part of the map you can see).

Everything was drawn by code. Which means I had to use correct vectorial math.

I didn't, because I used the wrong resize factors on the wrong things. A classic pen and paper sketch to visualise what was going on helped a lot—but I still had mistakes until I figured out that the minimap should not be a factor for calculating the camera rectangle size!

So, yeah. Drawing by code.

Fun.

But it works now :moustache:

Report gapty · 33 views ·
Comments ( 0 )
Login or register to comment