Graphics

Jovial Games

  • Posts: 132
Hello,
I imported some graphics that I made. I make graphics 4 times larger so that it can scale down in Stencyl with x4 and bicubic measurements,so that they can run on all sorts of phones.
But the graphics are not smooth,the edges of them are not alined properly,they give this 'pixel' sort of an effect which I don't like, how can I fix this? They only do this when imported in stencyl.

MrD69

  • Posts: 235
You could go to the resource folder after they graphics have been imported and overwrite them with you high quality ones, but you will have to be Extremely meticulous to ensure that the names match when you overwrite, and you would have to resize each graphic multiple times in an image editor for each scale you have included into your game.
Games: Arrow Mania, Breakout/Outbreak, Water Drop

tigerteeth

  • Posts: 733
Hello,
I imported some graphics that I made. I make graphics 4 times larger so that it can scale down in Stencyl with x4 and bicubic measurements,so that they can run on all sorts of phones.
But the graphics are not smooth,the edges of them are not alined properly,they give this 'pixel' sort of an effect which I don't like, how can I fix this? They only do this when imported in stencyl.
I would say there is probably some problem with the images you're using. Can you upload one here?

LIBERADO

  • *
  • Posts: 2720
This is an important problem because it reduces the quality of the downscaled images and negatively affects the overall aesthetics of any game. This problem has been commented sometimes in the Forum.
To solve it, I posted a suggestion in the Issue Tracker: http://community.stencyl.com/index.php?issue=261.0
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.

Jovial Games

  • Posts: 132
Could it be due to the scale of 'stretch to fit' ? My graphics seem distorted when I look at them on my phone,even though they are made 4 times bigger so that they can scale easily on every platform.

LIBERADO

  • *
  • Posts: 2720
Could it be due to the scale of 'stretch to fit' ?
No. That is because Bicubic and Bilinear resize methods are not good enough to downsize images.
For this reason, I suggested to implement the Lanczos resize method in Stencyl.
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.

Jovial Games

  • Posts: 132
What is Lanczos resize method?

LIBERADO

  • *
  • Posts: 2720
Lanczos resampling is typically used to increase the sampling rate of a digital signal, or to shift it by a fraction of the sampling interval. It is often used also for multivariate interpolation, for example to resize or rotate a digital image. It has been considered the "best compromise" among several simple filters for this purpose.

More info: https://en.wikipedia.org/wiki/Lanczos_resampling

« Last Edit: June 05, 2016, 08:20:47 am by LIBERADO »
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.