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

做无限的Grid世界,如何控制资源? #6

Closed
Xorcerer opened this issue Jun 24, 2014 · 2 comments
Closed

做无限的Grid世界,如何控制资源? #6

Xorcerer opened this issue Jun 24, 2014 · 2 comments
Labels

Comments

@Xorcerer
Copy link
Owner

@observerss 用类似稀疏矩阵的方式存储数据。
那么显示呢?地上的格子都是某个prefab的instance,然后走到哪里铺设到哪里,对吗?身后消失的格子,是重用他们的instance放到身前,还是有某种delete手段?

@fancyzero
Copy link
Collaborator

2d看不到那么多格子,随便你怎么折腾,等瓶颈了再考虑复用instance

@Xorcerer
Copy link
Owner Author

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

No branches or pull requests

2 participants