[BUG] dialog not searching correctly for 2x image

BMJ

  • Posts: 278
I know you have acknowledged that there are scaling issues that need an overhaul, but I wanted to bring this one up, since it seems like there should probably be a relatively easy fix to this one. (And what I'm trying to do is *avoid* scaling altogether). I am running in 2x mode, and whenever I try to use a "scaling image", the image will always be displayed pixelly, regardless of which combination of settings I use for the scaling image and the window. Even if I select "no scaling", the result is that the image is twice as big as it should be and pixelly/blurry. For example, when I use an image called "LFI Sign IIb.png", I've also noticed I always get this error message in my Stencyl log:

there is no Image asset with an ID of "assets/data/LFI Sign IIb@2x.png"

So I tried renaming the file as "LFI Sign IIb@2x.png", and the same visual result happens, only with an error message that now reads:

there is no Image asset with an ID of "assets/data/LFI Sign IIb@2x@2x.png"

Is this something that could be resolved without a complete overhaul? It would solve a big aesthetic issue for me if it could be 'band-aided' somehow. :)

Justin

  • *
  • Posts: 4716
Running through the code quickly in my mind without actually checking what it does, I think it works this way. If it doesn't let me know.

If you have both the original and the 2x image present, and you tell it to display the original but you're using 2x scale, then it'll automatically select the 2x image instead.

- LFI Sign IIb.png <- If you've selected this image to display...
- LFI Sign IIb@2x.png <- ...then this one will be shown when played at 2x scale.

That's not exactly ideal, so I'll add this on github's issue tracker to be looked at for usability in the future.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

BMJ

  • Posts: 278
Thanks for the quick response (as always) -- unfortunately, that didn't seem to quite fix everything. It did get rid of the error message, but the image was still displayed large and pixellated (I have the scaling set to "no scaling" in the Window structure that uses this image). I also tried calling for the 2x image instead, but it produced the same results. I also tried changing the scaling settings in the Window scructure, but nothing seemed to fix the problem.

Justin

  • *
  • Posts: 4716
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)