Enigma-Game / Enigma

Enigma is a puzzle game inspired by Oxyd on the Atari ST and Rock'n'Roll on the Amiga. The object of the game is to find uncover pairs of identically colored Oxyd stones. Simple? Yes. Easy? Certainly not! Hidden traps, vast mazes, laser beams, and, most of all, countless hairy puzzles usually block your direct way to the Oxyd stones …
GNU General Public License v2.0
134 stars 38 forks source link

48x textures rendered with 64x tileset settings are too small #84

Closed ariymarkowitz closed 1 year ago

ariymarkowitz commented 1 year ago

Certain textures, such as space and water, seem to render 2px too small with 64x64 tileset settings. It seems that this is caused by tiles that have 48x48 variants but not 64x64 variants. The pixels in between the tiles render as whatever color was previously in that location, without refreshing.

I am running Windows 10.

Screenshot 2023-02-27 205158 Screenshot 2023-02-27 205218

alochmann commented 1 year ago

Hi,

thank you for your bug report. I assume you saw this bug on the released version of Enigma 1.30, not on any newer github version?

This kind of error is a bug due to the primitive scaling used in Enigma 1.30. It appears when the window you are using is not of the recommended size. It disappears when you choose a fixed window size in the options menu, and don't resize the window (if you are using Linux please note that some window managers resize your window slightly without you knowing, if the window would be too large otherwise).

If you are interested, I can explain how exactly this pattern comes to pass; it gives quite some insight into how scaling works. However, I fixed it in August '22 with commits 89352b7, f5ce55a and some more. So this should not be a problem in 1.31 anymore ... unless you saw this bug in a version newer than August '22 ... ?

(Note: As of March 2023, I am working on some of the build scripts of enigma, removing old stuff ... the current github version of Enigma might not compile or might be unstable for a short while.)

Cheers, Andreas

ariymarkowitz commented 1 year ago

Yes I was using the released version. Sorry, I should have checked the dev version first. My bad!