james7132 / DanmakU

An open source Danmaku development kit for Unity3D.
https://danmaku.jamessliu.com/
MIT License
238 stars 50 forks source link

Multithreaded Danmaku Processing #9

Closed james7132 closed 6 years ago

james7132 commented 9 years ago

Currently all of the danmaku object updates are entirely single threaded. A great performance boost should be attainable by multithreading each update.

Several parts are required:

james7132 commented 9 years ago

It seems that switching to Particle Systems has already multithreaded the rendering of the bullets, and almost everything outside of collision checks are thread-safe now. A bit of reordering of events and it shouldn't be too hard to use a thread pool to calculate danmaku movement.

james7132 commented 6 years ago

Handled by the new C# job system.