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

更好地清理残影 #34

Open
LozenChen opened this issue Apr 11, 2024 · 0 comments
Open

更好地清理残影 #34

LozenChen opened this issue Apr 11, 2024 · 0 comments

Comments

@LozenChen
Copy link

// 冲刺残影方向错误,干脆移除屏幕不显示了
level.Tracker.GetEntities<TrailManager.Snapshot>()
.ForEach(entity => entity.Position = level.Camera.Position - Vector2.One * 100);

移动到镜头左上100px有时候并不够有效 (呃, 以及不够优雅?),
不如直接和传送的时候一样, 调用 TrailManager.Clear()

DemoJameson added a commit that referenced this issue Apr 20, 2024
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