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

Automatically convert infinite map data to finite #44

Open
Cleptomania opened this issue Sep 13, 2021 · 2 comments
Open

Automatically convert infinite map data to finite #44

Cleptomania opened this issue Sep 13, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Cleptomania
Copy link
Member

As reported in pythonarcade/arcade#955 when an infinite map is loaded, the data is stored differently using chunks as opposed to the normal data array you would see in a finite map.

The proposed fix is to automatically create that array for infinite maps, as most games/engines would exclusively be working with finite maps, and the infinite map feature is intended just for the editor more than anything. An infinite map would still store the chunk data and stuff, so re-saving a map or using that data from an engine would still be possible, but it would make it so a game or engine needs no specific code to have support for infinite maps.

@Cleptomania Cleptomania self-assigned this Sep 13, 2021
@Cleptomania Cleptomania added this to the Version 2.1 milestone Jan 9, 2022
@Cleptomania
Copy link
Member Author

Gonna try and get this in 2.1

@Cleptomania Cleptomania added the enhancement New feature or request label Jan 9, 2022
@Cleptomania Cleptomania modified the milestones: Version 2.1, Version 2.4 Aug 13, 2022
@Cleptomania
Copy link
Member Author

Moving this to the version 2.4 milestone. This may take priority over serialization, but we'll see what happens, if serialization is done before this, then we will probably just release and push this to 2.5 or later.

The user work-around for this issue right now is re-saving the map as finite using Tiled(or implementing your rendering system using the Chunk data as opposed to the standard finite data array)

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

No branches or pull requests

1 participant