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

Implement virtual bool load_collision_grid( std::string map_file ) for collision_controller_base family #181

Open
nhurde opened this issue May 20, 2024 · 0 comments
Labels
enhancement Investigation Needed This issue requires further sleuthing to proceed.
Milestone

Comments

@nhurde
Copy link
Contributor

nhurde commented May 20, 2024

Depending on how the Editor or users export inner and intra-layer collision save files from project properties, implement the function that changes the bool collision_layer_grid[max_collision_layer_count][max_collision_layer_count] values based on what's inside of the text files.

Since its literally just a 32 x 32 boolean, this can be implemented in pretty simple ways.

Some optimizations can happen, but this function is not executed often and will probably only be executed once on program start or once per scene level load(If executed on every scene level loading it may require a little better optimization).

The functions that will be using this updated grid are already made via #113. so once this is done it will be easy to test.

@nhurde nhurde added enhancement Investigation Needed This issue requires further sleuthing to proceed. labels May 20, 2024
@nhurde nhurde added this to the Summer 2024 milestone May 20, 2024
@nhurde nhurde moved this from 📋 Backlog to 🆕 New in Game Pencil Engine Milestone Roadmap Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Investigation Needed This issue requires further sleuthing to proceed.
Projects
Status: 🆕 New (Priority )
Development

No branches or pull requests

1 participant