james7132 / DanmakU

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

Generic RenderObject/Manual Batching of Danmaku Objects #12

Closed james7132 closed 9 years ago

james7132 commented 9 years ago

In an attempt to move away from using Unity objects to render bullets and items, a generic, automatically batched rendering object needs to be created.

This will also ease the transition into multithreading the kit, as it removes the need for Transform manipulations in danmaku/item object update calls.

Can also be generalized to be the underlying object for handling Item drops as well.

james7132 commented 9 years ago

After some testing it seems that it is viable to use Unity's particle system renderer to handle such a task. Some further testing on what this means in terms of restrictions is needed.

james7132 commented 9 years ago

Completed as of Alpha v0.5.0 in the form of Particle System rendering. Some work may be needed to generalize it to work with non-Danmaku objects.