• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • The Eevee Expo Game Jam has concluded! 🎉 Head on over to the game jam forum to play through the games.
    Don't forget to come back September 21st to vote for your favorites!
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!

Region map point of interest position bug?

delusionsofgrandr

Novice
Member
Joined
Aug 10, 2024
Posts
36
What could be causing the game to add +1 to the x and y coordinates of the points I entered into the town map?

Wxuei0d.png

The red square next to the cursor is where the point should actually be, but the information only appears at the point where the cursor is.

n742OMg.png

Oddly, the fly marker appears at the right coordinates, but you can't click on it, only on the point x+1,y+1 from where the point is supposed to be.

I did change the square size to 8x8 (previously was 4x4 but that quickly drove me insane), but I didn't touch anything else relating to the map UI. I also haven't installed any plugins that affect the map UI that I can think of.
 
To understand, so when you say you change the square size to 8 x 8
Can you give more information on the size? Is it in pixels?

The original cursor.png within "Graphics\UI\Town Map" is 64x32 pixels
Did you double the size of that to 128 x 64 pixels?
 
To understand, so when you say you change the square size to 8 x 8
Can you give more information on the size? Is it in pixels?

The original cursor.png within "Graphics\UI\Town Map" is 64x32 pixels
Did you double the size of that to 128 x 64 pixels?

I just changed this part here:
Ruby:
Expand Collapse Copy
class PokemonRegionMap_Scene
  LEFT          = 0
  TOP           = 0
  RIGHT         = 59
  BOTTOM        = 39
  SQUARE_WIDTH  = 8
  SQUARE_HEIGHT = 8

The cursor's the same size, do you think I should reduce it by half?

EDIT:

I feel so stupid. I reduced the cursor down to 32x16 and that solved the problem. Thank you!
 
Last edited:
Back
Top