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

NPC/Group Entities Not Showing In Editor #172

Conversation

PythooonUser
Copy link
Contributor

@PythooonUser PythooonUser commented Nov 6, 2020

grafik

Summary

Fixes #145. Uses kind of a hacky approach. The problem is, that when generating a level somewhere entities, static_entities and non_collidable_entities are set. When loading any level for playtesting, entities get split into the other two categories, therefore we lose that entity information. However, when loading a level from e.g. generator these categories are not set.
This is probably one of the first steps into fixing the differences between editor and game levels.

Copy link
Collaborator

@joshuaskelly joshuaskelly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simple solution and you left the code cleaner than you found it! 🏆

@PythooonUser PythooonUser changed the title Bugfix/145 entities not shown in editor NPC/Group Entities Not Showing In Editor Nov 9, 2020
@joshuaskelly joshuaskelly merged commit 03ce6f6 into Interrupt:master Nov 9, 2020
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

Successfully merging this pull request may close these issues.

NPC/Group Entities Not Showing In Editor
2 participants