Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game Logic and Tile Rendering Issues When Changing Default Resolution #2

Open
oukibt opened this issue Apr 12, 2024 · 0 comments
Open

Comments

@oukibt
Copy link

oukibt commented Apr 12, 2024

Hello,

I am currently working with [Repository Name] and encountered a significant issue when trying to modify the default resolution of the game from the standard 900x600. Upon changing the resolution, I noticed that the game's logic related to the environmental tile rendering starts to break down. Specifically, the tiles that make up the game world do not align properly, and it seems like their placement calculations might be tied to the original resolution settings.

Could you provide some guidance on how to properly adjust the game's resolution without disrupting the tile rendering? I'm interested in making the game viewable at different resolutions and maintaining the correct logic for environmental rendering.

Additionally, tiles begin to randomly change when the character's Y-position changes at certain intervals.
For reach this behavior I spawn near start house, go up about 100 meters and return back. The map tiles has been broken:
Screenshot_21

Thank you for your assistance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant