181
Graphics / Re: Loading large textures
« on: October 22, 2020, 01:38:49 am »
so, do you have a minimal code that reproduces the problem?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
n is the current tile where the mouse isalso, i got rid of the rendertexture.i simply draw the colorized tiles to screen, process what is needed, clear the screen and draw what will be visible to the user.
id is color id of that tile (always n + 1)
r, g and b are the corresponding colors of that id
x and y are the tile position on the map
m_stamp_sprite are the positions of the sprite's vertices (x and y)
identified building is... well, the building identified by the color