Closed griffi-gh closed 1 year ago
Got to "usable" stage:
My sticky implementation:
Latest beta:
There are still some major issues though
decided to 2x the resolution on pc (and keep the same resolution on mobile...)
Before:
After:
this is a huge improvement.
I'll add a setting for it (if possible) later.
it would require a restart though
Is there any reason the sticky note resolution can't just be the higher resolution without a setting?
Is there any reason the sticky note resolution can't just be the higher resolution without a setting?
because it significantly slows down level loading (takes like a second or two to render fonts) if there are a lot of notes on low-end devices?
also, compatability. normally principia doesn't use textures larger than 1024x1024 and this goes above that.
maybe impacts some older android 2/3/4 devices?
didn't feel comfortable just keeping it enabled
probably should be merged into a single "Texture resolution" setting...
separate option just for sticky notes is a bit weird
wait we already have that right? android only though?
now lives here: #126
Shoves (up to) 64 notes into a single 1024x1024/2048x2048 texture!
Everything is configurable! (Note width, height, font scale, texture width/height, slot count, non-square textures should be supported)
should be good enough (tm) to merge, but please test thoroughly.
This also adds a new "Sticky note resolution" option (which is enabled by default on PC, and disabled on Android)
This is not a complete rewrite, and it still does some weird things under the hood...
Btw, I disabled layer switching I added in the #107, mostly just for testing, but it didn't work wery well anyway. :p
basically just a visual change.